Changeset 2231 for trunk/include/category_cats.inc.php
- Timestamp:
- Mar 1, 2008, 2:12:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r2201 r2231 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 7PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | file : $Id$ … … 234 234 $icon_ts = get_icon($category['max_date_last'], $category['is_child_date_last']); 235 235 236 $template->assign_block_vars( 237 'categories.category', 236 $tpl_var = 238 237 array( 239 'SRC' => $thumbnail_src_of[$category['representative_picture_id']], 238 'ID' => $category['id'], 239 'TN_SRC' => $thumbnail_src_of[$category['representative_picture_id']], 240 240 'ALT' => $category['name'], 241 'TITLE' => l10n('hint_category'),242 241 'ICON' => $icon_ts, 243 242 … … 261 260 'subcatify_category_description')), 262 261 'NAME' => $name, 263 ) 264 ); 262 ); 265 263 266 264 if ($conf['display_fromto']) … … 287 285 ); 288 286 } 289 290 $template->assign_block_vars( 291 'categories.category.dates', 292 array( 293 'INFO' => $info, 294 ) 295 ); 287 $tpl_var['INFO_DATES'] = $info; 296 288 } 297 289 } 298 } 290 }//fromto 291 292 $template->append( 'category_thumbnails', $tpl_var); 293 299 294 300 295 //plugins need to add/modify sth in this loop ?
Note: See TracChangeset
for help on using the changeset viewer.