Ignore:
Timestamp:
Jul 10, 2012, 6:14:22 PM (12 years ago)
Author:
mistic100
Message:

-fix template override with BatchDownloader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/include/events.inc.php

    r16597 r16599  
    7575 
    7676  // the prefilter is different on collection page
    77   if (isset($page['section']) and $page['section'] == 'collections') return $tpl_thumbnails_var;
     77  if (isset($page['section']) and ($page['section'] == 'collections' or $page['section'] == 'download')) return $tpl_thumbnails_var;
    7878 
    7979  // get existing collections
     
    237237   
    238238    $data['U_LIST'] = USER_COLLEC_PUBLIC;
    239      
     239   
    240240    $template->set_template_dir(USER_COLLEC_PATH . 'template/');
    241241    $block->set_title(l10n('Collections'));
    242     $block->template = 'menublock.tpl';
     242    $block->template = 'menublock_user_collec.tpl';
    243243    $block->data = $data;
    244244  }
Note: See TracChangeset for help on using the changeset viewer.