mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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 <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
492c8c668f
commit
7f5af61c88
11 changed files with 62 additions and 189 deletions
|
@ -15,9 +15,6 @@
|
|||
<th style='border-bottom: #666 1px solid; vertical-align: bottom'> </th>
|
||||
<?php endif; ?>
|
||||
|
||||
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'>
|
||||
<a href='?<?php print mkurl('SB=l&SO=' . $SO_next) ?>'><?php print __("Location") ?></a>
|
||||
</span></th>
|
||||
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'>
|
||||
<a href='?<?php print mkurl('SB=c&SO=' . $SO_next) ?>'><?php print __("Category") ?></a>
|
||||
</span></th>
|
||||
|
@ -52,7 +49,6 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
|
|||
<?php if ($SID): ?>
|
||||
<td class='<?php print $c ?>'><input type='checkbox' name='IDs[<?php print $row["ID"] ?>]' value='1'></td>
|
||||
<?php endif; ?>
|
||||
<td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print $row["Location"] ?></span></span></td>
|
||||
<td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print $row["Category"] ?></span></span></td>
|
||||
<td class='<?php print $c ?>'><span class='f4'><a href='packages.php?ID=<?php print $row["ID"] ?>'><span class='black'><?php print $row["Name"] ?> <?php print $row["Version"] ?></span></a></span></td>
|
||||
<td class='<?php print $c ?>' style="text-align: right"><span class='f5'><span class='blue'><?php print $row["NumVotes"] ?></span></span></td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue