Ignore:
Timestamp:
Feb 18, 2012, 9:26:52 PM (12 years ago)
Author:
patdenice
Message:

feature:2577
Many improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/smartpocket/themeconf.inc.php

    r13182 r13234  
    1212  'mobile' => true,
    1313);
     14
     15//Retrive all pictures on thumbnails page
     16add_event_handler('loc_index_thumbnails_selection', 'sp_select_all_thumbnails');
     17
     18function sp_select_all_thumbnails($selection)
     19{
     20  global $page, $template;
     21
     22  $template->assign('page_selection', array_flip($selection));
     23
     24  return $page['items'];
     25}
     26
    1427?>
Note: See TracChangeset for help on using the changeset viewer.