Changeset 19499
- Timestamp:
- Dec 18, 2012, 11:52:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Slim/themeconf.inc.php
r19045 r19499 28 28 29 29 add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page'); 30 function modify_nb_thumbnail_page()30 if(!function_exists('modify_nb_thumbnail_page')) 31 31 { 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 } 36 38 } 37 39 38 40 add_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; 41 if(!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 } 43 48 } 44 49
Note: See TracChangeset
for help on using the changeset viewer.