Changeset 470 for trunk/include/category_subcats.inc.php
- Timestamp:
- Aug 5, 2004, 7:38:14 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_subcats.inc.php
r440 r470 90 90 91 91 // creating links for thumbnail and associated category 92 $thumbnail_link = get_complete_dir($image_row['storage_category_id']); 93 $thumbnail_link.= 'thumbnail/'.$conf['prefix_thumbnail']; 94 $thumbnail_link.= $file.'.'.$image_row['tn_ext']; 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 } 95 103 96 104 $thumbnail_title = $lang['hint_category'];
Note: See TracChangeset
for help on using the changeset viewer.