source: extensions/Slim/template/identification.tpl @ 18811

Last change on this file since 18811 was 18811, checked in by Miklfe, 11 years ago
File size: 2.4 KB
Line 
1{php}   global $Slim;   $this->assign( 'Slim', $Slim );{/php}
2
3{if ($Slim.style_slim)!=1}
4{$MENUBAR}
5{/if}
6<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
7{if ($Slim.style_slim)==1}
8<a href="{$U_HOME}"><img src="themes/Slim/images/home.png" height="32px" width="32px"></a>
9{/if}
10
11<div id="infoBlock">
12<div class="titrePage">
13        <ul class="categoryActions">
14        </ul>
15        {if ($Slim.style_slim)==1}
16        <h2>Administration</h2>
17        {else}
18        <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Identification'|@translate}</h2>
19        {/if}
20</div>
21</div>
22{include file='infos_errors.tpl'}
23
24<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
25  <fieldset>
26    <div class="fielTit"><h2>{'Connection settings'|@translate}</h2></div>
27
28    <ul>
29      <li>
30        <span class="property">
31          <label for="username">{'Username'|@translate}</label>
32        </span>
33        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40">
34      </li>
35
36      <li>
37        <span class="property">
38          <label for="password">{'Password'|@translate}</label>
39        </span>
40        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
41      </li>
42
43
44
45{if ($Slim.style_slim)!=1}
46      {if $authorize_remembering }
47      <li>
48        <span class="property">
49          <label for="remember_me">{'Auto login'|@translate}</label>
50        </span>
51        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
52      </li>
53      {/if}
54    </ul>
55        <p>
56{if isset($U_REGISTER)}
57                <a href="{$U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button">
58                        <span class="pwg-icon pwg-icon-register">&nbsp;</span><span>{'Register'|@translate}</span>
59                </a>
60{/if}
61</p>
62<p>
63{if isset($U_LOST_PASSWORD)}
64                <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
65                        <span class="pwg-icon pwg-icon-lost-password">&nbsp;</span><span>{'Forgot your password?'|@translate}</span>
66                </a>
67{/if}
68        </p>
69       
70{/if}
71  </fieldset>
72
73
74
75  <p>
76    <input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
77    <input tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
78  </p>
79
80       
81
82
83</form>
84
85<script type="text/javascript"><!--
86document.login_form.username.focus();
87//--></script>
88
89</div> <!-- content -->
90
Note: See TracBrowser for help on using the repository browser.