bug 1138: implemented css classes in notary
authorINOPIAE <inopiae@cacert.org>
Tue, 25 Feb 2014 22:38:30 +0000 (23:38 +0100)
committerINOPIAE <inopiae@cacert.org>
Tue, 25 Feb 2014 22:38:30 +0000 (23:38 +0100)
includes/notary.inc.php

index 0695450..1e48d85 100644 (file)
@@ -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>
        <?
 }