source: trunk/themes/default/template/identification.tpl @ 7495

Last change on this file since 7495 was 6437, checked in by rvelices, 14 years ago
  • do not remove slashes before calling insert_user_comment (homogeneity with update_user_comment and general use of slashes in piwigo)
  • when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster)
  • Property svn:eol-style set to LF
File size: 2.2 KB
Line 
1<div id="content" class="content">
2
3  <div class="titrePage">
4    <ul class="categoryActions">
5      <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li>
6    </ul>
7    <h2>{'Identification'|@translate}</h2>
8  </div>
9
10  {if isset($errors) }
11  <div class="errors">
12    <ul>
13      {foreach from=$errors item=error}
14      <li>{$error}</li>
15      {/foreach}
16    </ul>
17  </div>
18  {/if}
19
20<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
21  <fieldset>
22    <legend>{'Connection settings'|@translate}</legend>
23
24    <ul>
25      <li>
26        <span class="property">
27          <label for="username">{'Username'|@translate}</label>
28        </span>
29        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40">
30      </li>
31
32      <li>
33        <span class="property">
34          <label for="password">{'Password'|@translate}</label>
35        </span>
36        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
37      </li>
38
39      {if $authorize_remembering }
40      <li>
41        <span class="property">
42          <label for="remember_me">{'Auto login'|@translate}</label>
43        </span>
44        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
45      </li>
46      {/if}
47    </ul>
48  </fieldset>
49
50  <p>
51    <input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
52    <input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
53  </p>
54
55  <p>
56    {if isset($U_REGISTER) }
57    <a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>
58    {/if}
59    <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>
60  </p>
61
62</form>
63
64<script type="text/javascript"><!--
65document.login_form.username.focus();
66//--></script>
67
68</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.