Changeset 12855 for trunk/admin
- Timestamp:
- Jan 5, 2012, 11:06:21 PM (12 years ago)
- Location:
- trunk/admin
- Files:
-
- 3 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 -
trunk/admin/picture_modify.php
r12831 r12855 304 304 ); 305 305 306 if ($row['has_high'] == 'true')307 {308 $template->assign(array(309 'HIGH_FILESIZE' => isset($row['high_filesize']) ? $row['high_filesize'].' KB' : l10n('unknown'),310 'HIGH_DIMENSIONS' => isset($row['high_width']) ? $row['high_width'].' * '.$row['high_height'] : l10n('unknown'),311 ));312 }313 314 306 // image level options 315 307 $selected_level = isset($_POST['level']) ? $_POST['level'] : $row['level']; -
trunk/admin/themes/default/template/picture_modify.tpl
r12693 r12855 67 67 </tr> 68 68 69 {if isset($HIGH_FILESIZE) }70 <tr>71 <td><strong>{'High dimensions'|@translate}</strong></td>72 <td>{$HIGH_DIMENSIONS}</td>73 </tr>74 75 <tr>76 <td><strong>{'High filesize'|@translate}</strong></td>77 <td>{$HIGH_FILESIZE}</td>78 </tr>79 {/if}80 81 69 <tr> 82 70 <td><strong>{'Storage album'|@translate}</strong></td>
Note: See TracChangeset
for help on using the changeset viewer.