summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-20 23:48:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-20 23:48:56 +0000
commit5bd874650abedbcfe990fd7060e4e8576b2eb91b (patch)
tree8bab004917c272866d7d01e1dc67bd234b0d2578 /usr/local/www
parent61a48553f2397799c8792c65ca2ae7c0eaf2a866 (diff)
downloadpfsense-5bd874650abedbcfe990fd7060e4e8576b2eb91b.zip
pfsense-5bd874650abedbcfe990fd7060e4e8576b2eb91b.tar.gz
Remove packages with a different version tab
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/pkg_mgr.php5
-rwxr-xr-xusr/local/www/pkg_mgr_install.php7
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php1
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);
OpenPOWER on IntegriCloud