Ignore:
Timestamp:
12/18/12 23:50:37 (7 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

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

    r19463 r19492  
    1919 
    2020add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page'); 
    21 function modify_nb_thumbnail_page() 
     21if(!function_exists('modify_nb_thumbnail_page')) 
    2222{ 
    23 global $user, $page; 
    24         $user['nb_image_page']=999; 
    25         $page['nb_image_page']=999; 
     23        function modify_nb_thumbnail_page() 
     24        { 
     25        global $user, $page; 
     26                $user['nb_image_page']=999; 
     27                $page['nb_image_page']=999; 
     28        } 
    2629} 
    2730 
    2831add_event_handler('get_categories_menu_sql_where', 'mic_get_categories_menu_sql_where', EVENT_HANDLER_PRIORITY_NEUTRAL, 3 ); 
    29  
    30 function mic_get_categories_menu_sql_where($where){      
    31         global $page; 
    32                 $where = '1'; 
    33         return $where; 
     32        if(!function_exists('mic_get_categories_menu_sql_where')) 
     33        { 
     34        function mic_get_categories_menu_sql_where($where){      
     35                global $page; 
     36                        $where = '1'; 
     37                return $where; 
     38        } 
    3439} 
    3540 
Note: See TracChangeset for help on using the changeset viewer.