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