diff options
-rw-r--r-- | admin/user_perm.php | 2 | ||||
-rw-r--r-- | template/default/admin/user_perm.vtp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/admin/user_perm.php b/admin/user_perm.php index 5cffe2cbf..9284b9b24 100644 --- a/admin/user_perm.php +++ b/admin/user_perm.php @@ -137,6 +137,8 @@ while ( $row = mysql_fetch_array( $result ) ) foreach ( $usergroups as $i => $usergroup ) { $vtp->addSession( $sub, 'usergroup' ); $vtp->setVar( $sub, 'usergroup.name', $groups[$usergroup] ); + $url = './admin.php?page=group_perm&group_id='.$usergroup; + $vtp->setVar( $sub, 'usergroup.url', add_session_id( $url ) ); if ( in_array( $usergroup, $authorized_groups ) ) { $vtp->setVar( $sub, 'usergroup.color', 'green' ); diff --git a/template/default/admin/user_perm.vtp b/template/default/admin/user_perm.vtp index 9914f29ac..c6dc496ff 100644 --- a/template/default/admin/user_perm.vtp +++ b/template/default/admin/user_perm.vtp @@ -10,7 +10,7 @@ <!--VTP_usergroups--> [ <!--VTP_usergroup--> - <span style="color:{#color};">{#name}</span>{#separation} + <a href="{#url}" style="color:{#color};">{#name}</a>{#separation} <!--/VTP_usergroup--> ] <!--/VTP_usergroups--> |