Changeset 49


Ignore:
Timestamp:
Jul 28, 2003, 11:28:55 PM (21 years ago)
Author:
z0rglub
Message:

adding link to group permissions for user's group

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/user_perm.php

    r29 r49  
    138138      $vtp->addSession( $sub, 'usergroup' );
    139139      $vtp->setVar( $sub, 'usergroup.name', $groups[$usergroup] );
     140      $url = './admin.php?page=group_perm&group_id='.$usergroup;
     141      $vtp->setVar( $sub, 'usergroup.url', add_session_id( $url ) );
    140142      if ( in_array( $usergroup, $authorized_groups ) )
    141143      {
  • trunk/template/default/admin/user_perm.vtp

    r30 r49  
    1111        [
    1212        <!--VTP_usergroup-->
    13         <span style="color:{#color};">{#name}</span>{#separation}
     13        <a href="{#url}" style="color:{#color};">{#name}</a>{#separation}
    1414        <!--/VTP_usergroup-->
    1515        ]
Note: See TracChangeset for help on using the changeset viewer.