source: extensions/Full_Background/template/menubar_identification.tpl @ 19033

Last change on this file since 19033 was 19033, checked in by Miklfe, 11 years ago
File size: 2.3 KB
Line 
1{if isset($U_LOGIN)}
2<li class="liSub">
3        <span class="cl_wrapper">{'Identification'|@translate}</span>
4                <div id="loger">
5                        <div class="close">
6                        </div>
7                                               
8                        <form method="post" action="{$U_LOGIN}" id="quickconnect">
9                        <div id="log">
10                        <div>
11                        <label for="username">{'Username'|@translate}</label><br>
12                        <input type="text" autocomplete="{if ($PwgCarbon.menuident)==1}off{else}on{/if}" name="username" id="username" value="" style="width:100%">
13                        </div>
14                       
15                        <div>
16                        <label for="password">{'Password'|@translate}</label>
17                        <br>
18                        <input type="password" name="password" id="password" style="width:100%">
19                        </div>
20                       
21                        {if $AUTHORIZE_REMEMBERING}
22                        <div><label for="remember_me">
23                        {'Auto login'|@translate}
24                        <input type="checkbox" name="remember_me" id="remember_me" value="1">
25                        </label>
26                        {/if}
27                        </div>
28                        <div id="go">
29                        <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
30                        <input class="submit" type="submit" name="login" value="{'Login'|@translate}">
31                        </div>
32                        </div>
33                        <ul>
34                                {if isset($U_REGISTER)}
35                                <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
36                                {/if}
37
38                                <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow">{'Forgot your password?'|@translate}</a></li>
39                        </ul>
40
41                       
42
43                        </form>
44                </div>
45</li>
46       
47        {else}
48       
49<li class="liSub">
50
51<span class="dd_wrapper">{'Identification'|@translate}</span>
52                                        <div style="opacity: 0; display: none;" class="sub">
53
54        {if isset($USERNAME)}
55        <p>{'Hello'|@translate}&nbsp;{$USERNAME}&nbsp;!</p>
56        {/if}
57
58        <ul>
59        {if isset($U_REGISTER)}
60        <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
61        {/if}
62
63        {if isset($U_LOGIN)}
64        <li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li>
65        {/if}
66
67        {if isset($U_LOGOUT)}
68        <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
69        {/if}
70
71        {if isset($U_PROFILE)}
72        <li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
73        {/if}
74
75        {if isset($U_ADMIN)}
76        <li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li>
77        {/if}
78        </ul>
79</li>
80        {/if}
Note: See TracBrowser for help on using the repository browser.