Changeset 28556 for extensions/Slim/themeconf.inc.php
- Timestamp:
- May 28, 2014, 11:14:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Slim/themeconf.inc.php
r25997 r28556 33 33 { 34 34 global $user, $page, $conf; 35 $user['nb_image_page']=999;36 35 $page['nb_image_page']=999; 37 36 $conf['nb_categories_page']=999; 38 37 } 39 38 } 40 add_event_handler('get_categories_menu_sql_where', 'mic_get_categories_menu_sql_where', EVENT_HANDLER_PRIORITY_NEUTRAL, 3 ); 41 if(!function_exists('mic_get_categories_menu_sql_where')) 39 40 add_event_handler('loc_begin_index', 'block_expand'); 41 if(!function_exists('block_expand')) 42 42 { 43 function mic_get_categories_menu_sql_where($where){44 global $page;45 $where = '1';46 return $where;43 function block_expand() 44 { 45 global $user; 46 $user['expand']=true; 47 47 } 48 48 }
Note: See TracChangeset
for help on using the changeset viewer.