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