aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-07-28 21:28:55 +0000
committerz0rglub <z0rglub@piwigo.org>2003-07-28 21:28:55 +0000
commit6026869ae342a087594b81631565e76e1adf6c04 (patch)
tree2777e19d81f38ed1f08d857959709e5d1ec64539 /admin
parente507ac4bad2696c23512702b4fa7e91572ecce14 (diff)
adding link to group permissions for user's group
git-svn-id: http://piwigo.org/svn/trunk@49 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/user_perm.php2
1 files changed, 2 insertions, 0 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&amp;group_id='.$usergroup;
+ $vtp->setVar( $sub, 'usergroup.url', add_session_id( $url ) );
if ( in_array( $usergroup, $authorized_groups ) )
{
$vtp->setVar( $sub, 'usergroup.color', 'green' );