Added xml.php for debugging

git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@13 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
wimpunk 2006-06-19 10:28:43 +00:00
parent 5cdb05bfef
commit d29bee992f
2 changed files with 7 additions and 0 deletions

View file

@ -42,6 +42,11 @@ $pages[2]['title'] = "supported protocols";
$pages[3]['nr'] = 3; $pages[3]['nr'] = 3;
$pages[3]['title'] = "supported routers"; $pages[3]['title'] = "supported routers";
if ($debug) {
$pages[4]['nr'] = 4;
$pages[4]['title'] = "xml";
}
$curpage = isset($_GET['page'])?$_GET['page']:0; $curpage = isset($_GET['page'])?$_GET['page']:0;
$titleextra = $pages[$curpage]['title']; $titleextra = $pages[$curpage]['title'];
@ -687,6 +692,8 @@ $main[] = $text;
"<p>Remember, if your router isn't here, check the result of ddclient --help</p>"; "<p>Remember, if your router isn't here, check the result of ddclient --help</p>";
$main[] = $text; $main[] = $text;
} else if ($page == 4) { // documentation
require("xml.php");
} }
?> ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-AU"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-AU">

0
html/xml.php Normal file
View file