Changeset 1092 for trunk/admin/user_perm.php
- Timestamp:
- Mar 22, 2006, 2:01:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_perm.php
r1072 r1092 93 93 // accesible 94 94 $authorized_ids = array(); 95 95 96 96 $query = ' 97 97 SELECT cat_id … … 100 100 ;'; 101 101 $result = pwg_query($query); 102 102 103 103 while ($row = mysql_fetch_array($result)) 104 104 { 105 105 array_push($authorized_ids, $row['cat_id']); 106 106 } 107 107 108 108 $inserts = array(); 109 109 $to_autorize_ids = array_diff($private_uppercats, $authorized_ids); … … 138 138 'L_CAT_OPTIONS_TRUE'=>$lang['authorized'], 139 139 'L_CAT_OPTIONS_FALSE'=>$lang['forbidden'], 140 140 141 141 'F_ACTION' => 142 142 PHPWG_ROOT_PATH. … … 178 178 'groups.category', 179 179 array( 180 'NAME' => get_cat_display_name_cache($category['uppercats'], '', false)180 'NAME' => get_cat_display_name_cache($category['uppercats'], null, false) 181 181 ) 182 182 ); … … 198 198 ;'; 199 199 display_select_cat_wrapper($query_true,array(),'category_option_true'); 200 200 201 201 $result = pwg_query($query_true); 202 202 $authorized_ids = array();
Note: See TracChangeset
for help on using the changeset viewer.