Add simple placeholder pages for planned setup / upgrade activities.

This commit is contained in:
Andrew McMillan 2009-12-21 22:27:28 +13:00
parent 9ecc95399b
commit b8c946fcea
2 changed files with 57 additions and 0 deletions

26
htdocs/setup.php Normal file
View File

@ -0,0 +1,26 @@
<?php
include("../inc/always.php");
include("DAViCalSession.php");
$session->LoginRequired();
include("interactive-page.php");
include("page-header.php");
echo <<<EOBODY
<h1>Setup</h1>
<p>Currently this page does nothing. Suggestions or patches to make it do something
useful will be gratefully received.
<h2>Configuring Calendar Clients for DAViCal</h2>
<p>The <a href="http://rscds.sourceforge.net/clients.php">DAViCal client setup page on sourceforge</a> have information on how
to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.</p>
<p>The administrative interface has no facility for viewing or modifying calendar data.</p>
<h2>Configuring DAViCal</h2>
<p>If you can read this then things must be mostly working already.</p>
<p>The <a href="http://rscds.sourceforge.net/installation.php">DAViCal installation page</a> on sourceforge has
some further information on how to install and configure this application.</p>
EOBODY;
include("page-footer.php");

31
htdocs/upgrade.php Normal file
View File

@ -0,0 +1,31 @@
<?php
if ( $_SERVER['REQUEST_METHOD'] != "GET" && $_SERVER['REQUEST_METHOD'] != "POST" ) {
/**
* If the request is not a GET or POST then they must really want caldav.php!
*/
include("./caldav.php");
exit; // Not that it should return from that!
}
include("../inc/always.php");
include("DAViCalSession.php");
$session->LoginRequired();
include("interactive-page.php");
include("page-header.php");
echo <<<EOBODY
<h1>Upgrade</h1>
<p>Currently this page does nothing. Suggestions or patches to make it do something
useful will be gratefully received.
<h2>Upgrading DAViCal Versions</h2>
<p>The <a href="http://wiki.davical.org/w/Update-davical-database">update-davical-database</a> should be run
manually after upgrading the software to a new version of DAViCal.</p>
<p>In due course this program will implement the functionality which is currently contained in that
script, but until then I'm afraid you do need to run it.
EOBODY;
<?php
include("page-footer.php");