Changeset 2268 for trunk/admin/group_perm.php
- Timestamp:
- Mar 8, 2008, 1:38:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/group_perm.php
r2201 r2268 48 48 else 49 49 { 50 echo l10n('group_id URL parameter is missing'); 51 exit(); 50 die('group_id URL parameter is missing'); 52 51 } 53 52 … … 94 93 // accesible 95 94 $authorized_ids = array(); 96 95 97 96 $query = ' 98 97 SELECT cat_id … … 101 100 ;'; 102 101 $result = pwg_query($query); 103 102 104 103 while ($row = mysql_fetch_array($result)) 105 104 { 106 105 array_push($authorized_ids, $row['cat_id']); 107 106 } 108 107 109 108 $inserts = array(); 110 109 $to_autorize_ids = array_diff($private_uppercats, $authorized_ids); … … 145 144 'L_CAT_OPTIONS_FALSE'=>l10n('forbidden'), 146 145 'L_CAT_OPTIONS_INFO'=>l10n('permuser_info'), 147 146 148 147 'F_ACTION' => 149 148 PHPWG_ROOT_PATH. … … 152 151 ) 153 152 ); 154 153 155 154 // only private categories are listed 156 155 $query_true = '
Note: See TracChangeset
for help on using the changeset viewer.