aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/menubar.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-06-30 14:24:42 +0000
committerflop25 <flop25@piwigo.org>2013-06-30 14:24:42 +0000
commit3e9d3ab6865dde6a9a8b2a7aa181703dc56f1abd (patch)
tree5f30810edd57d9fd62eede09dea3be9ee53903f5 /themes/smartpocket/template/menubar.tpl
parentb1a2127aef8189c48013c0540d649acee1480308 (diff)
bug:2848
jquery.mobile updated photoswipe updated menubar is now a right panel, with almost all the usual links added comment, search, picture, about and tags pages ToDo: *bug correction of the link added to the photoswipe toolbar (link doesn't triggered) *display the calculated size on the picture page limitations: no calendar view git-svn-id: http://piwigo.org/svn/trunk@23713 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/smartpocket/template/menubar.tpl')
-rw-r--r--themes/smartpocket/template/menubar.tpl48
1 files changed, 15 insertions, 33 deletions
diff --git a/themes/smartpocket/template/menubar.tpl b/themes/smartpocket/template/menubar.tpl
index 734ede2da..19b6b5481 100644
--- a/themes/smartpocket/template/menubar.tpl
+++ b/themes/smartpocket/template/menubar.tpl
@@ -1,33 +1,15 @@
-<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}
+{if !empty($blocks) }
+<ul data-role="listview">
+ <li data-icon="delete"><a href="#menubar" data-rel="close">Close</a></li>
+</ul>
+ {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}
+{/if} \ No newline at end of file