Changeset 25975
- Timestamp:
- Dec 16, 2013, 9:18:56 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r25930 r25975 264 264 'site_manager', // delete site 265 265 'site_update', // ?only POST 266 'cat_list', // delete cat267 'cat_move', // ?only POST268 'cat_options', // ?only POST; public/private; lock/unlock269 'user_perm',270 'group_perm',271 'group_list', // delete group272 266 ) 273 267 ) 274 268 or ( !empty($_POST) and in_array($page['page'], 275 269 array( 276 'photo',277 270 'album', // public/private; lock/unlock, permissions 271 'cat_move', 272 'cat_options', // public/private; lock/unlock 278 273 'batch_manager', // associate/dissociate; delete; set level 279 274 'user_list', // group assoc; user level 275 'user_perm', 280 276 ) 281 277 ) -
trunk/admin/cat_list.php
r25425 r25975 116 116 $_SESSION['page_infos'] = array(l10n('Virtual album deleted')); 117 117 update_global_rank(); 118 invalidate_user_cache(); 118 119 119 120 $redirect_url = get_root_url().'admin.php?page=cat_list'; … … 121 122 { 122 123 $redirect_url.= '&parent_id='.$_GET['parent_id']; 123 } 124 } 124 125 redirect($redirect_url); 125 126 } 126 127 // request to add a virtual category 127 else 128 elseif (isset($_POST['submitAdd'])) 128 129 { 129 130 $output_create = create_virtual_category( … … 132 133 ); 133 134 135 invalidate_user_cache(); 134 136 if (isset($output_create['error'])) 135 137 { … … 142 144 } 143 145 // save manual category ordering 144 else 146 elseif (isset($_POST['submitManualOrder'])) 145 147 { 146 148 asort($_POST['catOrd'], SORT_NUMERIC); … … 149 151 $page['infos'][] = l10n('Album manual order was saved'); 150 152 } 151 else 153 elseif (isset($_POST['submitAutoOrder'])) 152 154 { 153 155 $query = ' -
trunk/admin/group_list.php
r25449 r25975 360 360 } 361 361 } 362 invalidate_user_cache(); 362 363 } 363 364 // +-----------------------------------------------------------------------+ -
trunk/admin/group_perm.php
r25018 r25975 113 113 114 114 mass_inserts(GROUP_ACCESS_TABLE, array('group_id','cat_id'), $inserts); 115 invalidate_user_cache(); 115 116 } 116 117 -
trunk/admin/picture_modify.php
r25425 r25975 83 83 explode(',', calculate_permissions($user['id'], $user['status'])) 84 84 ); 85 85 86 86 foreach ($authorizeds as $category_id) 87 87 { … … 176 176 move_images_to_categories(array($_GET['image_id']), $_POST['associate']); 177 177 178 invalidate_user_cache(); 179 178 180 // thumbnail for albums 179 181 if (!isset($_POST['represent'])) … … 181 183 $_POST['represent'] = array(); 182 184 } 183 185 184 186 $no_longer_thumbnail_for = array_diff($represent_options_selected, $_POST['represent']); 185 187 if (count($no_longer_thumbnail_for) > 0) … … 200 202 201 203 $represent_options_selected = $_POST['represent']; 202 204 203 205 $page['infos'][] = l10n('Photo informations updated'); 204 206 } … … 321 323 ;'; 322 324 list($row['nb_rates']) = pwg_db_fetch_row(pwg_query($query)); 323 325 324 326 $intro_vars['stats'].= ', '.sprintf(l10n('Rated %d times, score : %.2f'), $row['nb_rates'], $row['rating_score']); 325 327 } 326 328 327 329 $template->assign('INTRO', $intro_vars); 328 330 329 331 330 332 if (in_array(get_extension($row['path']),$conf['picture_ext'])) -
trunk/include/ws_functions/pwg.groups.php
r25968 r25975 150 150 pwg_query($query); 151 151 152 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 153 invalidate_user_cache(); 154 152 155 return new PwgNamedArray($groupnames, 'group_deleted'); 153 156 } … … 247 250 ); 248 251 252 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 249 253 invalidate_user_cache(); 250 254 … … 281 285 pwg_query($query); 282 286 287 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 283 288 invalidate_user_cache(); 284 289
Note: See TracChangeset
for help on using the changeset viewer.