lNavBar fix
This commit is contained in:
parent
751bd869cb
commit
ae87410b29
@ -118,8 +118,8 @@
|
|||||||
<div class="pear">
|
<div class="pear">
|
||||||
|
|
||||||
<div id="gsNavBar" class="gcBorder1">
|
<div id="gsNavBar" class="gcBorder1">
|
||||||
<div class="lNavBar">
|
|
||||||
<? if ($theme->item()): ?>
|
<? if ($theme->item()): ?>
|
||||||
|
<div class="lNavBar">
|
||||||
<? if(!empty($parents)): ?>
|
<? if(!empty($parents)): ?>
|
||||||
<? $parent = end($parents) ?>
|
<? $parent = end($parents) ?>
|
||||||
<button class="large push large-with-push" onclick="window.location='<?= $parent->url($parent->id == $theme->item()->parent_id ? "show={$theme->item()->id}" : null) ?>' + '#viewMode=' + viewMode;"> <div class="outer"> <div class="label"> <?= html::purify(text::limit_chars($parent->title, module::get_var("gallery", "visible_title_length"))) ?></div> </div></button>
|
<button class="large push large-with-push" onclick="window.location='<?= $parent->url($parent->id == $theme->item()->parent_id ? "show={$theme->item()->id}" : null) ?>' + '#viewMode=' + viewMode;"> <div class="outer"> <div class="label"> <?= html::purify(text::limit_chars($parent->title, module::get_var("gallery", "visible_title_length"))) ?></div> </div></button>
|
||||||
@ -133,7 +133,6 @@
|
|||||||
<button class="large push large-with-push" onclick="$('#g-header').slideToggle('normal', function(){$('#g-header').is(':hidden') ? $('#sidebarButton').text('Show Options') : $('#sidebarButton').text('Hide Options')});//);toggleSidebar('ContentAlbum','sidebar'); return false;"> <div class="outer"> <div class="label" id="sidebarButton">Show Options</div></div></button>
|
<button class="large push large-with-push" onclick="$('#g-header').slideToggle('normal', function(){$('#g-header').is(':hidden') ? $('#sidebarButton').text('Show Options') : $('#sidebarButton').text('Hide Options')});//);toggleSidebar('ContentAlbum','sidebar'); return false;"> <div class="outer"> <div class="label" id="sidebarButton">Show Options</div></div></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="g-header" class="ui-helper-clearfix" style="display: none;">
|
<div id="g-header" class="ui-helper-clearfix" style="display: none;">
|
||||||
<div id="g-banner">
|
<div id="g-banner">
|
||||||
<?= $theme->user_menu() ?>
|
<?= $theme->user_menu() ?>
|
||||||
|
Reference in New Issue
Block a user