source: trunk/themes/smartpocket/themeconf.inc.php @ 13234

Last change on this file since 13234 was 13234, checked in by patdenice, 9 years ago

feature:2577
Many improvements

File size: 548 bytes
Line 
1<?php
2/*
3Theme Name: Smart Pocket
4Version: 2.4.0
5Description: Mobile theme.
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=599
7Author: P@t
8Author URI: http://piwigo.org
9*/
10
11$themeconf = array(
12  'mobile' => true,
13);
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
27?>
Note: See TracBrowser for help on using the repository browser.