Ignore:
Timestamp:
Mar 17, 2011, 12:51:38 AM (13 years ago)
Author:
patdenice
Message:

New admin URL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/class.inc.php

    r9737 r9738  
    117117        if (is_admin())
    118118        {
    119           $block['U_EDIT'] = PHPWG_ROOT_PATH.'admin.php?page=plugin&section='.STUFFS_DIR.'%2Fadmin%2Fadmin.php&tab=edit_module&edit='.$module['id'].'&redirect='.urlencode(urlencode($_SERVER['REQUEST_URI']));
     119          $block['U_EDIT'] = get_root_url().'admin.php?page=plugin-'.STUFFS_DIR.'-edit_module&edit='.$module['id'].'&redirect='.urlencode(urlencode($_SERVER['REQUEST_URI']));
    120120        }
    121121        $this->set_tpl_block($block, $module);
Note: See TracChangeset for help on using the changeset viewer.