diff --git a/html/index.php b/html/index.php index 698943d..02edfbc 100644 --- a/html/index.php +++ b/html/index.php @@ -42,6 +42,11 @@ $pages[2]['title'] = "supported protocols"; $pages[3]['nr'] = 3; $pages[3]['title'] = "supported routers"; +if ($debug) { + $pages[4]['nr'] = 4; +$pages[4]['title'] = "xml"; +} + $curpage = isset($_GET['page'])?$_GET['page']:0; $titleextra = $pages[$curpage]['title']; @@ -687,6 +692,8 @@ $main[] = $text; "
Remember, if your router isn't here, check the result of ddclient --help
"; $main[] = $text; +} else if ($page == 4) { // documentation + require("xml.php"); } ?> diff --git a/html/xml.php b/html/xml.php new file mode 100644 index 0000000..e69de29