summaryrefslogtreecommitdiff
path: root/pages/account/5.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2012-11-11 20:14:15 +0100
committerBenny Baumann <BenBE@geshi.org>2012-11-12 01:26:38 +0100
commit3ecae0b73b5a750e7853838b3bded110011536e5 (patch)
tree1e92ac90733e51761ae44c3a085c70a9cf181a29 /pages/account/5.php
parent7baaa9a0ac611329539a43031ca3d0e81bba2b5f (diff)
downloadcacert-devel-3ecae0b73b5a750e7853838b3bded110011536e5.tar.gz
cacert-devel-3ecae0b73b5a750e7853838b3bded110011536e5.tar.xz
cacert-devel-3ecae0b73b5a750e7853838b3bded110011536e5.zip
bug 782: Added a comment field to all certificate pages
Diffstat (limited to 'pages/account/5.php')
-rw-r--r--pages/account/5.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/pages/account/5.php b/pages/account/5.php
index 5c131ba..539f237 100644
--- a/pages/account/5.php
+++ b/pages/account/5.php
@@ -25,7 +25,8 @@
<td class="DataTD"><?=_("Renew/Revoke/Delete")?></td>
<td class="DataTD"><?=_("Status")?></td>
<td class="DataTD"><?=_("Email Address")?></td>
- <td class="DataTD"><?=_("SerialNumber")?></td>
+ <td class="DataTD"><?=_("SerialNumber")?></td>
+ <td class="DataTD"><?=_("Comment")?></td>
<td class="DataTD"><?=_("Revoked")?></td>
<td class="DataTD"><?=_("Expires")?></td>
<td class="DataTD"><?=_("Login")?></td>
@@ -40,8 +41,9 @@
`emailcerts`.`id`,
`emailcerts`.`CN`,
`emailcerts`.`serial`,
- emailcerts.disablelogin as `disablelogin`
- from `emailcerts`
+ emailcerts.disablelogin as `disablelogin`,
+ `emailcerts`.`description`
+ from `emailcerts`
where `emailcerts`.`memid`='".$_SESSION['profile']['id']."'
";
if($viewall != 1)
@@ -86,7 +88,8 @@
<td class="DataTD"><?=$verified?></td>
<td class="DataTD"><?=(trim($row['CN'])=="" ? _("empty") : $row['CN'])?></td>
<? } ?>
- <td class="DataTD"><?=$row['serial']?></td>
+ <td class="DataTD"><?=$row['serial']?></td>
+ <td class="DataTD"><?=$row['description']?></td>
<td class="DataTD"><?=$row['revoke']?></td>
<td class="DataTD"><?=$row['expires']?></td>
<td class="DataTD">