source: trunk/themes/default/template/menubar_identification.tpl @ 13837

Revision 13837, 2.0 KB checked in by plg, 8 years ago (diff)

theme Elegant, menubar:

  • center quick search
  • center quick connect and less visible border
  • Property svn:eol-style set to LF
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="" style="width:99%">
33        </div>
34
35        <div><label for="password">{'Password'|@translate}</label><br>
36        <input type="password" name="password" id="password" style="width:99%">
37        </div>
38
39        {if $AUTHORIZE_REMEMBERING}
40        <div><label for="remember_me">
41        <input type="checkbox" name="remember_me" id="remember_me" value="1"> {'Auto login'|@translate}
42        </label></div>
43        {/if}
44
45        <div>
46        <input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
47        <input type="submit" name="login" value="{'Submit'|@translate}">
48        <span class="categoryActions">
49{if isset($U_REGISTER)}
50                <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" class="pwg-state-default pwg-button">
51                        <span class="pwg-icon pwg-icon-register"> </span>
52                </a>
53{/if}
54                <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
55                        <span class="pwg-icon pwg-icon-lost-password"> </span>
56                </a>
57        </span>
58        </div>
59
60        </fieldset>
61        </form>
62{/strip}
63        {/if}
64</dd>
Note: See TracBrowser for help on using the repository browser.