Changeset 25996 for extensions/PwgCarbon/themeconf.inc.php
- Timestamp:
- Dec 17, 2013, 11:19:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PwgCarbon/themeconf.inc.php
r19823 r25996 2 2 /* 3 3 Theme Name: PwgCarbon 4 Version: auto4 Version: 1.3 5 5 Description: theme PwgCarbon pour Piwigo. 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=640 … … 9 9 */ 10 10 11 global $conf, $user, $PwgCarbon ;11 global $conf, $user, $PwgCarbon, $template; 12 12 13 13 … … 22 22 ); 23 23 24 25 26 $PwgCarbon = array_merge( unserialize( $conf['PwgCarbon'] ), (array)$PwgCarbon ); 27 28 29 30 add_event_handler('loc_end_page_header', 'load_PwgCarbon' ); 31 32 24 add_event_handler('init', 'load_PwgCarbon' ); 33 25 function load_PwgCarbon() 34 26 { 35 global $user, $page;36 if($user['theme']=='PwgCarbon')37 38 {39 27 include('PwgCarbon.php'); 40 }41 28 } 42 29
Note: See TracChangeset
for help on using the changeset viewer.