Skip to content

Commit

Permalink
feature:2614 pagination on albums, disable pagination on SmartPocket,…
Browse files Browse the repository at this point in the history
… waiting for a better integration

git-svn-id: http://piwigo.org/svn/trunk@19009 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
mistic100 committed Nov 13, 2012
1 parent 5bf7d3f commit 06db015
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions themes/smartpocket/themeconf.inc.php
Expand Up @@ -28,6 +28,15 @@ function sp_select_all_thumbnails($selection)
return $page['items'];
}

// Retrive all categories on thumbnails page
add_event_handler('loc_end_index_category_thumbnails', 'sp_select_all_categories');

function sp_select_all_categories($selection)
{
global $tpl_thumbnails_var;
return $tpl_thumbnails_var;
}

// Get better derive parameters for screen size
if (!empty($_COOKIE['screen_size']))
{
Expand Down

0 comments on commit 06db015

Please sign in to comment.