diff options
Diffstat (limited to 'themes/smartpocket/template/menubar.tpl')
-rw-r--r-- | themes/smartpocket/template/menubar.tpl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/smartpocket/template/menubar.tpl b/themes/smartpocket/template/menubar.tpl new file mode 100644 index 000000000..49fa37e14 --- /dev/null +++ b/themes/smartpocket/template/menubar.tpl @@ -0,0 +1,29 @@ +<select name="identification" id="identification" data-icon="grid" data-iconpos="notext" data-native-menu="false"> + + <option value="" data-placeholder="true">{'Identification'|@translate}</option> + + {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} + +</select> + +{footer_script}{literal} +$(document).ready(function() { + $('#identification').change(function() { + window.location = this.value; + }); +}); +{/literal}{/footer_script} |