Ignore:
Timestamp:
May 28, 2010, 10:52:34 AM (14 years ago)
Author:
patdenice
Message:

Remove useless code.
Add EN and FR plugin description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_menutree/trunk/main.inc.php

    r6393 r6408  
    3030        add_event_handler('blockmanager_apply', 'rv_mt_menubar_categories');
    3131
    32         if ($expand)
     32        if ($expand or $filter)
    3333                return $where;
    34         if ($filter)
    35         {
    36                 global $rv_mt_all_open;
    37                 $rv_mt_all_open = true;
    38                 return $where;
    39         }
    4034
    4135        global $page;
     
    5751        if (($block = $menu->get_block('mbCategories')) != null)
    5852        {
    59                 global $template, $page, $rv_mt_all_open;
     53                global $template, $page;
    6054
    6155                $dirname = dirname(__FILE__);
     
    6660                        'PATH' => get_root_url().'plugins/'. basename($dirname).'/',
    6761                        'CSS' => str_replace( 'url(', 'url('.get_root_url().'plugins/'.basename($dirname).'/',file_get_contents($dirname.'/rvtree-min.css')),
    68                         'ALL_OPEN' => $rv_mt_all_open,
    6962                        'UPPER_IDS' => isset($page['category']['uppercats']) ? array_flip( explode(',', $page['category']['uppercats'])) : null,
    7063                        )
Note: See TracChangeset for help on using the changeset viewer.