Changeset 16599


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

-fix template override with BatchDownloader

Location:
extensions/UserCollections
Files:
1 deleted
3 edited
1 moved

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  }
  • extensions/UserCollections/language/en_UK/plugin.lang.php

    r16597 r16599  
    1818$lang['by %s'] = 'by %s';
    1919$lang['Collections'] = 'Collections';
     20$lang['Collection'] = 'Collection';
    2021$lang['Remove from collection'] = 'Remove from collection';
    2122$lang['Add to collection'] = 'Add to collection';
  • extensions/UserCollections/language/fr_FR/plugin.lang.php

    r16597 r16599  
    1818$lang['by %s'] = 'par %s';
    1919$lang['Collections'] = 'Collections';
     20$lang['Collection'] = 'Collection';
    2021$lang['Remove from collection'] = 'Supprimer de la collection';
    2122$lang['Add to collection'] = 'Ajouter à la collection';
Note: See TracChangeset for help on using the changeset viewer.