mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-03 11:47:51 +02:00
Menus Plugin: fixes
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
<p>
|
<p>
|
||||||
<ul class="unstyled">
|
<ul class="unstyled">
|
||||||
<?php if (count($pages_list) > 0) foreach($pages_list as $page) { ?>
|
<?php if (count($pages_list) > 0) foreach($pages_list as $page) { ?>
|
||||||
<li><?php echo (!empty($page['parent'])) ? Html::nbsp().Html::arrow('right').Html::nbsp(2) : '' ; ?><a href="javascript:;" onclick="selectPage('<?php echo (empty($page['parent'])) ? $page['slug'] : $page['parent'].'/'.$page['slug'] ; ?>', '<?php echo $page['title']; ?>');"><?php echo $page['title']; ?></a></li>
|
<li><?php echo (!empty($page['parent'])) ? Html::nbsp().Html::arrow('right').Html::nbsp(2) : '' ; ?><a href="javascript:;" onclick="$.monstra.menu.selectPage('<?php echo (empty($page['parent'])) ? $page['slug'] : $page['parent'].'/'.$page['slug'] ; ?>', '<?php echo $page['title']; ?>');"><?php echo $page['title']; ?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (count($components_list) > 0) foreach($components_list as $component) { ?>
|
<?php if (count($components_list) > 0) foreach($components_list as $component) { ?>
|
||||||
<li><a href="javascript:;" onclick="$.monstra.menu.selectPage('<?php echo $component; ?>', '<?php echo __(ucfirst($component), $component); ?>');"><?php echo __(ucfirst($component), $component); ?></a></li>
|
<li><a href="javascript:;" onclick="$.monstra.menu.selectPage('<?php echo $component; ?>', '<?php echo __(ucfirst($component), $component); ?>');"><?php echo __(ucfirst($component), $component); ?></a></li>
|
||||||
|
@@ -58,7 +58,7 @@
|
|||||||
<p>
|
<p>
|
||||||
<ul class="unstyled">
|
<ul class="unstyled">
|
||||||
<?php if (count($pages_list) > 0) foreach($pages_list as $page) { ?>
|
<?php if (count($pages_list) > 0) foreach($pages_list as $page) { ?>
|
||||||
<li><?php echo (!empty($page['parent'])) ? Html::nbsp().Html::arrow('right').Html::nbsp(2) : '' ; ?><a href="javascript:;" onclick="selectPage('<?php echo (empty($page['parent'])) ? $page['slug'] : $page['parent'].'/'.$page['slug'] ; ?>', '<?php echo $page['title']; ?>');"><?php echo $page['title']; ?></a></li>
|
<li><?php echo (!empty($page['parent'])) ? Html::nbsp().Html::arrow('right').Html::nbsp(2) : '' ; ?><a href="javascript:;" onclick="$.monstra.menu.selectPage('<?php echo (empty($page['parent'])) ? $page['slug'] : $page['parent'].'/'.$page['slug'] ; ?>', '<?php echo $page['title']; ?>');"><?php echo $page['title']; ?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (count($components_list) > 0) foreach($components_list as $component) { ?>
|
<?php if (count($components_list) > 0) foreach($components_list as $component) { ?>
|
||||||
<li><a href="javascript:;" onclick="$.monstra.menu.selectPage('<?php echo $component; ?>', '<?php echo __(ucfirst($component), $component); ?>');"><?php echo __(ucfirst($component), $component); ?></a></li>
|
<li><a href="javascript:;" onclick="$.monstra.menu.selectPage('<?php echo $component; ?>', '<?php echo __(ucfirst($component), $component); ?>');"><?php echo __(ucfirst($component), $component); ?></a></li>
|
||||||
|
Reference in New Issue
Block a user