$m) $out .= sprintf("%-16s %-16s %-16s\n",$id,@$m['cmd'],@$m['seq']); return $out; } $HandleActions['ruleset'] = 'HandleRuleset'; function HandleRuleset($pagename) { header("Content-type: text/plain"); print Ruleset(); } function DisplayStopWatch() { global $StopWatch; StopWatch('now'); $out = "
";
foreach((array)$StopWatch as $k => $x) {
$out .= "$x\n";
}
if (is_array($StopWatch)) array_pop($StopWatch);
$out .= '';
return $out;
}
$FmtP['/\\$StopWatch/e'] = 'DisplayStopWatch()';