Skip to content

Commit

Permalink
Fixed issue #7174: Create/edit user groups screen available to users …
Browse files Browse the repository at this point in the history
…even when nothing to display
  • Loading branch information
c-schmitz committed Jan 13, 2013
1 parent 8b3a523 commit 030a85e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion application/views/admin/super/adminmenu.php
Expand Up @@ -27,9 +27,13 @@

<a href="<?php echo $this->createUrl("admin/user/sa/index"); ?>">
<img src='<?php echo $sImageURL;?>security.png' alt='<?php $clang->eT("Manage survey administrators");?>' width='<?php echo $iconsize;?>' height='<?php echo $iconsize;?>'/></a>
<a href="<?php echo $this->createUrl("admin/usergroups/sa/index"); ?>">
<?php
if(Yii::app()->session['USER_RIGHT_CREATE_USER'])
{?>
<a href="<?php echo $this->createUrl("admin/usergroups/sa/index"); ?>">
<img src='<?php echo $sImageURL;?>usergroup.png' alt='<?php $clang->eT("Create/edit user groups");?>' width='<?php echo $iconsize;?>' height='<?php echo $iconsize;?>'/></a>
<?php
}
if(Yii::app()->session['USER_RIGHT_CONFIGURATOR'] == 1)
{ ?>
<a href="<?php echo $this->createUrl("admin/globalsettings"); ?>">
Expand Down

0 comments on commit 030a85e

Please sign in to comment.