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

Revision 6109, 2.1 KB checked in by grum, 9 years ago (diff)

Gally's themes compatibles with piwigo 2.1

  • Property svn:executable set to *
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">{'Login'|@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="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
22        {/if}
23
24        {if isset($U_ADMIN)}
25        <li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@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        {'Auto login'|@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.