summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-02-25 23:38:30 +0100
committerINOPIAE <inopiae@cacert.org>2014-02-25 23:38:30 +0100
commit4e222feac0a78351b68ece5a329941f2a790ae79 (patch)
tree6018e77bad675c7baf08b508fc0acdcd56538e99
parent86a396cb107eaaac729728e58a0f714e6ee70d05 (diff)
downloadcacert-devel-4e222feac0a78351b68ece5a329941f2a790ae79.tar.gz
cacert-devel-4e222feac0a78351b68ece5a329941f2a790ae79.tar.xz
cacert-devel-4e222feac0a78351b68ece5a329941f2a790ae79.zip
bug 1138: implemented css classes in notary
-rw-r--r--includes/notary.inc.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 0695450..1e48d85 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -1395,19 +1395,19 @@ function output_log_email_header(){
* @return
*/
function output_log_email($row,$primary){
- $italic='';
- $bold='';
+ $primaryemailaddress='';
+ $deletedemailaddress='';
if ($row['deleted'] > 0) {
- $italic=' italic';
+ $deletedemailaddress='deletedemailaddress ';
}
if ($primary==$row['email'] && $row['deleted'] == 0) {
- $bold= ' bold';
+ $primaryemailaddress= 'primaryemailaddress ';
}
?>
<tr>
- <td class="DataTD<?= $bold . $italic ?>"><?=$row['email']?></td>
- <td class="DataTD<?= $bold . $italic ?>"><?=$row['created']?></td>
- <td class="DataTD<?= $bold . $italic ?>"><?=$row['deleted']?></td>
+ <td class="DataTD<?= $primaryemailaddress . $deletedemailaddress ?>"><?=$row['email']?></td>
+ <td class="DataTD<?= $primaryemailaddress . $deletedemailaddress ?>"><?=$row['created']?></td>
+ <td class="DataTD<?= $primaryemailaddress . $deletedemailaddress ?>"><?=$row['deleted']?></td>
</tr>
<?
}