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

Last change on this file since 13489 was 12878, checked in by rvelices, 13 years ago

bug 2553 hide menubar/register on indentification page if gallery is locked or guest_access is false

  • Property svn:eol-style set to LF
File size: 2.2 KB
Line 
1{if isset($MENUBAR)}{$MENUBAR}{/if}
2<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
3
4<div class="titrePage">
5        <ul class="categoryActions">
6                <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
7                        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
8                </a></li>
9  </ul>
10        <h2>{'Identification'|@translate}</h2>
11</div>
12
13{include file='infos_errors.tpl'}
14
15<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
16  <fieldset>
17    <legend>{'Connection settings'|@translate}</legend>
18
19    <ul>
20      <li>
21        <span class="property">
22          <label for="username">{'Username'|@translate}</label>
23        </span>
24        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40">
25      </li>
26
27      <li>
28        <span class="property">
29          <label for="password">{'Password'|@translate}</label>
30        </span>
31        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
32      </li>
33
34      {if $authorize_remembering }
35      <li>
36        <span class="property">
37          <label for="remember_me">{'Auto login'|@translate}</label>
38        </span>
39        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
40      </li>
41      {/if}
42    </ul>
43  </fieldset>
44
45  <p>
46    <input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
47    <input tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
48  </p>
49
50        <p>
51{if isset($U_REGISTER)}
52                <a href="{$U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button">
53                        <span class="pwg-icon pwg-icon-register">&nbsp;</span><span>{'Register'|@translate}</span>
54                </a>
55{/if}
56{if isset($U_LOST_PASSWORD)}
57                <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
58                        <span class="pwg-icon pwg-icon-lost-password">&nbsp;</span><span>{'Forgot your password?'|@translate}</span>
59                </a>
60{/if}
61        </p>
62
63</form>
64
65<script type="text/javascript"><!--
66document.login_form.username.focus();
67//--></script>
68
69</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.