From 26ed60c972da7e18325c35a62e72025d1a70fbf1 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 18 Feb 2012 20:26:52 +0000 Subject: feature:2577 Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/smartpocket/themeconf.inc.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'themes/smartpocket/themeconf.inc.php') diff --git a/themes/smartpocket/themeconf.inc.php b/themes/smartpocket/themeconf.inc.php index a1a841081..2dd950c7d 100644 --- a/themes/smartpocket/themeconf.inc.php +++ b/themes/smartpocket/themeconf.inc.php @@ -11,4 +11,17 @@ Author URI: http://piwigo.org $themeconf = array( 'mobile' => true, ); + +//Retrive all pictures on thumbnails page +add_event_handler('loc_index_thumbnails_selection', 'sp_select_all_thumbnails'); + +function sp_select_all_thumbnails($selection) +{ + global $page, $template; + + $template->assign('page_selection', array_flip($selection)); + + return $page['items']; +} + ?> -- cgit v1.2.3