This commit is contained in:
Diego Najar 2018-01-19 19:49:16 +01:00
parent 0101dbdd49
commit f27f8a639f
2 changed files with 7 additions and 1 deletions

View File

@ -110,6 +110,8 @@ $(document).ready(function() {
<li <?php echo ($layout['view']=='content')?'class="uk-active"':'' ?>>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'content' ?>"><?php $L->p('Content') ?></a>
</li>
<?php if($Login->role() == 'admin') { ?>
<li <?php echo ($layout['view']=='categories')?'class="uk-active"':'' ?>>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'categories' ?>"><?php $L->p('Categories') ?></a>
</li>
@ -133,10 +135,13 @@ $(document).ready(function() {
<li <?php echo ($layout['view']=='themes')?'class="uk-active"':'' ?>>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>"><?php $L->p('Themes') ?></a>
</li>
<li <?php echo ($layout['view']=='about')?'class="uk-active"':'' ?>>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a>
</li>
<?php } ?>
</ul>
</div>

View File

@ -14,7 +14,7 @@
</div>
</div>
<?php if($Login->role() == 'admin') { ?>
<div class="uk-width-medium-1-3" style="border-right: 1px solid #E6E6E6; border-left: 1px solid #E6E6E6">
<div class="uk-panel">
@ -28,6 +28,7 @@
</div>
</div>
<?php } ?>
<div class="uk-width-medium-1-3">