From 9fac7480427d57ab70d5edbeb529640c430e381f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Mon, 7 Apr 2014 16:22:08 +0200 Subject: bug 1138: Add $readonly parameter to output_client_cert functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tänzer --- includes/notary.inc.php | 75 +++++++++++++++++-------------------------------- 1 file changed, 26 insertions(+), 49 deletions(-) diff --git a/includes/notary.inc.php b/includes/notary.inc.php index 3249bfe..1518d4e 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -1628,14 +1628,15 @@ function output_log_se($row, $support=0){ /** * Shows the table header to the client cert table - * @param int $support - if support = 1 some columns ar not visible + * @param int $support - if support = 1 some columns ar not visible + * @param bool $readonly - whether elements to modify data should be hidden, default is `true` */ -function output_client_cert_header($support=0){ +function output_client_cert_header($support=0, $readonly=true){ //should be added to account/5.php ?> 0) @@ -1679,81 +1681,56 @@ function output_client_cert($row, $support=0){ ?> - - -   - - - - - - - - - - - - - - - - + - - /> - - + - DISABLED/> + + + + + + + + /> + + + -- cgit v1.2.1