aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/menubar.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/smartpocket/template/menubar.tpl')
-rw-r--r--themes/smartpocket/template/menubar.tpl55
1 files changed, 22 insertions, 33 deletions
diff --git a/themes/smartpocket/template/menubar.tpl b/themes/smartpocket/template/menubar.tpl
index 734ede2da..dded4611f 100644
--- a/themes/smartpocket/template/menubar.tpl
+++ b/themes/smartpocket/template/menubar.tpl
@@ -1,33 +1,22 @@
-<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}
+<ul data-role="listview">
+ <li data-icon="delete"><a href="#menubar" data-rel="close">{'Close'|@translate}</a></li>
+</ul>
+{if !empty($blocks) }
+<div data-role="collapsible-set" data-inset="false">
+ {foreach from=$blocks key=id item=block}
+ <div data-role="collapsible" data-inset="false" data-icon="false">
+ {if not empty($block->template)}
+ {include file=$block->template assign=the_block|@get_extent:$id}
+ {$the_block|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
+ {else}
+ {$block->raw_content|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
+ {/if}
+ </div>
+ {/foreach}
+</div>
+{/if}
+<br>
+<ul data-role="listview">
+ <li data-role="list-divider">{'View in'|@translate}</li>
+ <li><a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a></li>
+</ul>