source: extensions/PwgCarbon/themeconf.inc.php @ 19823

Last change on this file since 19823 was 19823, checked in by Miklfe, 11 years ago
File size: 880 bytes
Line 
1<?php
2/*
3Theme Name: PwgCarbon
4Version: auto
5Description: theme PwgCarbon pour Piwigo.
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=640
7Author:Miklfe [piwitheme.fr]
8Author URI: http://piwitheme.fr
9*/
10
11        global $conf, $user, $PwgCarbon;
12                       
13                               
14$themeconf = array(
15        'name'                                          => 'PwgCarbon',
16        'parent'                                        => 'PwgCarbon_dft',
17        'load_parent_css'                       => true,
18        'load_parent_local_head'        => false,
19        'local_head'                            => 'local_head.tpl',
20        'admin_icon_dir'                        => 'themes/default/icon/admin',
21        'mime_icon_dir'                         => 'themes/default/icon/mimetypes/',
22        );
23
24       
25       
26$PwgCarbon = array_merge( unserialize( $conf['PwgCarbon'] ), (array)$PwgCarbon );
27
28
29
30add_event_handler('loc_end_page_header', 'load_PwgCarbon' );
31
32
33function load_PwgCarbon()
34{
35global $user, $page; 
36if($user['theme']=='PwgCarbon')
37 
38                { 
39        include('PwgCarbon.php');
40                }
41        }
42
43?>
Note: See TracBrowser for help on using the repository browser.