Changeset 470 for trunk/include/category_default.inc.php
- Timestamp:
- Aug 5, 2004, 7:38:14 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_default.inc.php
r456 r470 86 86 } 87 87 // thumbnail url 88 $thumbnail_url = $cat_directory; 89 $thumbnail_url.= 'thumbnail/'.$conf['prefix_thumbnail']; 90 $thumbnail_url.= $file.'.'.$row['tn_ext']; 88 if (isset($row['tn_ext']) and $row['tn_ext'] != '') 89 { 90 $thumbnail_url = $cat_directory; 91 $thumbnail_url.= 'thumbnail/'.$conf['prefix_thumbnail']; 92 $thumbnail_url.= $file.'.'.$row['tn_ext']; 93 } 94 else 95 { 96 $thumbnail_url = './template/'.$user['template'].'/mimetypes/'; 97 $thumbnail_url.= strtolower(get_extension($row['file'])).'.png'; 98 } 99 91 100 // message in title for the thumbnail 92 101 $thumbnail_title = $row['file'];
Note: See TracChangeset
for help on using the changeset viewer.