Update the help page to point to more useful links.

This commit is contained in:
Andrew McMillan 2009-10-27 09:31:02 +13:00
parent 35fb624260
commit 0b6e633b3c

View File

@ -1,20 +1,30 @@
<?php
require_once("../inc/always.php");
require_once("DAViCalSession.php");
include("../inc/always.php");
include("DAViCalSession.php");
$session->LoginRequired();
require_once("interactive-page.php");
include("interactive-page.php");
$c->page_title = "DAViCal CalDAV Server - Configuration Help";
include("page-header.php");
?>
<h1>Help</h1>
<p>For initial help you should visit the <a href="http://rscds.sourceforge.net/">DAViCal Home Page</a>. If you can't
find the answers there, visit the #davical IRC channel on irc.oftc.net, send a question to the mailing list or
post your problem in the DAViCal forums on Sourceforge itself.</p>
<?php
$wiki_help = '';
if ( isset($_SERVER['HTTP_REFERER']) ) {
$wiki_help = preg_replace('#^.*/#', '', $_SERVER['HTTP_REFERER']);
$wiki_help = preg_replace('#\.php.*$#', '', $wiki_help);
$wiki_help = 'w/Help/'.$wiki_help;
}
$content = translate('<h1>Help</h1>
<p>For initial help you should visit the <a href="http://www.davical.org/" target="_blank">DAViCal Home Page</a> or take
a look at the <a href="http://wiki.davical.org/'.$wiki_help.'" target="_blank">DAViCal Wiki</a>.</p>
<p>If you can\'t find the answers there, visit us on <a href="http://wikipedia.org/wiki/Internet_Relay_Chat" target="_blank">IRC</a> in
the <b>#davical</b> channel on <a href="http://www.oftc.net/" target="_blank">irc.oftc.net</a>,
or send a question to the <a href="http://lists.sourceforge.net/mailman/listinfo/rscds-general" target="_blank">DAViCal Users mailing list</a>.</p>
<p>The <a href="http://sourceforge.net/mailarchive/forum.php?forum_id=8348" title="DAViCal Users Mailing List" target="_blank">mailing list
archives can be helpful too.</p>');
echo $content;
include("page-footer.php");
?>