if (($menu == $act) && (empty($wht))) {
$OUT .= "<strong>";
} else {
- $OUT .= "[<a href=\"{!URL!}/modules.php?module=admin&action=".$menu."\">";
+ $OUT .= "[<a href=\"{?URL?}/modules.php?module=admin&action=".$menu."\">";
}
$OUT .= $title;
if ($wht == $wht_sub) {
$OUT .= "<strong>";
} else {
- $OUT .= "[<a href=\"{!URL!}/modules.php?module=admin&what=".$wht_sub."\">";
+ $OUT .= "[<a href=\"{?URL?}/modules.php?module=admin&what=".$wht_sub."\">";
}
} else {
$OUT .= "<em class=\"admin_note\">";
// Is this a PHP script?
if ((!isDirectory($file)) && (strpos($file, "".$type.'-') > -1) && (strpos($file, '.php') > 0)) {
// Then test if the file is readable
- $test = sprintf("%sinc/modules/%s/%s", constant('PATH'), $menu, $file);
+ $test = sprintf("inc/modules/%s/%s", $menu, $file);
// Is the file there?
- if (isFileReadable($test)) {
+ if (isIncludeReadable($test)) {
// Extract the value for what=xxx
$part = substr($file, (strlen($type) + 1));
$part = substr($part, 0, -4);
// Return link
//* DEBUG: */ OUTPUT_HTML("a:".$title."<br />");
- return "<a href=\"{!URL!}/modules.php?module=admin&what=".$wht."&uid=".$uid."\" title=\"{--ADMIN_USER_PROFILE_TITLE--}\">".$title."</a>";
+ return "<a href=\"{?URL?}/modules.php?module=admin&what=".$wht."&uid=".$uid."\" title=\"{--ADMIN_USER_PROFILE_TITLE--}\">".$title."</a>";
}
// Check "logical-area-mode"
// Is the userid set correctly?
if ($uid > 0) {
// Create a link to that profile
- return '{!URL!}/modules.php?module=admin&what=list_user&uid='.bigintval($uid);
+ return '{?URL?}/modules.php?module=admin&what=list_user&uid='.bigintval($uid);
} // END - if
// Return a link to the user list
- return '{!URL!}/modules.php?module=admin&what=list_user';
+ return '{?URL?}/modules.php?module=admin&what=list_user';
}
//