summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorsimo <simo>2005-12-27 05:59:00 +0000
committersimo <simo>2005-12-27 05:59:00 +0000
commit9178ccacd1b2144ead6760f0aab05c9ec2af483a (patch)
tree25f2d7c0c36d57d827906e03e16fc8bb362bcf10 /web/lib
parentadcf3cecd0071544a855dc72295f0f3fc9aab3cd (diff)
downloadaurweb-9178ccacd1b2144ead6760f0aab05c9ec2af483a.tar.xz
Change to dev-style orphan marking
Prevents out-of-date flag from being hidden
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index d339922..5999dc5 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -999,9 +999,6 @@ function pkg_search_page($SID="") {
if ($row["OutOfDate"]) {
print "<span style='background-color: red'>";
}
- if ($row["MaintainerUID"]==0 && $row["AURMaintainerUID"]==0) {
- print "<span style='background-color: cyan'>";
- }
print "<input type='checkbox' name='IDs[".$row["ID"]."]' value='1'>";
# if ($i == 0) {
# $all_ids = $row["ID"];
@@ -1068,7 +1065,9 @@ function pkg_search_page($SID="") {
if (isset($users[$row["MaintainerUID"]])) {
print $users[$row["MaintainerUID"]]["Username"];
} else {
- print __("None");
+ print "<span style='color: blue; font-style: italic;'>";
+ print __("orphan");
+ print "</span>";
$managed = 0;
}
print "</span></span></td>\n";
@@ -1111,8 +1110,7 @@ function pkg_search_page($SID="") {
print " <td colspan='2' align='center'>";
print " <span class='f5'>\n";
if ($SID) {
- print " <font style='background-color: cyan'>".__("O%hrphan", array('</font>'))."&nbsp;&nbsp;&nbsp;&nbsp;\n";
- print " <font style='background-color: red'>".__("O%hut-of-Date", array('</font>'))."&nbsp;&nbsp;&nbsp;&nbsp;";
+ print " <font style='background-color: red'>".__("O%hut-of-Date", array('</font>'))."&nbsp;&nbsp;&nbsp;&nbsp;";
}
print ' <span class="green">'.__("Safe")."</span>\n";
print " </span></td>\n";