Skip to content

Commit

Permalink
Fixed issue #10731: Configuration menu reviewed
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 11, 2016
1 parent 9a0e64e commit 6abcb65
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions application/views/admin/super/_configuration_menu.php
Expand Up @@ -118,16 +118,33 @@
<!-- Advanced -->

<li class="col-sm-2">
<?php if(Permission::model()->hasGlobalPermission('superadmin','read')): ?>
<ul>
<ul>

<!-- Advanced -->
<li class="dropdown-header">
<span class="icon-tools" ></span>
<?php eT('Advanced');?>
<!-- Advanced -->
<li class="dropdown-header">
<span class="icon-tools" ></span>
<?php eT('Advanced');?>
</li>
<?php if(Permission::model()->hasGlobalPermission('templates','read')): ?>
<!-- Template Editor -->
<li class="dropdown-item">
<a href="<?php echo $this->createUrl("admin/templates/sa/view"); ?>">
<?php eT("Template editor");?>
</a>
</li>
<?php endif;?>
<?php if(Permission::model()->hasGlobalPermission('labelsets','read')): ?>
<!-- Edit label sets -->
<li class="dropdown-item">
<a href="<?php echo $this->createUrl("admin/labels/sa/view"); ?>">
<?php eT("Manage label sets");?>
</a>
</li>
<?php endif;?>

<!-- Check Data Integrity -->
<?php if(Permission::model()->hasGlobalPermission('superadmin','read')): ?>

<!-- Check Data Integrity -->
<li class="dropdown-item">
<a href="<?php echo $this->createUrl("admin/checkintegrity"); ?>">
<?php eT("Check data integrity");?>
Expand All @@ -141,14 +158,9 @@
</a>
</li>

<!-- Plugin manager -->
<li class="dropdown-item">
<a href="<?php echo $this->createUrl("/admin/pluginmanager/sa/index"); ?>">
<?php eT("Plugin manager");?>
</a>
</li>
</ul>
<?php endif;?>
<?php endif;?>
<!-- Plugin manager -->
</ul>

</li>

Expand Down Expand Up @@ -223,23 +235,13 @@
<?php eT("Global settings");?>
</a>
</li>
<?php endif;?>
<?php if(Permission::model()->hasGlobalPermission('labelsets','read')): ?>
<!-- Edit label sets -->
<li class="dropdown-item">
<a href="<?php echo $this->createUrl("admin/labels/sa/view"); ?>">
<?php eT("Edit label sets");?>
</a>
</li>
<?php endif;?>
<?php if(Permission::model()->hasGlobalPermission('templates','read')): ?>
<!-- Template Editor -->
<li class="dropdown-item">
<a href="<?php echo $this->createUrl("admin/templates/sa/view"); ?>">
<?php eT("Template editor");?>
<a href="<?php echo $this->createUrl("/admin/pluginmanager/sa/index"); ?>">
<?php eT("Plugin manager");?>
</a>
</li>
<?php endif;?>

</ul>
</li>
</ul>
Expand Down

0 comments on commit 6abcb65

Please sign in to comment.