From 75bb450a6ece6b2e30ad4c148083b7192d7d7224 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 27 Feb 2008 02:31:51 +0000 Subject: - first smarty use ... (in admin.php and admin plugins page) git-svn-id: http://piwigo.org/svn/trunk@2216 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/admin.tpl | 96 ++++++++++++++++++++--------------------- template/yoga/admin/plugins.tpl | 43 +++++++++--------- 2 files changed, 69 insertions(+), 70 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/admin.tpl b/template/yoga/admin.tpl index 0ee8804b7..df322d3cc 100644 --- a/template/yoga/admin.tpl +++ b/template/yoga/admin.tpl @@ -1,77 +1,75 @@ - +{* $Id$ *}
- + {if isset($errors)}
    - -
  • {errors.error.ERROR}
  • - + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach}
- + {/if} - + {if isset($infos)}
    - -
  • {infos.info.INFO}
  • - + {foreach from=$infos item=info} +
  • {$info}
  • + {/foreach}
- + {/if} - {ADMIN_CONTENT} + {$ADMIN_CONTENT}
diff --git a/template/yoga/admin/plugins.tpl b/template/yoga/admin/plugins.tpl index 4511913e3..66d77b1c0 100644 --- a/template/yoga/admin/plugins.tpl +++ b/template/yoga/admin/plugins.tpl @@ -1,32 +1,33 @@ +{* $Id$ *} +
-

{lang:Plugins} +

{'Plugins'|@translate}

- - +{if isset($plugins) } - - - - + + + + - - - - - +{foreach from=$plugins item=plugin name=plugins_loop} + + + + - +{/foreach}
{lang:Name}{lang:Version}{lang:Description}{lang:Actions}{'Name'|@translate}{'Version'|@translate}{'Description'|@translate}{'Actions'|@translate}
{plugins.plugin.NAME}{plugins.plugin.VERSION}{plugins.plugin.DESCRIPTION}
{$plugin.NAME}{$plugin.VERSION}{$plugin.DESCRIPTION} - - - onclick="return confirm('{lang:Are you sure?}');" - - {TAG_INPUT_ENABLED}>{plugins.plugin.action.L_ACTION} - + {foreach from=$plugin.actions item=action} + {$action.L_ACTION} + {/foreach}
- \ No newline at end of file +{/if} \ No newline at end of file -- cgit v1.2.3