mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Move package actions to package bases
Package actions now operate on package bases instead of packages. Move all actions to the correct locations. This also fixes some issues with comment notifications. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
c1c77836a8
commit
f461344211
11 changed files with 175 additions and 171 deletions
|
@ -28,7 +28,7 @@ if (!$result): ?>
|
|||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<form id="pkglist-results-form" method="post" action="<?= get_uri('/packages/'); ?>?<?= htmlentities($_SERVER['QUERY_STRING']) ?>">
|
||||
<form id="pkglist-results-form" method="post" action="<?= get_uri('/pkgbase/'); ?>?<?= htmlentities($_SERVER['QUERY_STRING']) ?>">
|
||||
<table class="results">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -52,7 +52,7 @@ if (!$result): ?>
|
|||
<?php while (list($indx, $row) = each($searchresults)): ?>
|
||||
<tr class="<?= ($indx % 2 == 0) ? 'odd' : 'even' ?>">
|
||||
<?php if ($SID): ?>
|
||||
<td><input type="checkbox" name="IDs[<?= $row["ID"] ?>]" value="1" /></td>
|
||||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue