Fix identification of externally downloaded awards in the awards list

This commit is contained in:
james 2010-02-12 16:46:05 +00:00
parent 71509f3f16
commit b2c6729def
3 changed files with 7 additions and 3 deletions

View File

@ -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 "<tr class=\"$cl awardlist_tr\" id=\"{$r->id}\" >\n";
echo " <td id=\"awardlist_order_{$r->id}\" class=\"drag_handle\" style=\"cursor:move; text-align:right;\">{$r->order}</td>\n";

View File

@ -246,8 +246,8 @@ hr {
}
tr.externalaward {
background-color: #CCCCDD;
font-style: italic;
color: #0000AA;
}
.adminconfigtable {

View File

@ -246,8 +246,8 @@ hr {
}
tr.externalaward {
background-color: #CCCCDD;
font-style: italic;
color: #0000AA;
}
.adminconfigtable {