Ignore:
Timestamp:
May 28, 2014, 11:14:27 PM (10 years ago)
Author:
Miklfe
Message:

nouveau carousel: mousewheel; scrollable pour les écrans tactiles
nouvelle lightbox: Fancybox

File:
1 edited

Legend:

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

    r25997 r28556  
    3333        {
    3434        global $user, $page, $conf;
    35                 $user['nb_image_page']=999;
    3635                $page['nb_image_page']=999;
    3736                $conf['nb_categories_page']=999;
    3837        }
    3938}
    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
     40add_event_handler('loc_begin_index', 'block_expand');
     41if(!function_exists('block_expand'))
    4242{
    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;
    4747        }
    4848}
Note: See TracChangeset for help on using the changeset viewer.