From da9d2b9e0db7a3c65a1a1945e82e724d04d7d631 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Wed, 3 Oct 2007 02:43:19 -0400 Subject: 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 --- web/html/css/containers.css | 6 ++++++ web/lang/en/pkgfuncs_po.inc | 2 +- web/lib/pkgfuncs.inc | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'web') 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 " "; if ($row["OutOfDate"]) { - print ""; + $c = "outofdate"; } print ""; # if ($i == 0) { @@ -1238,7 +1238,7 @@ function pkg_search_page($SID="") { print " "; print " \n"; if ($SID) { - print " ".__("O%hut-of-Date", array(''))."    "; + print ' '.__("Out of Date").' '."    "; } print ' '.__("Safe")."\n"; print " \n"; -- cgit v1.2.3-70-g09d2