Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Theme Name: PwgCarbon_dft |
---|
4 | Version: auto |
---|
5 | Description: theme PwgCarbon_dft pour Piwigo. |
---|
6 | Theme URI:http://piwigo.org/ext/extension_view.php?eid=639 |
---|
7 | Author:Miklfe [piwitheme.fr] |
---|
8 | Author URI: http://piwitheme.fr |
---|
9 | */ |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | load_language('theme.lang', PHPWG_THEMES_PATH.'PwgCarbon_dft/'); |
---|
14 | |
---|
15 | |
---|
16 | $themeconf = array( |
---|
17 | 'name' => 'PwgCarbon_dft', |
---|
18 | 'parent' => 'default', |
---|
19 | 'load_parent_css' => true, |
---|
20 | 'load_parent_local_head' => false, |
---|
21 | 'local_head' => 'local_head.tpl', |
---|
22 | 'icon_dir' => 'themes/PwgCarbon_dft/icon/', |
---|
23 | |
---|
24 | ); |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | add_event_handler('get_categories_menu_sql_where', 'mic_get_categories_menu_sql_where', EVENT_HANDLER_PRIORITY_NEUTRAL, 3 ); |
---|
29 | if(!function_exists('mic_get_categories_menu_sql_where')) |
---|
30 | { |
---|
31 | function mic_get_categories_menu_sql_where($where){ |
---|
32 | global $page; |
---|
33 | $where = '1'; |
---|
34 | return $where; |
---|
35 | } |
---|
36 | |
---|
37 | } |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.