Changeset 606 for trunk/include/category_calendar.inc.php
- Timestamp:
- Nov 17, 2004, 12:38:34 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_calendar.inc.php
r593 r606 220 220 { 221 221 $query = ' 222 SELECT file,tn_ext,'.$conf['calendar_datefield'].', storage_category_id222 SELECT file,tn_ext,'.$conf['calendar_datefield'].',path 223 223 FROM '.IMAGES_TABLE.', '.IMAGE_CATEGORY_TABLE.' 224 224 '.$page['where'].' … … 230 230 $row = mysql_fetch_array(pwg_query($query)); 231 231 232 $thumbnail_src = get_thumbnail_src($row['file'], 233 $row['storage_category_id'], 234 @$row['tn_ext']); 232 $thumbnail_src = get_thumbnail_src($row['path'], @$row['tn_ext']); 235 233 236 234 $name = $calendar_year.' ('.$nb_pics.')'; … … 267 265 { 268 266 $query = ' 269 SELECT file,tn_ext,'.$conf['calendar_datefield'].', storage_category_id267 SELECT file,tn_ext,'.$conf['calendar_datefield'].',path 270 268 FROM '.IMAGES_TABLE.', '.IMAGE_CATEGORY_TABLE.' 271 269 '.$page['where'].' … … 278 276 $row = mysql_fetch_array(pwg_query($query)); 279 277 280 $thumbnail_src = get_thumbnail_src($row['file'], 281 $row['storage_category_id'], 282 @$row['tn_ext']); 278 $thumbnail_src = get_thumbnail_src($row['path'], @$row['tn_ext']); 283 279 284 280 $name = $lang['month'][$calendar_month]; … … 323 319 { 324 320 $query = ' 325 SELECT file,tn_ext,'.$conf['calendar_datefield'].', storage_category_id321 SELECT file,tn_ext,'.$conf['calendar_datefield'].',path 326 322 FROM '.IMAGES_TABLE.', '.IMAGE_CATEGORY_TABLE.' 327 323 '.$page['where'].' … … 333 329 $row = mysql_fetch_array(pwg_query($query)); 334 330 335 $thumbnail_src = get_thumbnail_src($row['file'], 336 $row['storage_category_id'], 337 @$row['tn_ext']); 331 $thumbnail_src = get_thumbnail_src($row['path'], @$row['tn_ext']); 338 332 339 333 list($year,$month,$day) = explode('-', $calendar_day); … … 386 380 387 381 $query = ' 388 SELECT file,tn_ext,'.$conf['calendar_datefield'].', storage_category_id382 SELECT file,tn_ext,'.$conf['calendar_datefield'].',path 389 383 FROM '.IMAGES_TABLE.', '.IMAGE_CATEGORY_TABLE.' 390 384 '.$page['where'].' … … 402 396 $row = mysql_fetch_array(pwg_query($query)); 403 397 404 $thumbnail_src = get_thumbnail_src($row['file'], 405 $row['storage_category_id'], 406 @$row['tn_ext']); 398 $thumbnail_src = get_thumbnail_src($row['path'], @$row['tn_ext']); 407 399 408 400 $thumbnail_title = $lang['calendar_picture_hint'].$name;
Note: See TracChangeset
for help on using the changeset viewer.