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>
This commit is contained in:
Loui Chang 2007-10-03 02:43:19 -04:00 committed by Dan McGee
parent a21b8c1209
commit da9d2b9e0d
3 changed files with 9 additions and 3 deletions

View file

@ -179,6 +179,12 @@
padding-left: .3em;
text-align: left;
}
.outofdate
{
background-color: #faa;
padding-left: .3em;
text-align: left;
}
td.text
{
color: #000;

View file

@ -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";

View file

@ -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";