Ignore:
Timestamp:
Dec 17, 2013, 11:19:05 PM (10 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PwgCarbon/themeconf.inc.php

    r19823 r25996  
    22/*
    33Theme Name: PwgCarbon
    4 Version: auto
     4Version: 1.3
    55Description: theme PwgCarbon pour Piwigo.
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=640
     
    99*/
    1010
    11         global $conf, $user, $PwgCarbon;
     11        global $conf, $user, $PwgCarbon, $template;
    1212                       
    1313                               
     
    2222        );
    2323
    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 
     24add_event_handler('init', 'load_PwgCarbon' );
    3325function load_PwgCarbon()
    3426{
    35 global $user, $page;
    36 if($user['theme']=='PwgCarbon')
    37  
    38                 {
    3927        include('PwgCarbon.php');
    40                 }
    4128        }
    4229
Note: See TracChangeset for help on using the changeset viewer.