Changeset 25975 for trunk/admin/picture_modify.php
- Timestamp:
- Dec 16, 2013, 9:18:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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']))
Note: See TracChangeset
for help on using the changeset viewer.