<?php
// xrs - Keep It Simple And Stupid XML Powered Publication System
// Copyright (C) 2002-2003 Ales Hakl <ales at hakl.net>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
include "../etc/auth.php";
include "./functions.php";
echo '<?xml version="1.0" encoding="utf-8" ?>';
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">';
echo '<head><title>xrs - Document database regeneration</title><meta http-equiv="Content-type" content="text/html; charset=utf-8" /></head>';
echo '<body><form method="post" action="maindoc.php"><p>';
echo "Regenerating document database...</p><hr /><p>";
IndexDocs('../doc/');
echo "</p><hr /><p><input type=\"submit\" value=\"Regenerate main page\" /></p><hr /><p>Done.";
echo '</p></form> <p>
<a href="http://validator.w3.org/check/referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0!" height="31" width="88" />
</a></p></body></html>';
?>