mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
26ed60c972
Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
33 lines
849 B
Smarty
33 lines
849 B
Smarty
<select name="identification" id="identification" data-icon="grid" data-iconpos="notext" data-native-menu="false">
|
|
|
|
<option></option>
|
|
<optgroup label="{'Identification'|@translate}">
|
|
|
|
{if isset($U_REGISTER)}
|
|
<option value="{$U_REGISTER}">{'Register'|@translate}</option>
|
|
{/if}
|
|
{if isset($U_LOGIN)}
|
|
<option value="{$U_LOGIN}">{'Login'|@translate}</option>
|
|
{/if}
|
|
{if isset($U_LOGOUT)}
|
|
<option value="{$U_LOGOUT}">{'Logout'|@translate}</option>
|
|
{/if}
|
|
{if isset($U_PROFILE)}
|
|
<option value="{$U_PROFILE}">{'Customize'|@translate}</option>
|
|
{/if}
|
|
{if isset($U_ADMIN)}
|
|
<option value="{$U_ADMIN}">{'Administration'|@translate}</option>
|
|
{/if}
|
|
|
|
</optgroup>
|
|
|
|
</select>
|
|
|
|
{footer_script}{literal}
|
|
$(document).ready(function() {
|
|
$('#identification').change(function() {
|
|
window.location = this.value;
|
|
});
|
|
});
|
|
{/literal}{/footer_script}
|