Code

Removed serial number
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 11 Jun 2005 16:03:27 +0000 (16:03 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 11 Jun 2005 16:03:27 +0000 (16:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@679 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index ab8d5d69d9c57cf60bb9e5ad9053ecf43165f8d1..41185d617d68e9ced1a670746694e1977ef02809 100644 (file)
@@ -392,8 +392,7 @@ class user extends plugin
           /* Read out data*/
           $timeto   = $certificate->getvalidto_date();
           $timefrom = $certificate->getvalidfrom_date();
-          $str = "<table border=0><tr><td style='vertical-align:top'>CN</td><td>".preg_replace("/ /", "&nbsp;", $certificate->getname())."</td></tr>".
-                  "<tr><td>"._("Serial")."</td><td>#".$certificate->getSerialNumber()."</td></tr></table><br>".
+          $str = "<table border=0><tr><td style='vertical-align:top'>CN</td><td>".preg_replace("/ /", "&nbsp;", $certificate->getname())."</td></tr></table><br>".
                   sprintf(_("Certificate is valid from <b>%s</b> to <b>%s</b> and is currently <b>%s</b>."), date('d M Y',$timefrom),date('d M Y',$timeto), $certificate->isvalid()?"<font style='color:green'>"._("valid")."</font>":"<font style='color:red'>"._("invalid")."</font>");
           $smarty->assign($cert."info",$str);
           $smarty->assign($cert."_state","true");