Changeset 579 for trunk/include/category_subcats.inc.php
- Timestamp:
- Oct 23, 2004, 7:56:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_subcats.inc.php
r470 r579 87 87 $image_row = mysql_fetch_array($image_result); 88 88 89 $file = get_filename_wo_extension($image_row['file']); 90 91 // creating links for thumbnail and associated category 92 if (isset($image_row['tn_ext']) and $image_row['tn_ext'] != '') 93 { 94 $thumbnail_link = get_complete_dir($image_row['storage_category_id']); 95 $thumbnail_link.= 'thumbnail/'.$conf['prefix_thumbnail']; 96 $thumbnail_link.= $file.'.'.$image_row['tn_ext']; 97 } 98 else 99 { 100 $thumbnail_link = './template/'.$user['template'].'/mimetypes/'; 101 $thumbnail_link.= strtolower(get_extension($image_row['file'])).'.png'; 102 } 89 $thumbnail_link = get_thumbnail_src($image_row['file'], 90 $image_row['storage_category_id'], 91 @$image_row['tn_ext']); 103 92 104 93 $thumbnail_title = $lang['hint_category'];
Note: See TracChangeset
for help on using the changeset viewer.