lNavBar fix
This commit is contained in:
parent
751bd869cb
commit
ae87410b29
@ -118,22 +118,21 @@
|
|||||||
<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>
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="pearTitle" title="<?= $theme->item()->description ?>"> <?= html::purify(text::limit_chars($theme->item()->title, 40)) ?>
|
<div class="pearTitle" title="<?= $theme->item()->description ?>"> <?= html::purify(text::limit_chars($theme->item()->title, 40)) ?>
|
||||||
<span class="count">(<?= count($theme->item()->children()) ?>)</span>
|
<span class="count">(<?= count($theme->item()->children()) ?>)</span>
|
||||||
</div>
|
</div>
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
<div class="rNavBar">
|
<div class="rNavBar">
|
||||||
<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