\n" .
"" .
" $enter\n" .
"
\n" .
"\n";
while (list($key, $val) = each($pagehash)) {
if ($key > 0 || !$key) #key is an array index
continue;
if ((gettype($val) == "array") && ($showpagesource == "on")) {
$val = implode($val, "$FieldSeparator#BR#$FieldSeparator\n");
$val = htmlspecialchars($val);
$val = str_replace("$FieldSeparator#BR#$FieldSeparator", "
", $val);
}
elseif (($key == 'lastmodified') || ($key == 'created'))
$val = date($datetimeformat, $val);
else
$val = htmlspecialchars($val);
$table .= "
"; $html .= gettext ("Current version"); $html .= "
"; // $dbi = OpenDataBase($WikiPageStore); --- done by index.php $html .= ViewPageProps($info, $WikiPageStore); $html .= ""; $html .= gettext ("Archived version"); $html .= "
"; // $dbi = OpenDataBase($ArchivePageStore); $html .= ViewPageProps($info, $ArchivePageStore); GeneratePage('MESSAGE', $html, gettext("PageInfo").": '$info'", 0); ?>