Changeset 19499


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

Legend:

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

    r19045 r19499  
    2828 
    2929add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page'); 
    30 function modify_nb_thumbnail_page() 
     30if(!function_exists('modify_nb_thumbnail_page')) 
    3131{ 
    32 global $user, $page; 
    33         $user['nb_image_page']=999; 
    34         $page['nb_image_page']=999; 
    35  
     32        function modify_nb_thumbnail_page() 
     33        { 
     34        global $user, $page; 
     35                $user['nb_image_page']=999; 
     36                $page['nb_image_page']=999; 
     37        } 
    3638} 
    3739 
    3840add_event_handler('get_categories_menu_sql_where', 'mic_get_categories_menu_sql_where', EVENT_HANDLER_PRIORITY_NEUTRAL, 3 ); 
    39 function mic_get_categories_menu_sql_where($where){      
    40         global $page; 
    41                 $where = '1'; 
    42         return $where; 
     41if(!function_exists('mic_get_categories_menu_sql_where')) 
     42{ 
     43        function mic_get_categories_menu_sql_where($where){      
     44                global $page; 
     45                        $where = '1'; 
     46                return $where; 
     47        } 
    4348} 
    4449 
Note: See TracChangeset for help on using the changeset viewer.