summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2007-10-03 02:43:19 -0400
committerDan McGee <dan@archlinux.org>2008-01-19 23:49:10 -0600
commitda9d2b9e0db7a3c65a1a1945e82e724d04d7d631 (patch)
treefc8da552945dbdf692e2f7359fd6bbcca4153710 /web/lib/pkgfuncs.inc
parenta21b8c120958007fe45c80bcab6dee976d5c6d91 (diff)
downloadaurweb-da9d2b9e0db7a3c65a1a1945e82e724d04d7d631.tar.xz
Make "Out of Date" pkgs more NOTICABLE.
Includes a translation change. Why oh why would one conceive to put HTML markup into the translation? Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index c5e1719..eaced29 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -1121,7 +1121,7 @@ function pkg_search_page($SID="") {
if ($SID) {
print " <td class='".$c."'>";
if ($row["OutOfDate"]) {
- print "<span style='background-color: red'>";
+ $c = "outofdate";
}
print "<input type='checkbox' name='IDs[".$row["ID"]."]' value='1'>";
# if ($i == 0) {
@@ -1238,7 +1238,7 @@ function pkg_search_page($SID="") {
print " <td colspan='2' align='center'>";
print " <span class='f5'>\n";
if ($SID) {
- print " <font style='background-color: red'>".__("O%hut-of-Date", array('</font>'))."&nbsp;&nbsp;&nbsp;&nbsp;";
+ print ' <span class="outofdate">'.__("Out of Date").' </span>'."&nbsp;&nbsp;&nbsp;&nbsp;";
}
print ' <span class="green">'.__("Safe")."</span>\n";
print " </span></td>\n";