summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimo <simo>2005-04-23 08:15:02 +0200
committersimo <simo>2005-04-23 08:15:02 +0200
commit07249c0fd985532180e8f412289d2c9e7fa3f4b3 (patch)
tree7222128ee3585cb6c47e560e86bb0e622b156c60
parentbce37d02bbf7e9dbc055cb5b19634cb3e9e3b9d8 (diff)
downloadaur-07249c0fd985532180e8f412289d2c9e7fa3f4b3.tar.gz
aur-07249c0fd985532180e8f412289d2c9e7fa3f4b3.tar.xz
Add color key to package listing page
Closes request #2640
-rw-r--r--web/lib/pkgfuncs.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 9e1a9128..bb049295 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -879,6 +879,12 @@ function pkg_search_page($SID="") {
print " <input type='submit' class='button' name='do_Less'";
print " value='&lt;-- ".__("Less")."'>\n";
print " </td>\n";
+ if ($SID) {
+ print " <td align='center'><span class='f5'>\n";
+ print " <font style='background-color: cyan'>O</font>rphan&nbsp;&nbsp;&nbsp;&nbsp;\n";
+ print " <font style='background-color: red'>O</font>ut-of-Date\n";
+ print " </span></td>\n";
+ }
print " <td align='right'>";
print " <input type='submit' class='button' name='do_More'";
print " value='".__("More")." --&gt;'>\n";