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

Last change on this file since 8774 was 8774, checked in by rvelices, 13 years ago

more compact html output

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