source: extensions/gally/gally-default/template/menubar_identification.tpl @ 31846

Last change on this file since 31846 was 16016, checked in by grum, 12 years ago

feature:2664- compatibility with Piwigo 2.4

  • Property svn:executable set to *
File size: 2.1 KB
Line 
1{if isset($MENUBAR)}{$MENUBAR}{/if}
2<dt>{'Identification'|@translate}</dt>
3<dd>
4{strip}
5  {if isset($USERNAME)}
6  <p>{'Hello'|@translate} {$USERNAME} !</p>
7  {/if}
8  <ul>
9  {if isset($U_REGISTER)}
10  <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
11  {/if}
12  {if isset($U_LOGIN)}
13  <li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li>
14  {/if}
15  {if isset($U_LOGOUT)}
16  <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
17  {/if}
18  {if isset($U_PROFILE)}
19  <li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
20  {/if}
21  {if isset($U_ADMIN)}
22  <li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li>
23  {/if}
24  </ul>
25{/strip}
26  {if isset($U_LOGIN)}
27{strip}
28  <form method="post" action="{$U_LOGIN}" id="quickconnect">
29  <fieldset>
30  <legend>{'Quick connect'|@translate}</legend>
31  <div>
32  <label for="username">{'Username'|@translate}</label><br>
33  <input type="text" name="username" id="username" value="" style="width:90%">
34  </div>
35
36  <div><label for="password">{'Password'|@translate}</label><br>
37  <input type="password" name="password" id="password" style="width:90%">
38  </div>
39
40  {if $AUTHORIZE_REMEMBERING}
41  <div><label for="remember_me"> {'Auto login'|@translate}
42  <input type="checkbox" name="remember_me" id="remember_me" value="1">
43  </label></div>
44  {/if}
45
46  <div id='iValid'>
47  <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
48  <input type="submit" name="login" value="{'Submit'|@translate}" class="submit">
49  <ul class="actions">
50    <li><a id="icon_lost_password3" class="button sTipOnBottom" href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"></a></li>
51    {if isset($U_REGISTER)}
52    <li><a id="icon_register3" class="button sTipOnBottom" href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"></a></li>
53    {/if}
54  </ul>
55  </div>
56
57  </fieldset>
58  </form>
59{/strip}
60  {/if}
61</dd>
Note: See TracBrowser for help on using the repository browser.