From d9555fc55909e70fc4df7f49a094d71fa3f3a482 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Fri, 18 Apr 2014 23:08:43 +0100 Subject: [PATCH] Tidy up "services_ntpd" XHTML Add "closehead" PHP variable and manually close HEAD Add CDATA sections to SCRIPTS Closing IMG tag and add ALT Change "onclick" to lower case Add SUMMARY to tables Close INPUT tags Update HTML Boolean operators Remove closing anchor tag from INPUT tag --- usr/local/www/services_ntpd.php | 68 ++++++++++++++++----------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php index 4012ed94ae..f3b8c72f64 100644 --- a/usr/local/www/services_ntpd.php +++ b/usr/local/www/services_ntpd.php @@ -168,7 +168,7 @@ if ($_POST) { } } - +$closehead = false; $pconfig = &$config['ntpd']; $pgtitle = array(gettext("Services"),gettext("NTP")); $shortcut_section = "ntp"; @@ -177,7 +177,7 @@ include("head.inc"); ?> - + @@ -222,7 +222,7 @@ include("head.inc"); - +
- +
@@ -254,7 +254,7 @@ include("head.inc"); $interfaces[$aliasip] = $aliasip." (".get_vip_descr($aliasip).")"; $size = (count($interfaces) < 10) ? count($interfaces) : 10; ?> - $ifacename) { if (!is_ipaddr(get_interface_ip($iface)) && !is_ipaddr($iface)) @@ -286,17 +286,17 @@ include("head.inc"); } echo ">\n"; - echo " "; - echo "\n prefer '; - echo "\n noselect\n
\n\n"; + echo " "; + echo "\n prefer "; + echo "\n noselect\n
\n\n"; } ?>
- " OnClick="NewTimeServer()"> + " onclick="NewTimeServer()" alt="add" />

@@ -309,14 +309,14 @@ include("head.inc"); @@ -325,10 +325,10 @@ include("head.inc"); @@ -336,18 +336,18 @@ include("head.inc"); @@ -356,27 +356,27 @@ include("head.inc"); @@ -385,7 +385,7 @@ include("head.inc");
Orphan mode -
+
NTP graphs - > + />
( System Logs > NTP"); ?>).

- > + />
- > + />
Statistics logging
- " /> - + " /> -
Access restrictions
- " /> - + " /> -
Leap seconds
- " /> - + " /> -
  - "> + " />