Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Theme Name: Float |
---|
4 | Version: 1.3.0 |
---|
5 | Description: Piwigo theme. |
---|
6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=642 |
---|
7 | Author:Miklfe [piwitheme.fr] |
---|
8 | Author URI: http://piwitheme.fr |
---|
9 | */ |
---|
10 | $themeconf = array( |
---|
11 | 'name' => 'Float', |
---|
12 | 'parent' => 'PwgCarbon_dft', |
---|
13 | 'local_head' => 'local_head.tpl' |
---|
14 | ); |
---|
15 | |
---|
16 | |
---|
17 | add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page'); |
---|
18 | |
---|
19 | if(!function_exists('modify_nb_thumbnail_page')) |
---|
20 | { |
---|
21 | function modify_nb_thumbnail_page() |
---|
22 | { |
---|
23 | global $user, $page; |
---|
24 | $user['nb_image_page']=999; |
---|
25 | $page['nb_image_page']=999; |
---|
26 | |
---|
27 | } |
---|
28 | } |
---|
29 | |
---|
30 | add_event_handler('loc_end_page_header', 'load_Float' ); |
---|
31 | function load_Float(){include('float.php');} |
---|
32 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.