piwigo/themes/smartpocket/template/menubar.tpl
patdenice 65c180b4d7 bug:2819
Link problem in menu with smartpocket

Add redirect.tpl in smartpocket.

git-svn-id: http://piwigo.org/svn/trunk@20014 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-09 00:24:52 +00:00

33 lines
882 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() {
$(this).selectmenu('close');
window.location = this.value;
});
});
{/literal}{/footer_script}