From 8ea5a3e981ca3e1324c688c77b9727cb2a4df907 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Wed, 6 Feb 2013 17:05:09 +0000 Subject: Update HTML code in System Patches Close off the head statement and move the scripts and style sheets inside the head statment, close the BR, INPUT and IMG tags add ALT to IMG tags and SUMMARY to TABLES --- config/systempatches/system_patches.php | 72 ++++++++++++++-------------- config/systempatches/system_patches_edit.php | 38 +++++++-------- config/systempatches/systempatches.xml | 2 +- 3 files changed, 57 insertions(+), 55 deletions(-) (limited to 'config/systempatches') diff --git a/config/systempatches/system_patches.php b/config/systempatches/system_patches.php index 2cb6abf9..1dd6470b 100644 --- a/config/systempatches/system_patches.php +++ b/config/systempatches/system_patches.php @@ -71,10 +71,10 @@ if (($_GET['act'] == "fetch") && ($a_patches[$_GET['id']])) { } if (($_GET['act'] == "test") && ($a_patches[$_GET['id']])) { $savemsg = patch_test_apply($a_patches[$_GET['id']]) ? gettext("Patch can be applied cleanly") : gettext("Patch can NOT be applied cleanly"); - $savemsg .= " (" . gettext("detail") . ")"; + $savemsg .= " (" . gettext("detail") . ")"; $savemsg .= empty($savemsg) ? "" : "
"; $savemsg .= patch_test_revert($a_patches[$_GET['id']]) ? gettext("Patch can be reverted cleanly") : gettext("Patch can NOT be reverted cleanly"); - $savemsg .= " (" . gettext("detail") . ")"; + $savemsg .= " (" . gettext("detail") . ")"; } if (($_GET['fulltest']) && ($a_patches[$_GET['id']])) { if ($_GET['fulltest'] == "apply") { @@ -144,24 +144,26 @@ if (isset($_POST['del_x'])) { } } +$closehead = false; $pgtitle = array(gettext("System"),gettext("Patches")); include("head.inc"); -echo ""; -echo ""; -echo ""; -echo ""; - ?> - + + + + + + +
- +
- +


@@ -183,15 +185,15 @@ echo " - - + - +
+ +
+ +
+ +
@@ -181,13 +181,13 @@ include("fbegin.inc"); ?> + +
@@ -196,7 +196,7 @@ include("fbegin.inc"); ?> @@ -209,10 +209,10 @@ include("fbegin.inc"); ?> diff --git a/config/systempatches/systempatches.xml b/config/systempatches/systempatches.xml index 3730c84f..3802ba58 100644 --- a/config/systempatches/systempatches.xml +++ b/config/systempatches/systempatches.xml @@ -40,7 +40,7 @@ NoneApplies patches supplied by the user to the firewall.System Patches - 0.5 + 0.5.1System: Patches Patches -- cgit v1.2.3
- -
- -
- -
- -
- > + />
- > + />
  - "> " onclick="history.back()"> + " /> " onclick="history.back()" /> - - + +