Changeset 1407


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

merge -r1046 from branch-1_6 to trunk
bug 436: Category thumbnail display not ok if subcatify is false

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_recent_cats.inc.php

    r1354 r1407  
    110110else
    111111{
     112  $template->set_filenames( array( 'thumbnails' => 'thumbnails.tpl',));
    112113  // template thumbnail initialization
    113114  if (mysql_num_rows($result) > 0)
     
    157158  }
    158159  $conf['level_separator'] = $old_level_separator;
     160  $template->assign_var_from_handle('THUMBNAILS', 'thumbnails');
    159161}
    160162?>
  • trunk/include/category_subcats.inc.php

    r1354 r1407  
    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.