From c73923204927f406d492491398980d3aa429c4eb Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 28 Feb 2008 02:41:48 +0000 Subject: - migrate many templates to smarty git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/admin/advanced_feature.tpl | 15 +-- template/yoga/admin/cat_list.tpl | 82 ++++++------ template/yoga/admin/cat_modify.tpl | 207 ++++++++++++++----------------- template/yoga/admin/cat_move.tpl | 29 ++--- template/yoga/admin/cat_options.tpl | 17 ++- template/yoga/admin/cat_perm.tpl | 66 +++++----- template/yoga/admin/permalinks.tpl | 72 ++++++----- template/yoga/admin/rating.tpl | 72 +++++------ template/yoga/admin/tabsheet.tpl | 11 +- 9 files changed, 267 insertions(+), 304 deletions(-) (limited to 'template/yoga/admin') diff --git a/template/yoga/admin/advanced_feature.tpl b/template/yoga/admin/advanced_feature.tpl index df3cdb0e9..128428ba1 100644 --- a/template/yoga/admin/advanced_feature.tpl +++ b/template/yoga/admin/advanced_feature.tpl @@ -1,16 +1,13 @@ - - +{* $Id$ *}
-

{lang:Advanced_features}

+

{'Advanced_features'|@translate}

diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl index f80766eee..c7a83f8d7 100644 --- a/template/yoga/admin/cat_list.tpl +++ b/template/yoga/admin/cat_list.tpl @@ -1,71 +1,65 @@ - - -

{lang:title_categories}

+{* $Id$ *} +

{'title_categories'|@translate}

-

{CATEGORIES_NAV}

+

{$CATEGORIES_NAV}

-
+

- {L_ADD_VIRTUAL} : - - - {lang:page_end} - + {'cat_add'|@translate} : + + {if count($categories)>9 } + {'page_end'|@translate} + {/if}

- -
+{if count($categories) } +

- - + +

- - + +

- - +{/if} diff --git a/template/yoga/admin/cat_modify.tpl b/template/yoga/admin/cat_modify.tpl index 04bce8aa9..dc9c98dc3 100644 --- a/template/yoga/admin/cat_modify.tpl +++ b/template/yoga/admin/cat_modify.tpl @@ -1,248 +1,229 @@ - - +{* $Id$ *}
-

{lang:title_edit_cat}

+

{'title_edit_cat'|@translate}

-

{CATEGORIES_NAV}

+

{$CATEGORIES_NAV}

-
+
- {lang:Informations} + {'Informations'|@translate} - - - - - - - + + {if isset($CAT_FULL_DIR) } - - + + - + {/if} + - + - +
{L_REMOTE_SITE}{server.SITE_URL}
{L_STORAGE}{storage.CATEGORY_DIR}{'storage'|@translate}{$CAT_FULL_DIR}
{L_EDIT_NAME}{'name'|@translate} - +
{L_EDIT_COMMENT}{'description'|@translate} - +
- +{if isset($move_cat_options) }
- {lang:Move} - {lang:Parent category} + {'Move'|@translate} + {'Parent category'|@translate}
- +{/if}
- {lang:Options} + {'Options'|@translate} - - - - + {if isset($SHOW_UPLOADABLE) } - - + {/if}
{L_EDIT_STATUS} + {'conf_access'|@translate} - {L_STATUS_PUBLIC} - {L_STATUS_PRIVATE} + {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS}
{L_EDIT_LOCK} + {'lock'|@translate} - {L_YES} - {L_NO} + {html_radios name='visible' values=$false_true output=$no_yes|translate selected=$CAT_VISIBLE}
{L_EDIT_COMMENTABLE} + {'comments'|@translate} - {L_YES} - {L_NO} + {html_radios name='commentable' values=$false_true output=$no_yes|translate selected=$CAT_COMMENTABLE}
{L_EDIT_UPLOADABLE} + {'editcat_uploadable'|@translate} - {L_YES} - {L_NO} + {html_radios name='uploadable' values=$false_true output=$no_yes|translate selected=$CAT_UPLOADABLE}
- {lang:Sort order} - - + {'Sort order'|@translate} + +
- +
- - + {html_options options=$image_order_field_options selected=$order.FIELD }} - + {html_options options=$image_order_direction_options selected=$order.DIRECTION }}
- + {/foreach} +

- - + +

- +{if isset($representant) }
- {lang:Representant} + {'Representant'|@translate}
- - - - - - {lang:Random picture} - + {if isset($representant.picture) } + + {else} + {'Random picture'|@translate} + {/if} - -

- + {if $representant.ALLOW_SET_RANDOM } +

+ {/if} - -

- + {if isset($representant.ALLOW_DELETE) } +

+ {/if}
- +{/if}
- diff --git a/template/yoga/admin/cat_move.tpl b/template/yoga/admin/cat_move.tpl index e35731bb1..318a025ab 100644 --- a/template/yoga/admin/cat_move.tpl +++ b/template/yoga/admin/cat_move.tpl @@ -1,41 +1,38 @@ - - +{* $Id$ *} +
-

{lang:Move categories}

+

{'Move categories'|@translate}

-
+
- {lang:Virtual categories movement} + {'Virtual categories movement'|@translate}

- - + +

diff --git a/template/yoga/admin/cat_options.tpl b/template/yoga/admin/cat_options.tpl index 8551ff3e3..356e66223 100644 --- a/template/yoga/admin/cat_options.tpl +++ b/template/yoga/admin/cat_options.tpl @@ -1,19 +1,16 @@ - - +{* $Id$ *}
-

{lang:cat_options_title} {TABSHEET_TITLE}

- {TABSHEET} +

{'cat_options_title'|@translate} {$TABSHEET_TITLE}

+ {include file='admin/tabsheet.tpl'}
-
+
- {L_SECTION} - {DOUBLE_SELECT} + {$L_SECTION} + {$DOUBLE_SELECT}
-

{L_CAT_OPTIONS_INFO}

- diff --git a/template/yoga/admin/cat_perm.tpl b/template/yoga/admin/cat_perm.tpl index 05c300e23..857448112 100644 --- a/template/yoga/admin/cat_perm.tpl +++ b/template/yoga/admin/cat_perm.tpl @@ -1,66 +1,68 @@ - +{* $Id$ *}
-

{lang:Manage permissions for a category}

+

{'Manage permissions for a category'|@translate}

-

{CATEGORIES_NAV}

+

{$CATEGORIES_NAV}

-
+ -

{lang:Groups}

+

{'Groups'|@translate}

- {lang:Permission granted} + {'Permission granted'|@translate}
    - -
  • - + {foreach from=$group_granted_ids item=id} +
  • + {/foreach}
- +
- {lang:Permission denied} + {'Permission denied'|@translate}
    - -
  • - + {foreach from=$group_denied_ids item=id} +
  • + {/foreach}
- +
-

{lang:Users}

- +

{'Users'|@translate}

+
- {lang:Permission granted} + {'Permission granted'|@translate}
    - -
  • - + {foreach from=$user_granted_direct_ids item=id} +
  • + {/foreach}
- +
- {lang:Permission granted thanks to a group} + {'Permission granted thanks to a group'|@translate} + {if isset($user_granted_indirects) }
    - -
  • {user_granted_indirect.NAME} ({user_granted_indirect.GROUP})
  • - + {foreach from=$user_granted_indirects item=user_group} +
  • {$user_group.USER} ({$user_group.GROUP})
  • + {/foreach}
+ {/if}
- {lang:Permission denied} + {'Permission denied'|@translate}
    - -
  • - + {foreach from=$user_denied_ids item=id} +
  • + {/foreach}
- +
diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl index 220aa3572..2013666eb 100644 --- a/template/yoga/admin/permalinks.tpl +++ b/template/yoga/admin/permalinks.tpl @@ -1,72 +1,70 @@ - +{* $Id$ *}
-

{lang:Permalinks}

+

{'Permalinks'|@translate}

-
-
{lang:Add/delete a permalink} -