Changeset 1406


Ignore:
Timestamp:
Jun 27, 2006, 2:37:18 AM (18 years ago)
Author:
rvelices
Message:

bug 436: Category thumbnail display not ok if subcatify is false

Location:
branches/branch-1_6/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/category_recent_cats.inc.php

    r1353 r1406  
    111111{
    112112  // template thumbnail initialization
     113  $template->set_filenames( array( 'thumbnails' => 'thumbnails.tpl',));
    113114  if (mysql_num_rows($result) > 0)
    114115  {
     
    157158  }
    158159  $conf['level_separator'] = $old_level_separator;
     160  $template->assign_var_from_handle('THUMBNAILS', 'thumbnails');
    159161}
    160162?>
  • branches/branch-1_6/include/category_subcats.inc.php

    r1353 r1406  
    171171  else
    172172  {
     173    $template->set_filenames( array( 'thumbnails' => 'thumbnails.tpl',));
    173174    $template->assign_block_vars('thumbnails', array());
    174175    // first line
     
    211212      }
    212213    }
     214    $template->assign_var_from_handle('THUMBNAILS', 'thumbnails');
    213215  }
    214216}
Note: See TracChangeset for help on using the changeset viewer.