diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 5 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 7 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 1 |
3 files changed, 5 insertions, 8 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 837e338..c82e67f 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -72,11 +72,10 @@ include("fbegin.inc"); $version = file_get_contents("/etc/version"); $tab_array = array(); $tab_array[] = array("Available {$version} Packages", $requested_version <> "" ? false : true, "pkg_mgr.php"); - $tab_array[] = array("Packages with a different Version", $requested_version == "other" ? true : false, "pkg_mgr.php?ver=other"); $tab_array[] = array("Packages with no version info", $requested_version == "none" ? true : false, "pkg_mgr.php?ver=none"); $tab_array[] = array("Installed Packages", false, "pkg_mgr_installed.php"); display_top_tabs($tab_array); -?> +?> </td></tr> <tr> <td> @@ -158,7 +157,7 @@ include("fbegin.inc"); echo "Nobody. <a href='mailto:coreteam@pfsense.com'>Apply</a> for it!"; } ?> - </td> + </td> <td class="listbg" class="listbg" style="color: #FFFFFF; overflow: hidden;"> <?= $index['descr'] ?> </td> diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 709275b..6424a76 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -56,12 +56,11 @@ include("head.inc"); $version = file_get_contents("/etc/version"); $tab_array = array(); $tab_array[] = array("Available {$version} Packages", false, "pkg_mgr.php"); - $tab_array[] = array("Packages with a different Version", false, "pkg_mgr.php?ver=other"); $tab_array[] = array("Packages with no version info", false, "pkg_mgr.php?ver=none"); $tab_array[] = array("Installed Packages", false, "pkg_mgr_installed.php"); $tab_array[] = array("Package Installer", true, ""); display_top_tabs($tab_array); -?> +?> </td></tr> <tr> <td class="tabcont"> @@ -143,7 +142,7 @@ switch($_GET['mode']) { break; case "reinstallall": if($config['installedpackages']['package'] <> "") - foreach($config['installedpackages']['package'] as $package) + foreach($config['installedpackages']['package'] as $package) $todo[] = array('name' => $package['name'], 'version' => $package['version']); foreach($todo as $pkgtodo) { $static_output = ""; @@ -160,7 +159,7 @@ switch($_GET['mode']) { $status = install_package($_GET['id']); if($status == -1) { update_status("Installation of {$_GET['id']} FAILED!"); - $static_output .= "\n\nInstallation halted."; + $static_output .= "\n\nInstallation halted."; } else { update_status("Installation of {$_GET['id']} completed."); $static_output .= "\n\nInstallation completed."; diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index cde8631..4f6f160 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -51,7 +51,6 @@ include("head.inc"); $version = file_get_contents("/etc/version"); $tab_array = array(); $tab_array[] = array("Available {$version} Packages", false, "pkg_mgr.php"); - $tab_array[] = array("Packages with a different Version", false, "pkg_mgr.php?ver=other"); $tab_array[] = array("Packages with no version info", false, "pkg_mgr.php?ver=none"); $tab_array[] = array("Installed Packages", true, "pkg_mgr_installed.php"); display_top_tabs($tab_array); |