diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-02-28 02:41:48 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-02-28 02:41:48 +0000 |
commit | c73923204927f406d492491398980d3aa429c4eb (patch) | |
tree | 717f79ecab01b8d97c359c27406be6dd26ff8193 /template/yoga/identification.tpl | |
parent | 618158aca4d99fe522b0f54d547442f17a5db148 (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/identification.tpl')
-rw-r--r-- | template/yoga/identification.tpl | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index 3c23e6f9e..5cb4555e8 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -1,61 +1,60 @@ -<!-- DEV TAG: not smarty migrated --> -<!-- $Id$ --> +{* $Id$ *} <div id="content"> <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li> -<!-- BEGIN register --> - <li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li> -<!-- END register --> - <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_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> + {if isset($U_REGISTER) } + <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$themeconf.icon_dir}/register.png" class="button" alt="{'register'|@translate}"/></a></li> + {/if} + <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:Identification}</h2> + <h2>{'Identification'|@translate}</h2> </div> - <!-- 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} -<form action="{F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> +<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> <fieldset> - <legend>{lang:Connection settings}</legend> + <legend>{'Connection settings'|@translate}</legend> - <input type="hidden" name="redirect" value="{U_REDIRECT}"> + <input type="hidden" name="redirect" value="{$U_REDIRECT}"> <ul> <li> <span class="property"> - <label for="username">{lang:Username}</label> + <label for="username">{'Username'|@translate}</label> </span> - <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}" /> + <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" /> </li> <li> <span class="property"> - <label for="password">{lang:Password}</label> + <label for="password">{'Password'|@translate}</label> </span> <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" /> </li> - <!-- BEGIN remember_me --> + {if $authorize_remembering } <li> <span class="property"> - <label for="remember_me">{lang:remember_me}</label> + <label for="remember_me">{'remember_me'|@translate}</label> </span> <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> </li> - <!-- END remember_me --> + {/if} </ul> </fieldset> - <p><input class="submit" tabindex="4" type="submit" name="login" value="{lang:submit}"></p> + <p><input class="submit" tabindex="4" type="submit" name="login" value="{'submit'|@translate}"></p> </form> <script type="text/javascript"><!-- @@ -63,10 +62,10 @@ document.login_form.username.focus(); //--></script> <p> -<!-- BEGIN register --> - <a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {lang:Register}</a> -<!-- END register --> - <a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a> + {if isset($U_REGISTER) } + <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$themeconf.icon_dir}/register.png" class="button" alt=""> {'Register'|@translate}</a> + {/if} + <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$themeconf.icon_dir}/lost_password.png" class="button" alt=""> {'Forgot your password?'|@translate}</a> </p> </div> <!-- content --> |