From 6bd30fedf3c98ce3e42f0f159e6db224cee998ad Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Sat, 17 May 2014 17:47:47 +0100 Subject: Tidy up "diag_smart.php" XHTML Add PHP "closehead" variable Add CDATA sections and TYPE to STYLE tag Add SUMMARY to TABLES Update HTML Boolean operators Tidy up OPTION tags --- usr/local/www/diag_smart.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/usr/local/www/diag_smart.php b/usr/local/www/diag_smart.php index d2309e6..f024589 100644 --- a/usr/local/www/diag_smart.php +++ b/usr/local/www/diag_smart.php @@ -20,12 +20,12 @@ $valid_test_types = array("offline", "short", "long", "conveyance"); $valid_info_types = array("i", "H", "c", "A", "a"); $valid_log_types = array("error", "selftest"); - +$closehead = false; include("head.inc"); ?> - @@ -207,7 +207,7 @@ switch($action) { ?> - +
- +
@@ -246,7 +246,7 @@ switch($action) { -
+
@@ -279,7 +279,7 @@ switch($action) { // Get all AD* and DA* (IDE and SCSI) devices currently installed and stores them in the $devs array exec("ls /dev | grep '^\(ad\|da\|ada\)[0-9]\{1,2\}$'", $devs); ?> -
+
- +
@@ -302,7 +302,7 @@ switch($action) {

-
+



@@ -315,7 +315,7 @@ switch($action) { " . $dev . ""; + echo ""; } ?> @@ -333,7 +333,7 @@ switch($action) {
- +
@@ -342,7 +342,7 @@ switch($action) { @@ -354,7 +354,7 @@ switch($action) { " . $dev; + echo ""; } ?> @@ -372,7 +372,7 @@ switch($action) { -

-
+


+
@@ -380,7 +380,7 @@ switch($action) { @@ -391,7 +391,7 @@ switch($action) { " . $dev; + echo ""; } ?> @@ -409,7 +409,7 @@ switch($action) { -
-
+

+
@@ -421,7 +421,7 @@ switch($action) { " . $dev; + echo ""; } ?> -- cgit v1.1