diff options
author | plegall <plg@piwigo.org> | 2010-03-13 00:00:52 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-13 00:00:52 +0000 |
commit | 14778ce673277f2df41f963aa70df1cbed427294 (patch) | |
tree | 8c723d4d9827876dbf19d2bd581405fc50910860 /themes/default/template/identification.tpl | |
parent | c396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff) |
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.
git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/identification.tpl')
-rw-r--r-- | themes/default/template/identification.tpl | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/themes/default/template/identification.tpl b/themes/default/template/identification.tpl new file mode 100644 index 000000000..b63415e7b --- /dev/null +++ b/themes/default/template/identification.tpl @@ -0,0 +1,71 @@ +<div id="content" class="content"> + + <div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$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="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li> + {/if} + <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> + </ul> + <h2>{'Identification'|@translate}</h2> + </div> + + {if isset($errors) } + <div class="errors"> + <ul> + {foreach from=$errors item=error} + <li>{$error}</li> + {/foreach} + </ul> + </div> + {/if} + +<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> + <fieldset> + <legend>{'Connection settings'|@translate}</legend> + + <input type="hidden" name="redirect" value="{$U_REDIRECT}"> + + <ul> + <li> + <span class="property"> + <label for="username">{'Username'|@translate}</label> + </span> + <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40"> + </li> + + <li> + <span class="property"> + <label for="password">{'Password'|@translate}</label> + </span> + <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25"> + </li> + + {if $authorize_remembering } + <li> + <span class="property"> + <label for="Auto login">{'Auto login'|@translate}</label> + </span> + <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> + </li> + {/if} + </ul> + </fieldset> + + <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p> + + <p> + {if isset($U_REGISTER) } + <a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a> + {/if} + <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a> + </p> + +</form> + +<script type="text/javascript"><!-- +document.login_form.username.focus(); +//--></script> + +</div> <!-- content --> |