aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_search.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user_search.php')
-rw-r--r--admin/user_search.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/admin/user_search.php b/admin/user_search.php
index 220928992..8087e31e0 100644
--- a/admin/user_search.php
+++ b/admin/user_search.php
@@ -102,14 +102,16 @@ else
$is_user_allowed = is_user_allowed( $row['id'], $restrictions );
$url = PHPWG_ROOT_PATH.'admin.php?page=cat_perm&cat_id='.$row['id'];
$cat_infos = get_cat_info( $row['id'] );
- $template->assign_block_vars('permission.category',array(
- 'CAT_NAME'=> get_cat_display_name($cat_infos['name'],' > ', 'font-weight:bold;' ),
- 'CAT_ID'=>$row['id'],
- 'AUTH_YES'=>!$is_user_allowed?'checked="checked"':'',
- 'AUTH_NO' =>$is_user_allowed?'checked="checked"':'',
- 'CAT_URL'=>add_session_id($url)
- ));
-
+ $template->assign_block_vars(
+ 'permission.category',
+ array(
+ 'CAT_NAME'=> get_cat_display_name($cat_infos['name']),
+ 'CAT_ID'=>$row['id'],
+ 'AUTH_YES'=>!$is_user_allowed?'checked="checked"':'',
+ 'AUTH_NO' =>$is_user_allowed?'checked="checked"':'',
+ 'CAT_URL'=>add_session_id($url)
+ ));
+
// any subcat forbidden for this user ?
if ( $is_user_allowed == 2 )
{