summaryrefslogtreecommitdiffstats
path: root/web
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
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')
-rw-r--r--web/html/css/containers.css6
-rw-r--r--web/lang/en/pkgfuncs_po.inc2
-rw-r--r--web/lib/pkgfuncs.inc4
3 files changed, 9 insertions, 3 deletions
diff --git a/web/html/css/containers.css b/web/html/css/containers.css
index 86ba430..3443f1a 100644
--- a/web/html/css/containers.css
+++ b/web/html/css/containers.css
@@ -179,6 +179,12 @@
padding-left: .3em;
text-align: left;
}
+ .outofdate
+ {
+ background-color: #faa;
+ padding-left: .3em;
+ text-align: left;
+ }
td.text
{
color: #000;
diff --git a/web/lang/en/pkgfuncs_po.inc b/web/lang/en/pkgfuncs_po.inc
index 634f45a..7dde5fb 100644
--- a/web/lang/en/pkgfuncs_po.inc
+++ b/web/lang/en/pkgfuncs_po.inc
@@ -95,7 +95,7 @@ $_t["en"]["Search Criteria"] = "Search Criteria";
$_t["en"]["Notify"] = "Notify";
-$_t["en"]["O%hut-of-Date"] = "O%hut-of-Date";
+$_t["en"]["Out of Date"] = "Out of Date";
$_t["en"]["Vote"] = "Vote";
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";