add statistics with regular xml tags

This commit is contained in:
Uwe Steinmann 2015-08-06 18:20:43 +02:00
parent ac544ef206
commit e4b3c76f0f

View File

@ -546,12 +546,10 @@ if($folder) {
tree($folder, null, '', $skiproot);
}
echo "</dms>\n";
echo "<!--\n";
echo "Command:\n";
echo " ".str_replace('--', '-', implode(" ", $argv))."\n";
echo "Statistics:\n";
echo "<statistics>\n";
echo " <command><![CDATA[".implode(" ", $argv)."]]></command>\n";
foreach($statistic as $type=>$count)
echo " ".$type.": ".$count."\n";
echo "-->\n"
echo " <".$type.">".$count."</".$type.">\n";
echo "</statistics>\n";
echo "</dms>\n";
?>