diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-13 15:27:28 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-14 17:58:55 +0200 |
commit | 5fb7a74e23b2059ec0c1acb72d8d804adbf05c52 (patch) | |
tree | ae04e34d7dd30bcd0bc913c910c4d9b9feb8a4ee /web/template/pkg_search_form.php | |
parent | 4c1bb8b7e510dd85b290f43c2439ca2f017d0dd6 (diff) | |
download | aur-5fb7a74e23b2059ec0c1acb72d8d804adbf05c52.tar.gz aur-5fb7a74e23b2059ec0c1acb72d8d804adbf05c52.tar.xz |
Replace categories with keywords
Remove package base categories. Instead, users can now specify up to
twenty custom keywords that are taken into consideration when searching.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkg_search_form.php')
-rw-r--r-- | web/template/pkg_search_form.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 683675b1..2d03cfa5 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -19,7 +19,6 @@ $outdated_flags = array( $sortby = array( 'n' => __('Name'), - 'c' => __('Category'), 'v' => __('Votes'), 'p' => __('Popularity'), 'w' => __('Voted'), @@ -45,19 +44,6 @@ $per_page = array(50, 100, 250); <fieldset> <legend><?= __('Enter search criteria') ?></legend> <div> - <label for="id_category"><?= __("Category"); ?></label> - <select name='C' id="id_category"> - <option value='0'><?= __("Any"); ?></option> - <?php foreach (pkgbase_categories() as $id => $cat): ?> - <?php if (isset($_REQUEST['C']) && $_REQUEST['C'] == $id): ?> - <option value="<?= $id ?>" selected="selected"><?= $cat; ?></option> - <?php else: ?> - <option value="<?= $id ?>"><?= $cat; ?></option> - <?php endif; ?> - <?php endforeach; ?> - </select> - </div> - <div> <label for="id_method"><?= __("Search by"); ?></label> <select name='SeB'> <?php foreach ($searchby as $k => $v): ?> |