From b2c6729def3b243d6ea320cdb8d5896b233eb8b0 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 12 Feb 2010 16:46:05 +0000 Subject: [PATCH] Fix identification of externally downloaded awards in the awards list --- admin/award_awards.php | 6 +++++- theme/classic/sfiab.css | 2 +- theme/default/sfiab.css | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/admin/award_awards.php b/admin/award_awards.php index a89a80d..d03b6f9 100644 --- a/admin/award_awards.php +++ b/admin/award_awards.php @@ -1011,7 +1011,11 @@ if(mysql_num_rows($q)) $hasexternal=false; while($r=mysql_fetch_object($q)) { - $cl = ($r->award_source_fairs_id) ? externalaward : ''; + if($r->award_source_fairs_id) { + $cl="externalaward"; + $hasexternal=true; + } + else $cl=""; $eh = "style=\"cursor:pointer;\" onclick=\"popup_editor({$r->id},'');\""; echo "id}\" >\n"; echo " id}\" class=\"drag_handle\" style=\"cursor:move; text-align:right;\">{$r->order}\n"; diff --git a/theme/classic/sfiab.css b/theme/classic/sfiab.css index 3928a54..1e1fa04 100644 --- a/theme/classic/sfiab.css +++ b/theme/classic/sfiab.css @@ -246,8 +246,8 @@ hr { } tr.externalaward { - background-color: #CCCCDD; font-style: italic; + color: #0000AA; } .adminconfigtable { diff --git a/theme/default/sfiab.css b/theme/default/sfiab.css index 3928a54..1e1fa04 100644 --- a/theme/default/sfiab.css +++ b/theme/default/sfiab.css @@ -246,8 +246,8 @@ hr { } tr.externalaward { - background-color: #CCCCDD; font-style: italic; + color: #0000AA; } .adminconfigtable {