diff -r 7be4525290cc -r 2ff220cfde13 inc/toolkit.inc.php --- a/inc/toolkit.inc.php Sun Apr 22 16:27:45 2007 +0000 +++ b/inc/toolkit.inc.php Mon Jun 04 18:43:11 2007 +0000 @@ -1,27 +1,5 @@ trancer nl> | -// | Sjeemz sjeemz nl> | -// +--------------------------------------------------------------------+ - -// Filename: toolkit.inc.php -// Startdate: 26-10-2002 -// Description: general functions needed on a large variety of locations. -// Kills the db.inc.php. -// If you include this file you include the whole 'backend' -// -// $Id: toolkit.inc.php,v 1.13 2003/02/24 01:46:31 azurazu Exp $ -// /************* * Constants * @@ -64,6 +42,11 @@ require_once("database.inc.php"); // Generates $db variable to access database. + +// Array of the available zone types +$server_types = array("MASTER", "SLAVE", "NATIVE"); + + /************* * Includes * *************/ @@ -88,7 +71,7 @@ { if ($amount > $rowamount) { if (!isset($_GET["start"])) $_GET["start"]=1; - echo "

" . _('Show page') . " "; + echo _('Show page') . "
"; for ($i=1;$i<=ceil($amount / $rowamount);$i++) { if ($_GET["start"] == $i) { echo "[ ".$i." ] "; @@ -98,7 +81,6 @@ echo "\">".$i." ] "; } } - echo ""; } } @@ -116,7 +98,7 @@ } } - echo _('Show domains beginning with:') . "
"; + echo _('Show zones beginning with:') . "
"; if ($letterstart == 1) { echo "[ 0-9 ] "; } elseif ($letter_taken["0"] != 1) { @@ -127,9 +109,9 @@ foreach (range('a','z') as $letter) { if ($letterstart === $letter) { - echo "[ ".$letter." ] "; + echo "[ ".$letter." ] "; } elseif ($letter_taken[$letter] != 1) { - echo "[ ".$letter." ] "; + echo "[ ".$letter." ] "; } else { echo "[ ".$letter." ] "; } @@ -146,9 +128,8 @@ { include_once("header.inc.php"); ?> -

-
-

<<

+

+