mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Don't require login to see out of date packages from package search.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
22b50800e8
commit
aebf02aa8c
1 changed files with 9 additions and 6 deletions
|
@ -47,9 +47,13 @@ $K = urlencode($K);
|
||||||
</span></th>
|
</span></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php for ($i=0; $row = mysql_fetch_assoc($result); $i++) { (($i % 2) == 0) ? $c = "data1" : $c = "data2"; ?>
|
<?php
|
||||||
|
for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
|
||||||
|
(($i % 2) == 0) ? $c = "data1" : $c = "data2";
|
||||||
|
if ($row["OutOfDate"]): $c = "outofdate"; endif;
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<?php if ($SID): if ($row["OutOfDate"]): $c = "outofdate"; endif; ?>
|
<?php if ($SID): ?>
|
||||||
<td class='<?php print $c ?>'><input type='checkbox' name='IDs[<?php print $row["ID"] ?>]' value='1'></td>
|
<td class='<?php print $c ?>'><input type='checkbox' name='IDs[<?php print $row["ID"] ?>]' value='1'></td>
|
||||||
<?php endif; ?>
|
<?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["Location"] ?></span></span></td>
|
||||||
|
@ -114,10 +118,9 @@ $K = urlencode($K);
|
||||||
<?php print __("Showing results %s - %s of %s", $first, $last, $total) ?>
|
<?php print __("Showing results %s - %s of %s", $first, $last, $total) ?>
|
||||||
</span></span></td></tr>
|
</span></span></td></tr>
|
||||||
<td colspan='2' align='center'>
|
<td colspan='2' align='center'>
|
||||||
<span class='f5'>
|
<span class='f3'>
|
||||||
<?php if ($SID): ?>
|
<?php echo __('Legend') ?>
|
||||||
<span class="outofdate"><?php print __("Out of Date") ?></span>
|
<span class="outofdate"><?php print __('Out of Date') ?></span>
|
||||||
<?php endif; ?>
|
|
||||||
</span></td>
|
</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue