Dotclear

Changeset 2060:2a2f7da5ae6b


Ignore:
Timestamp:
09/24/13 11:01:28 (11 years ago)
Author:
Dsls
Branch:
default
Message:

fixed "pages" menu active when on intermediate action on pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/_admin.php

    r1891 r2060  
    4949 
    5050$_menu['Blog']->addItem(__('Pages'),'plugin.php?p=pages','index.php?pf=pages/icon.png', 
    51           preg_match('/plugin.php\?p=pages(&.*)?$/',$_SERVER['REQUEST_URI']), 
     51          preg_match('/plugin.php(.*)$/',$_SERVER['REQUEST_URI']) && $_REQUEST['p']=='pages', 
    5252          $core->auth->check('contentadmin,pages',$core->blog->id)); 
    5353 
Note: See TracChangeset for help on using the changeset viewer.

Sites map