Ignore:
Timestamp:
Feb 23, 2011, 10:35:32 AM (13 years ago)
Author:
plg
Message:

feature 2200: LocalFilesEditor plugin now uses the new cleaner URL alias for administration pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/LocalFilesEditor/main.inc.php

    r8728 r9359  
    3636function localfiles_admin_menu($menu)
    3737{
    38   array_push($menu, array(
    39     'NAME' => 'LocalFiles Editor',
    40     'URL' => get_admin_plugin_menu_link(LOCALEDIT_PATH . 'admin.php')));
     38  array_push(
     39    $menu,
     40    array(
     41      'NAME' => 'LocalFiles Editor',
     42      'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__))
     43      )
     44    );
     45 
    4146  return $menu;
    4247}
Note: See TracChangeset for help on using the changeset viewer.