Debuginformation added.

git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@12 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
wimpunk 2006-06-19 10:23:50 +00:00
parent 0bf9df0a65
commit 5cdb05bfef

View file

@ -1,3 +1,4 @@
<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php <?php
@ -16,6 +17,16 @@ $link['download'] = '<a href="http://sourceforge.net/project/showfiles.php?group
$link['developers'] = "<a href=\"http://sourceforge.net/project/memberlist.php?group_id=116817\" ". $link['developers'] = "<a href=\"http://sourceforge.net/project/memberlist.php?group_id=116817\" ".
"title=\"link to the ddclient developers\">developers for ddclient on sourceforge</a>"; "title=\"link to the ddclient developers\">developers for ddclient on sourceforge</a>";
// Setting debugshit
if (isset($_REQUEST['debug'])) {
$debug = !($_REQUEST['debug'] == 0);
} else if (isset($_SESSION['debug'])) {
$debug = $_SESSION['debug'];
} else {
$debug = 0;
}
$_SESSION['debug'] = $debug;
// pages information; should be in a database // pages information; should be in a database
// main // main
@ -31,6 +42,7 @@ $pages[2]['title'] = "supported protocols";
$pages[3]['nr'] = 3; $pages[3]['nr'] = 3;
$pages[3]['title'] = "supported routers"; $pages[3]['title'] = "supported routers";
$curpage = isset($_GET['page'])?$_GET['page']:0; $curpage = isset($_GET['page'])?$_GET['page']:0;
$titleextra = $pages[$curpage]['title']; $titleextra = $pages[$curpage]['title'];
$page = $pages[$curpage]['nr']; $page = $pages[$curpage]['nr'];