From bfccf041a3c9e34b760a0c96d44a2d1cc78e2a26 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sat, 24 Sep 2005 21:01:07 +0000 Subject: Remove 'size' column for the time being. --- usr/local/www/pkg_mgr.php | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 91169de..2a9f80a 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -31,33 +31,12 @@ require_once("guiconfig.inc"); require_once("pkg-utils.inc"); -if ($_POST) { - - $pconfig = $_POST; - - $retval = 0; - - if (!file_exists($d_sysrebootreqd_path)) { - config_lock(); - $retval |= filter_configure(); - config_unlock(); - } - $savemsg = get_std_save_message($retval); - - if ($retval == 0) { - if (file_exists($d_natconfdirty_path)) - unlink($d_natconfdirty_path); - if (file_exists($d_filterconfdirty_path)) - unlink($d_filterconfdirty_path); - } -} - $pkg_info = get_pkg_info('all', array('name', 'category', 'website', 'version', 'status', 'descr')); if($pkg_info) { $fout = fopen("{$g['tmp_path']}/pkg_info.cache", "w"); fwrite($fout, serialize($pkg_info)); fclose($fout); - $pkg_sizes = get_pkg_sizes(); + //$pkg_sizes = get_pkg_sizes(); } else { $using_cache = true; $savemsg = "Unable to retrieve package info from {$g['xmlrpcbaseurl']}. Cached data will be used."; @@ -96,7 +75,9 @@ include("fbegin.inc"); Package Name Category + Status Description @@ -128,15 +109,19 @@ include("fbegin.inc"); +
@@ -153,7 +138,7 @@ include("fbegin.inc");
There are currently no packages available for installation."; + echo '
There are currently no packages available for installation.
'; } } ?> @@ -165,4 +150,3 @@ include("fbegin.inc"); - -- cgit v1.1