From bf5b29ec40782ab91554796f45822c14a7e020bd Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Wed, 3 Apr 2013 19:58:15 +0100 Subject: Tidy up "pkg_mgr.php" XHTML Add closehead variable, move scripts into HEAD and manaully close head. Close BR tags Deprecate ampersand in ANCHOR tags Change target in ANCHOR tags to "_blank" --- usr/local/www/pkg_mgr.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'usr/local/www/pkg_mgr.php') diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 01c26e2..bfb6d46 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -90,6 +90,7 @@ if (! empty($_GET)) if (isset($_GET['ver'])) $requested_version = htmlspecialchars($_GET['ver']); +$closehead = false; $pgtitle = array(gettext("System"),gettext("Package Manager")); include("head.inc"); @@ -99,13 +100,15 @@ include("head.inc"); + + - +
- +
- + - "; + echo ""; } } ?> -- cgit v1.1
  
> - + @@ -222,7 +225,7 @@ include("head.inc"); if ($g['disablepackagehistory']) echo"{$index['version']}"; else - echo "{$index['version']}"; + echo "{$index['version']}"; ?>
@@ -232,18 +235,18 @@ include("head.inc");
> -

- +

+
- ')" href="pkg_mgr_install.php?id="> src="./themes//images/icons/icon_plus.gif" width="17" height="17" border="0"> + + ')" href="pkg_mgr_install.php?id="> src="./themes//images/icons/icon_plus.gif" width="17" height="17" border="0" alt="add" />
" . gettext("There are currently no packages available for installation.") . "
" . gettext("There are currently no packages available for installation.") . "