diff options
-rw-r--r-- | web/html/css/containers.css | 6 | ||||
-rw-r--r-- | web/lang/en/pkgfuncs_po.inc | 2 | ||||
-rw-r--r-- | web/lib/pkgfuncs.inc | 4 |
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>'))." "; + print ' <span class="outofdate">'.__("Out of Date").' </span>'." "; } print ' <span class="green">'.__("Safe")."</span>\n"; print " </span></td>\n"; |