Rev | Line | |
---|
[13182] | 1 | <select name="identification" id="identification" data-icon="grid" data-iconpos="notext" data-native-menu="false"> |
---|
| 2 | |
---|
| 3 | <option value="" data-placeholder="true">{'Identification'|@translate}</option> |
---|
| 4 | |
---|
| 5 | {if isset($U_REGISTER)} |
---|
| 6 | <option value="{$U_REGISTER}">{'Register'|@translate}</option> |
---|
| 7 | {/if} |
---|
| 8 | {if isset($U_LOGIN)} |
---|
| 9 | <option value="{$U_LOGIN}">{'Login'|@translate}</option> |
---|
| 10 | {/if} |
---|
| 11 | {if isset($U_LOGOUT)} |
---|
| 12 | <option value="{$U_LOGOUT}">{'Logout'|@translate}</option> |
---|
| 13 | {/if} |
---|
| 14 | {if isset($U_PROFILE)} |
---|
| 15 | <option value="{$U_PROFILE}">{'Customize'|@translate}</option> |
---|
| 16 | {/if} |
---|
| 17 | {if isset($U_ADMIN)} |
---|
| 18 | <option value="{$U_ADMIN}">{'Administration'|@translate}</option> |
---|
| 19 | {/if} |
---|
| 20 | |
---|
| 21 | </select> |
---|
| 22 | |
---|
| 23 | {footer_script}{literal} |
---|
| 24 | $(document).ready(function() { |
---|
| 25 | $('#identification').change(function() { |
---|
| 26 | window.location = this.value; |
---|
| 27 | }); |
---|
| 28 | }); |
---|
| 29 | {/literal}{/footer_script} |
---|
Note: See
TracBrowser
for help on using the repository browser.