From 439da2334eb58df4bbd50093684e711afd76232f Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 25 Apr 2013 16:21:08 -0300 Subject: Fix whitespaces and indent --- config/unbound/unbound_status.php | 54 +++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'config/unbound/unbound_status.php') diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php index d011b109..0a1eae13 100644 --- a/config/unbound/unbound_status.php +++ b/config/unbound/unbound_status.php @@ -40,11 +40,11 @@ $pgtitle = "Services: Unbound DNS Forwarder: Status"; include("head.inc"); function doCmdT($title, $command, $rows) { - echo "

\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "
" . $title . "
\n"; + echo "\n"; + echo "\n"; } /* Execute a command, giving it a title which is the same as the command. */ function doCmd($command) { - doCmdT($command,$command); + doCmdT($command,$command); } /* Define a command, with a title, to be executed later. */ function defCmdT($title, $command, $rows = "20") { - global $commands; - $title = htmlspecialchars($title,ENT_NOQUOTES); - $commands[] = array($title, $command, $rows); + global $commands; + $title = htmlspecialchars($title,ENT_NOQUOTES); + $commands[] = array($title, $command, $rows); } /* Define a command, with a title which is the same as the command, * to be executed later. */ function defCmd($command) { - defCmdT($command,$command); + defCmdT($command,$command); } /* List all of the commands as an index. */ function listCmds() { - global $commands; - echo "

" . gettext("This status page includes the following information") . ":\n"; - echo "

\n"; + global $commands; + echo "

" . gettext("This status page includes the following information") . ":\n"; + echo "

\n"; } /* Execute all of the commands which were defined by a call to defCmd. */ function execCmds() { - global $commands; - for ($i = 0; isset($commands[$i]); $i++ ) { - doCmdT($commands[$i][0], $commands[$i][1], $commands[$i][2]); - } + global $commands; + for ($i = 0; isset($commands[$i]); $i++ ) { + doCmdT($commands[$i][0], $commands[$i][1], $commands[$i][2]); + } } ?> @@ -135,8 +135,8 @@ function execCmds() { - - + - + +
+
-
-- cgit v1.2.3