From 62e55bc595f682da05914cc2949454d58a05e368 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 11 Mar 2008 01:51:47 +0000 Subject: group_list, group_perm and site_manager go smarty git-svn-id: http://piwigo.org/svn/trunk@2273 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/admin/group_list.tpl | 45 +++++++++--------- template/yoga/admin/group_perm.tpl | 10 ++-- template/yoga/admin/site_manager.tpl | 92 ++++++++++++++++++------------------ 3 files changed, 74 insertions(+), 73 deletions(-) (limited to 'template/yoga/admin') diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl index 013058911..274445f4b 100644 --- a/template/yoga/admin/group_list.tpl +++ b/template/yoga/admin/group_list.tpl @@ -1,45 +1,46 @@ - - +{* $Id$ *}
-

{lang:title_groups}

+

{'title_groups'|@translate}

-
+
- {lang:Add group} + {'Add group'|@translate} - +

- +

- - - + + + - - - - + {if not empty($groups)} + {foreach from=$groups item=group name=group_loop} + + + - + {/foreach} + {/if}
{lang:Group name}{lang:Members}{lang:Actions}{'Group name'|@translate}{'Members'|@translate}{'Actions'|@translate}
{group.NAME}{group.IS_DEFAULT}{group.MEMBERS}
{$group.NAME}{$group.IS_DEFAULT}{$group.MEMBERS} - - {lang:permissions} - - {lang:delete} - - {lang:toggle_is_default_group} + + {'permissions'|@translate} + + {'delete'|@translate} + + {'toggle_is_default_group'|@translate}
diff --git a/template/yoga/admin/group_perm.tpl b/template/yoga/admin/group_perm.tpl index 938c9f1d6..1dded1291 100644 --- a/template/yoga/admin/group_perm.tpl +++ b/template/yoga/admin/group_perm.tpl @@ -1,8 +1,8 @@ - -

{TITLE}

+{* $Id *} +

{$TITLE}

-
- {DOUBLE_SELECT} + + {$DOUBLE_SELECT}
-

{lang:Only private categories are listed}

+

{'Only private categories are listed'|@translate}

diff --git a/template/yoga/admin/site_manager.tpl b/template/yoga/admin/site_manager.tpl index d737bd019..627181c5a 100644 --- a/template/yoga/admin/site_manager.tpl +++ b/template/yoga/admin/site_manager.tpl @@ -1,73 +1,73 @@ - - +{* $Id$ *}
-

{lang:Site manager}

+

{'Site manager'|@translate}

- +{if not empty($remote_output)}
- +{/if} - -{lang:remote_site_local_found} {local_listing.URL} - -
+{if isset($local_listing)} +{'remote_site_local_found'|@translate} {$local_listing.URL} +{if isset($local_listing.CREATE)} +

- {lang:remote_site_local_create}: + {'remote_site_local_create'|@translate}: - - + +

- - -{lang:site_synchronize} - - +{/if} +{if isset($local_listing.U_SYNCHRONIZE)} + {'site_synchronize'|@translate} +

+{/if} +{/if} - +{if not empty($sites)} - - - + {/foreach}
- {sites.site.NAME}
({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:Categories}, {sites.site.IMAGES} {lang:picture}s) + {foreach from=$sites item=site} +
+ {$site.NAME}
({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)})
- [{lang:site_synchronize}] - - [{lang:site_delete}] - - -
- [{lang:remote_site_test}] - [{lang:remote_site_generate}] - [{lang:remote_site_clean}] - - + [{'site_synchronize'|@translate}] + {if isset($site.U_DELETE)} + [{'site_delete'|@translate}] + {/if} + {if isset($site.remote)} +
+ [{'remote_site_test'|@translate}] + [{'remote_site_generate'|@translate}] + [{'remote_site_clean'|@translate}] + {/if} + {if not empty($site.plugin_links)}
- - [{sites.site.plugin_links.plugin_link.U_CAPTION}] - - + {foreach from=$site.plugin_links item=plugin_link} + [{$plugin_link.U_CAPTION}] + {/foreach} + {/if}
- +{/if} -
+

- +

- +

-- cgit v1.2.3