From 4a76b802bab8c8c38b8a366b9ba4c99d87cb6d4c Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Wed, 3 Apr 2013 17:45:26 +0100 Subject: Tidy up "system_firmware_settings.php" XHTML Add closehead variable and move SCRIPT into HEAD Add CDATA section to SCRIPT tags Close BR and INPUT tags --- usr/local/www/system_firmware_settings.php | 42 +++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'usr') diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 7399f1b..f127a9d 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -77,6 +77,7 @@ $curcfg = $config['system']['firmware']; $gitcfg = $config['system']['gitsync']; $pgtitle = array(gettext("System"),gettext("Firmware"),gettext("Settings")); +$closehead = false; include("head.inc"); exec("/usr/bin/fetch -q -o /tmp/manifest \"{$g['update_manifest']}\""); @@ -85,8 +86,8 @@ if(file_exists("/tmp/manifest")) { } ?> - + @@ -107,7 +109,7 @@ function enable_altfirmwareurl(enable_over) {
- +
-
- +
+ @@ -130,7 +132,7 @@ function enable_altfirmwareurl(enable_over) { @@ -175,7 +177,7 @@ function enable_altfirmwareurl(enable_over) { @@ -183,7 +185,7 @@ function enable_altfirmwareurl(enable_over) { @@ -198,7 +200,7 @@ function enable_altfirmwareurl(enable_over) { @@ -214,7 +216,7 @@ function enable_altfirmwareurl(enable_over) { - +
- - >
- - + />
+
+
-

+

- /> + />
- /> + />
- /> + />
- +
@@ -240,7 +242,7 @@ function enable_altfirmwareurl(enable_over) {
- +
@@ -253,11 +255,15 @@ function enable_altfirmwareurl(enable_over) {
  - "> + " />
-- cgit v1.1