Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Andersson
aurweb
Commits
aebf02aa
Commit
aebf02aa
authored
Dec 22, 2008
by
Loui Chang
Committed by
Callan Barrett
Dec 22, 2008
Browse files
Don't require login to see out of date packages from package search.
Signed-off-by:
Loui Chang
<
louipc.ist@gmail.com
>
parent
22b50800
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/template/pkg_search_results.php
View file @
aebf02aa
...
...
@@ -47,9 +47,13 @@ $K = urlencode($K);
</span></th>
</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>
<?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>
<?php
endif
;
?>
<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
)
?>
</span></span></td></tr>
<td
colspan=
'2'
align=
'center'
>
<span
class=
'f5'
>
<?php
if
(
$SID
)
:
?>
<span
class=
"outofdate"
>
<?php
print
__
(
"Out of Date"
)
?>
</span>
<?php
endif
;
?>
<span
class=
'f3'
>
<?php
echo
__
(
'Legend'
)
?>
<span
class=
"outofdate"
>
<?php
print
__
(
'Out of Date'
)
?>
</span>
</span></td>
</tr>
<tr>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment