From 7f5af61c884b53a75a2b7f8b5146465f14a71f6b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 31 Jan 2011 11:18:15 -0600 Subject: Drop PackageLocations table and references We don't need this anymore since all packages managed here are well...managed here. Rip out all of the places we were using this field, many of which depended on the magic value '2' anyway. On the display side of things, we had a column that was always showing 'unsupported' that is now gone, and you can no longer sort by this column. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 22 +++++++++------------- web/template/pkg_search_form.php | 2 +- web/template/pkg_search_results.php | 4 ---- 3 files changed, 10 insertions(+), 18 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 8aba3afa..c1c3e96f 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -1,13 +1,13 @@ \n"; $edit_cat.= ""; - $edit_cat.= $row['Location']." :: "; + $edit_cat.= "Category: "; $edit_cat.= " __('Name'), 'c' => __('Category'), 'l' => __('Location'), 'v' => __('Votes'), 'w' => __('Voted'), 'o' => __('Notify'), 'm' => __('Maintainer'), 'a' => __('Age')); + $sortby = array('n' => __('Name'), 'c' => __('Category'), 'v' => __('Votes'), 'w' => __('Voted'), 'o' => __('Notify'), 'm' => __('Maintainer'), 'a' => __('Age')); foreach ($sortby as $k => $v): if ($_REQUEST['SB'] == $k): ?> diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index b8f2e14b..4830ca85 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -15,9 +15,6 @@   - - '> - '> @@ -52,7 +49,6 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { - -- cgit v1.2.3-24-g4f1b