Changeset 12796 for trunk/admin/history.php
- Timestamp:
- Dec 27, 2011, 6:26:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/history.php
r9808 r12796 304 304 file, 305 305 path, 306 tn_ext306 representative_ext 307 307 FROM '.IMAGES_TABLE.' 308 308 WHERE id IN ('.implode(',', array_keys($image_ids)).') … … 314 314 $file_of_image = array(); 315 315 $path_of_image = array(); 316 $ tn_ext_of_image = array();316 $representative_ext_of_image = array(); 317 317 318 318 $result = pwg_query($query); … … 333 333 $file_of_image[ $row['id'] ] = $row['file']; 334 334 $path_of_image[ $row['id'] ] = $row['path']; 335 $ tn_ext_of_image[ $row['id'] ] = $row['tn_ext'];335 $representative_ext_of_image[ $row['id'] ] = $row['representative_ext']; 336 336 } 337 337 … … 455 455 'file' => $file_of_image[$line['image_id']], 456 456 'path' => $path_of_image[$line['image_id']], 457 ' tn_ext' => $tn_ext_of_image[$line['image_id']],457 'representative_ext' => $representative_ext_of_image[$line['image_id']], 458 458 ); 459 459 $thumbnail_display = $page['search']['fields']['display_thumbnail']; … … 488 488 $image_string = 489 489 '<a class="thumbnail" href="'.$picture_url.'">' 490 .'<span><img src="'. get_thumbnail_url($element)490 .'<span><img src="'.DerivativeImage::thumb_url($element) 491 491 .'" alt="'.$image_title.'" title="'.$image_title.'">' 492 492 .'</span></a>'; … … 497 497 $image_string = 498 498 '<a class="over" href="'.$picture_url.'">' 499 .'<span><img src="'. get_thumbnail_url($element)499 .'<span><img src="'.DerivativeImage::thumb_url($element) 500 500 .'" alt="'.$image_title.'" title="'.$image_title.'">' 501 501 .'</span>'.$image_title.'</a>';
Note: See TracChangeset
for help on using the changeset viewer.