Changeset 12855 for trunk/admin/include/functions.php
- Timestamp:
- Jan 5, 2012, 11:06:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r12820 r12855 201 201 $files[] = get_element_path($row); 202 202 203 if (!empty($row['tn_ext'])) 204 { 205 $files[] = get_thumbnail_path($row); 206 } 207 208 if (!empty($row['has_high']) and get_boolean($row['has_high'])) 209 { 210 $files[] = get_high_path($row); 211 } 212 203 213 204 if (!empty($row['representative_ext'])) 214 205 { 215 206 $pi = pathinfo($row['path']); 216 207 $file_wo_ext = get_filename_wo_extension($pi['basename']); 217 $files[] = PHPWG_ROOT_PATH.$pi['dirname'].'/pwg_representative/'.$file_wo_ext.'.'.$row['representative_ext'];208 $files[] = original_to_representative( $files[0], $row['representative_ext']); 218 209 } 219 210
Note: See TracChangeset
for help on using the changeset viewer.