Dotclear


Ignore:
Timestamp:
12/16/14 11:46:03 (11 years ago)
Author:
Dsls
Branch:
default
Children:
2850:aacd042b1035, 2877:ae86da118440
Message:

Deprecated $core->adminurl->decode, use $core->adminurl->get instead (with urlencode set to false)

Added dcPage::getPF to shortcut plugin file inclusion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/userPref/_admin.php

    r2820 r2849  
    1414$_menu['System']->addItem('user:preferences', 
    1515          $core->adminurl->get('admin.plugin.userPref'), 
    16           $core->adminurl->decode('load.plugin.file',array('pf' => 'userPref/icon.png')), 
     16          dcPage::getPF('userPref/icon.png'), 
    1717          preg_match('/'.preg_quote($core->adminurl->get('admin.plugin.userPref')).'(&.*)?$/',$_SERVER['REQUEST_URI']), 
    1818          $core->auth->isSuperAdmin()); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map