diff options
-rw-r--r-- | includes/notary.inc.php | 10 |
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> + <? + } } ?> |