source: extensions/Full_Background/themeconf.inc.php @ 19042

Last change on this file since 19042 was 19042, checked in by Miklfe, 11 years ago
File size: 933 bytes
Line 
1<?php
2/*
3Theme Name: Full_Background
4Version: auto
5Description: theme Full_Background pour Piwigo.
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=649
7Author:Miklfe [piwitheme.fr]
8Author URI: http://piwitheme.fr
9*/
10$themeconf = array(
11  'name'  => 'Full_Background',
12  'parent' => 'default',
13  'local_head'  => 'local_head.tpl'
14);
15
16load_language('theme.lang', PHPWG_THEMES_PATH.'Full_Background/');
17
18
19add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page');
20function modify_nb_thumbnail_page()
21{
22global $user, $page;
23        $user['nb_image_page']=999;
24        $page['nb_image_page']=999;
25
26}
27
28add_event_handler('get_categories_menu_sql_where', 'mic_get_categories_menu_sql_where', EVENT_HANDLER_PRIORITY_NEUTRAL, 3 );
29
30function mic_get_categories_menu_sql_where($where){     
31        global $page;
32                $where = '1';
33        return $where;
34}
35
36  add_event_handler('allow_increment_element_hit_count', 'stop_increment');
37function stop_increment(){
38}
39?>
Note: See TracBrowser for help on using the repository browser.