summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-09-28 05:05:36 +0200
committerMichael Tänzer <neo@nhng.de>2011-09-28 05:05:36 +0200
commitd151f600b5601e9ca84b18d360a1aebbf4a7d0f7 (patch)
tree0bec33bba3e7b0904c63183d93961a2c597611fe /includes
parent4861134ce06ef2d784cf981a5519c392a45f8136 (diff)
downloadcacert-devel-d151f600b5601e9ca84b18d360a1aebbf4a7d0f7.tar.gz
cacert-devel-d151f600b5601e9ca84b18d360a1aebbf4a7d0f7.tar.xz
cacert-devel-d151f600b5601e9ca84b18d360a1aebbf4a7d0f7.zip
bug 827: color the emphasized rows
Patch supplied by Uli60 Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes')
-rw-r--r--includes/wot.inc.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index 3cbafcb..9cc100d 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -231,6 +231,7 @@
function output_assurances_row($assuranceid,$date,$name,$awarded,$points,$location,$method,$experience)
{
+ $tdstyle="";
$emopen="";
$emclose="";
@@ -238,6 +239,7 @@
{
if ($awarded == "0")
{
+ $tdstyle="style='background-color: #ffff80'";
$emopen="<em>";
$emclose="</em>";
}
@@ -245,13 +247,13 @@
?>
<tr>
- <td class="DataTD"><?=$emopen?><?=$assuranceid?><?=$emclose?></td>
- <td class="DataTD"><?=$emopen?><?=$date?><?=$emclose?></td>
- <td class="DataTD"><?=$emopen?><?=$name?><?=$emclose?></td>
- <td class="DataTD"><?=$emopen?><?=$awarded?><?=$emclose?></td>
- <td class="DataTD"><?=$emopen?><?=$location?><?=$emclose?></td>
- <td class="DataTD"><?=$emopen?><?=$method?><?=$emclose?></td>
- <td class="DataTD"><?=$emopen?><?=$experience?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$assuranceid?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$date?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$name?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$awarded?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$location?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$method?><?=$emclose?></td>
+ <td class="DataTD" <?=$tdstyle?>><?=$emopen?><?=$experience?><?=$emclose?></td>
</tr>
<?
}