source: extensions/Versa/template/menubar_identification.tpl

Last change on this file was 31833, checked in by lexming, 7 years ago

Initial commit

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