Is it possible to exclude modules/system in the following rendering codes?
global $PHP_SELF;
$current_path = preg_replace("/(.*)/.*.php.*/i", "\1/\2", $PHP_SELF);
// $s .= "n<!-- current_path: $current_path -->n";
$dirs_list = explode("/", $current_path);
$dirs_list = implode("-", $dirs_list);
$dirs_list = trim($dirs_list,"-");
$dirs_list .= "+";
$dirs_list = eregi_replace("modules-", "m-",$dirs_list);
// $s .= "n<!-- dirs: $dirs_list -->n";
It seems that most of the ShortURL problems with standard modules are related to admin side. Many relative URL would just rendered as something like the following (just an example, this shows after click directly on System Admin with the javascript) :
/+admin+fct-blocksadmin-op-edit-bid-4.html
It was transformed without the module name.
tl