source: extensions/gally/piwigo-2.0/menubar_identification.tpl @ 17412

Last change on this file since 17412 was 4446, checked in by grum, 15 years ago

[Template:Gally] Add template to subversion

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1<dt>{'identification'|@translate}</dt>
2<dd>
3        {if isset($USERNAME)}
4        <p>{'hello'|@translate}&nbsp;{$USERNAME}&nbsp;!</p>
5        {/if}
6
7        <ul>
8        {if isset($U_REGISTER)}
9        <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
10        {/if}
11
12        {if isset($U_LOGIN)}
13        <li><a href="{$U_LOGIN}" rel="nofollow">{'Connection'|@translate}</a></li>
14        {/if}
15
16        {if isset($U_LOGOUT)}
17        <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li>
18        {/if}
19
20        {if isset($U_PROFILE)}
21        <li><a href="{$U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li>
22        {/if}
23
24        {if isset($U_ADMIN)}
25        <li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li>
26        {/if}
27        </ul>
28
29        {if isset($U_LOGIN)}
30        <form method="post" action="{$U_LOGIN}" id="quickconnect">
31        <fieldset>
32        <legend>{'Quick connect'|@translate}</legend>
33        <div>
34        <label for="username">{'Username'|@translate}</label><br/>
35        <input type="text" name="username" id="username" value="" style="width:90%">
36        </div>
37
38        <div><label for="password">{'Password'|@translate}</label>
39        <br/>
40        <input type="password" name="password" id="password" style="width:90%">
41        </div>
42
43        {if $AUTHORIZE_REMEMBERING}
44        <div><label for="remember_me">
45        {'remember_me'|@translate}
46        <input type="checkbox" name="remember_me" id="remember_me" value="1">
47        </label></div>
48        {/if}
49
50        <div>
51        <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
52        <ul class="actions">
53                <li><a id="icon_lost_password3" class="button" href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}">--></a></li>
54                {if isset($U_REGISTER)}
55                <li><a id="icon_register3" class="button" href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/>--></a></li>
56                {/if}
57        </ul>
58        </div>
59
60        </fieldset>
61        </form>
62        {/if}
63</dd>
64
Note: See TracBrowser for help on using the repository browser.