summaryrefslogtreecommitdiff
path: root/pages/account/18.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/18.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/18.php')
-rw-r--r--pages/account/18.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/pages/account/18.php b/pages/account/18.php
index 13dcc30..45e3be9 100644
--- a/pages/account/18.php
+++ b/pages/account/18.php
@@ -25,7 +25,8 @@
<td class="DataTD"><?=_("Renew/Revoke/Delete")?></td>
<td class="DataTD"><?=_("Status")?></td>
<td class="DataTD"><?=_("CommonName")?></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>
@@ -35,7 +36,8 @@
UNIX_TIMESTAMP(`oemail`.`expire`) as `expired`,
`oemail`.`expire` as `expires`, `oemail`.`revoked` as `revoke`,
UNIX_TIMESTAMP(`oemail`.`revoked`) as `revoked`,
- `oemail`.`CN`, `oemail`.`serial`, `oemail`.`id`
+ `oemail`.`CN`, `oemail`.`serial`, `oemail`.`id`,
+ `oemail`.`description`
from `orgemailcerts` as `oemail`, `org`
where `org`.`memid`='".intval($_SESSION['profile']['id'])."' and
`org`.`orgid`=`oemail`.`orgid` ";
@@ -80,7 +82,8 @@
<td class="DataTD"><?=$verified?></td>
<td class="DataTD"><a href="account.php?id=19&cert=<?=$row['id']?>"><?=$row['CN']?></a></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>
</tr>