mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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>
This commit is contained in:
parent
4c1bb8b7e5
commit
5fb7a74e23
11 changed files with 112 additions and 183 deletions
|
@ -32,7 +32,6 @@ if (!$result): ?>
|
|||
<?php if ($SID): ?>
|
||||
<th> </th>
|
||||
<?php endif; ?>
|
||||
<th><a href="?<?= mkurl('SB=c&SO=' . $SO_next) ?>"><?= __("Category") ?></a></th>
|
||||
<th><a href="?<?= mkurl('SB=n&SO=' . $SO_next) ?>"><?= __("Name") ?></a></th>
|
||||
<th><?= __("Version") ?></th>
|
||||
<th><a href="?<?= mkurl('SB=v&SO=' . $SO_next) ?>"><?= __("Votes") ?></a></th>
|
||||
|
@ -52,7 +51,6 @@ if (!$result): ?>
|
|||
<?php if ($SID): ?>
|
||||
<td><input type="checkbox" name="IDs[<?= $row["PackageBaseID"] ?>]" value="1" /></td>
|
||||
<?php endif; ?>
|
||||
<td><?= htmlspecialchars($row["Category"]) ?></td>
|
||||
<td><a href="<?= htmlspecialchars(get_pkg_uri($row["Name"]), ENT_QUOTES); ?>"><?= htmlspecialchars($row["Name"]) ?></a></td>
|
||||
<td<?php if ($row["OutOfDateTS"]): ?> class="flagged"<?php endif; ?>><?= htmlspecialchars($row["Version"]) ?></td>
|
||||
<td><?= $row["NumVotes"] ?></td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue