aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/profile.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-03-03 17:07:55 +0000
committerpatdenice <patdenice@piwigo.org>2008-03-03 17:07:55 +0000
commit5693f3e28bb47d9361b60c582befedc7878bbc56 (patch)
tree61c6e5311cf6647bf2389d18351baadceba70057 /template/yoga/profile.tpl
parent7688a7cbb6c4906f70d87b56cd6e90d028e99666 (diff)
profile goes smarty
git-svn-id: http://piwigo.org/svn/trunk@2246 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/profile.tpl')
-rw-r--r--template/yoga/profile.tpl18
1 files changed, 9 insertions, 9 deletions
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 @@
-<!-- DEV TAG: not smarty migrated -->
+{* $Id$ *}
<div id="content">
-<!-- BEGIN errors -->
+{if isset($errors)}
<div class="errors">
<ul>
- <!-- BEGIN error -->
- <li>{errors.error.ERROR}</li>
- <!-- END error -->
+ {foreach from=$errors item=error}
+ <li>{$error}</li>
+ {/foreach}
</ul>
</div>
-<!-- END errors -->
+{/if}
<div class="titrePage">
<ul class="categoryActions">
- <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
+ <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
</ul>
- <h2>{lang:Profile}</h2>
+ <h2>{'Profile'|@translate}</h2>
</div>
-{PROFILE_CONTENT}
+{$PROFILE_CONTENT}
</div> <!-- content -->