Changeset 1820 for trunk/include/category_cats.inc.php
- Timestamp:
- Feb 15, 2007, 1:10:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r1722 r1820 182 182 if ($conf['subcatify']) 183 183 { 184 $template->set_filenames( 185 array( 186 'mainpage_categories' => 'mainpage_categories.tpl', 187 ) 188 ); 184 $template->set_filename('mainpage_categories', 'mainpage_categories.tpl'); 189 185 190 186 foreach ($categories as $category) … … 232 228 else 233 229 { 234 $template->set_filename s( array( 'thumbnails' => 'thumbnails.tpl',));230 $template->set_filename( 'thumbnails', 'thumbnails.tpl'); 235 231 // first line 236 232 $template->assign_block_vars('thumbnails.line', array()); … … 296 292 } 297 293 298 $template->assign_var_from_handle('THUMBNAILS', 'thumbnails'); 294 $template->assign_var_from_handle('CATEGORIES', 'thumbnails'); 295 unset( $template->_tpldata['thumbnails.'] );//maybe write a func for that 299 296 } 300 297 }
Note: See TracChangeset
for help on using the changeset viewer.