summaryrefslogtreecommitdiff
path: root/includes/notary.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/notary.inc.php')
-rw-r--r--includes/notary.inc.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 1518d4e..7224414 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -1736,10 +1736,14 @@ function output_client_cert($row, $support=0, $readonly=true){
<td class="DataTD">
<input name="comment_<?=$row['id']?>" type="text" value="<?=htmlspecialchars($row['description'])?>" />
</td>
- <td class="DataTD">
- <input type="checkbox" name="check_comment_<?=$row['id']?>" />
- </td>
<?
+ if (!$readonly) {
+ ?>
+ <td class="DataTD">
+ <input type="checkbox" name="check_comment_<?=$row['id']?>" />
+ </td>
+ <?
+ }
}
?>