aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/password.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
commitc73923204927f406d492491398980d3aa429c4eb (patch)
tree717f79ecab01b8d97c359c27406be6dd26ff8193 /template/yoga/password.tpl
parent618158aca4d99fe522b0f54d547442f17a5db148 (diff)
- migrate many templates to smarty
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/password.tpl')
-rw-r--r--template/yoga/password.tpl37
1 files changed, 18 insertions, 19 deletions
diff --git a/template/yoga/password.tpl b/template/yoga/password.tpl
index a2fe78857..efb384299 100644
--- a/template/yoga/password.tpl
+++ b/template/yoga/password.tpl
@@ -1,55 +1,54 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- $Id$ -->
+{* $Id$ *}
<div id="content">
<div class="titrePage">
<ul class="categoryActions">
- <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
+ <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
</ul>
- <h2>{lang:Password forgotten}</h2>
+ <h2>{'Password forgotten'|@translate}</h2>
</div>
- <!-- BEGIN errors -->
+ {if count($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}
- <!-- BEGIN infos -->
+ {if count($infos)}
<div class="infos">
<ul>
- <!-- BEGIN info -->
- <li>{infos.info.INFO}</li>
- <!-- END info -->
+ {foreach from=$infos item=info}
+ <li>{$info}</li>
+ {/foreach}
</ul>
</div>
- <!-- END infos -->
+ {/if}
-<form action="{F_ACTION}" method="post" class="properties">
+<form action="{$F_ACTION}" method="post" class="properties">
<fieldset>
- <legend>{lang:Retrieve password}</legend>
+ <legend>{'Retrieve password'|@translate}</legend>
<ul>
<li>
<span class="property">
- <label for="mail_address">{lang:Email address}</label>
+ <label for="mail_address">{'Email address'|@translate}</label>
</span>
<input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" >
</li>
<li>
<span class="property">
- <label for="no_mail_address">{lang:No email address}</label>
+ <label for="no_mail_address">{'No email address'|@translate}</label>
</span>
<input type="checkbox" id="no_mail_address" name="no_mail_address" value="1">
</li>
</ul>
</fieldset>
- <p><input class="submit" type="submit" name="submit" value="{lang:Send new password}"></p>
+ <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p>
</form>
</div> <!-- content -->