Ignore:
Timestamp:
Feb 28, 2008, 3:41:48 AM (16 years ago)
Author:
rvelices
Message:
  • migrate many templates to smarty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/password.tpl

    r2222 r2223  
    1 <!-- DEV TAG: not smarty migrated -->
    2 <!-- $Id$ -->
     1{* $Id$ *}
    32<div id="content">
    43
    54  <div class="titrePage">
    65    <ul class="categoryActions">
    7       <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>
     6      <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>
    87    </ul>
    9     <h2>{lang:Password forgotten}</h2>
     8    <h2>{'Password forgotten'|@translate}</h2>
    109  </div>
    1110
    12   <!-- BEGIN errors -->
     11  {if count($errors)}
    1312  <div class="errors">
    1413    <ul>
    15       <!-- BEGIN error -->
    16       <li>{errors.error.ERROR}</li>
    17       <!-- END error -->
     14      {foreach from=$errors item=error}
     15      <li>{$error}</li>
     16      {/foreach}
    1817    </ul>
    1918  </div>
    20   <!-- END errors -->
     19  {/if}
    2120
    22   <!-- BEGIN infos -->
     21  {if count($infos)}
    2322  <div class="infos">
    2423    <ul>
    25       <!-- BEGIN info -->
    26       <li>{infos.info.INFO}</li>
    27       <!-- END info -->
     24      {foreach from=$infos item=info}
     25      <li>{$info}</li>
     26      {/foreach}
    2827    </ul>
    2928  </div>
    30   <!-- END infos -->
     29  {/if}
    3130
    32 <form action="{F_ACTION}" method="post" class="properties">
     31<form action="{$F_ACTION}" method="post" class="properties">
    3332  <fieldset>
    34     <legend>{lang:Retrieve password}</legend>
     33    <legend>{'Retrieve password'|@translate}</legend>
    3534
    3635    <ul>
    3736      <li>
    3837        <span class="property">
    39           <label for="mail_address">{lang:Email address}</label>
     38          <label for="mail_address">{'Email address'|@translate}</label>
    4039        </span>
    4140        <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" >
     
    4342      <li>
    4443        <span class="property">
    45           <label for="no_mail_address">{lang:No email address}</label>
     44          <label for="no_mail_address">{'No email address'|@translate}</label>
    4645        </span>
    4746        <input type="checkbox" id="no_mail_address" name="no_mail_address" value="1">
     
    5049  </fieldset>
    5150
    52   <p><input class="submit" type="submit" name="submit" value="{lang:Send new password}"></p>
     51  <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p>
    5352</form>
    5453
Note: See TracChangeset for help on using the changeset viewer.