source: branches/2.4/themes/smartpocket/template/menubar.tpl @ 20015

Last change on this file since 20015 was 20015, checked in by patdenice, 11 years ago

merge r20014 from trunk to branch 2.4
bug:2819
Link problem in menu with smartpocket

Add redirect.tpl in smartpocket.

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