From 5693f3e28bb47d9361b60c582befedc7878bbc56 Mon Sep 17 00:00:00 2001 From: patdenice Date: Mon, 3 Mar 2008 17:07:55 +0000 Subject: profile goes smarty git-svn-id: http://piwigo.org/svn/trunk@2246 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/profile.tpl | 18 ++++---- template/yoga/profile_content.tpl | 89 +++++++++++++++++---------------------- 2 files changed, 48 insertions(+), 59 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/profile.tpl b/template/yoga/profile.tpl index 10a0d35d8..3107bb126 100644 --- a/template/yoga/profile.tpl +++ b/template/yoga/profile.tpl @@ -1,22 +1,22 @@ - +{* $Id$ *}
- +{if isset($errors)}
    - -
  • {errors.error.ERROR}
  • - + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach}
- +{/if}
    -
  • {lang:home}
  • +
  • {'home'|@translate}
-

{lang:Profile}

+

{'Profile'|@translate}

-{PROFILE_CONTENT} +{$PROFILE_CONTENT}
diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl index aa7fcbf6c..2be70857b 100644 --- a/template/yoga/profile_content.tpl +++ b/template/yoga/profile_content.tpl @@ -1,121 +1,110 @@ - -
+{* $Id$ *} +
- {lang:register_title} - - + {'register_title'|@translate} + +
  • - {lang:Username} - {USERNAME} + {'Username'|@translate} + {$USERNAME}
  • - +{if isset($not_special_user)}
  • - + - +
  • - +{if !$in_admin}
  • - +
  • - +{/if}
  • - +
  • - +
- +{/if}
- {lang:preferences} + {'preferences'|@translate}
  • - + - +
  • - + - +
  • - + - + {html_options name=template options=$template_options selected=$template_selection}
  • - + - + {html_options name=language options=$language_options selected=$language_selection}
  • - + - +
  • - {lang:auto_expand} - - + {'auto_expand'|@translate} + {html_radios name='expand' options=$radio_options selected=$EXPAND}
  • - {lang:show_nb_comments} - - + {'show_nb_comments'|@translate} + {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
  • - {lang:show_nb_hits} - - + {'show_nb_hits'|@translate} + {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
  • - + - +
  • - + - +

- - + +

-- cgit v1.2.3