diff options
author | mistic100 <mistic@piwigo.org> | 2012-11-13 20:39:33 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-11-13 20:39:33 +0000 |
commit | 06db015c8e0b47a8bd6a3e7e7498cc6e9d0e1a9b (patch) | |
tree | 8872685e6709297f0d9d5d8280feabfa0f652f3a | |
parent | 5bf7d3f779417be1384d9f4625f0acd862475f3d (diff) |
feature:2614 pagination on albums, disable pagination on SmartPocket, waiting for a better integration
git-svn-id: http://piwigo.org/svn/trunk@19009 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | themes/smartpocket/themeconf.inc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/smartpocket/themeconf.inc.php b/themes/smartpocket/themeconf.inc.php index 0c5f7397d..f3c5b7ed0 100644 --- a/themes/smartpocket/themeconf.inc.php +++ b/themes/smartpocket/themeconf.inc.php @@ -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']))
{
|