From 7d93bccee6a1dc18a29265720a68554679bf2a48 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 9 Feb 2021 11:09:02 +0100 Subject: [PATCH] replace old table layout --- views/bootstrap/class.ReviseDocument.php | 50 ++++++++++++------------ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/views/bootstrap/class.ReviseDocument.php b/views/bootstrap/class.ReviseDocument.php index a841d0cc9..f073ca835 100644 --- a/views/bootstrap/class.ReviseDocument.php +++ b/views/bootstrap/class.ReviseDocument.php @@ -128,31 +128,33 @@ $(document).ready(function() { print "
\n"; } ?> -
+ - - - - - - - - - - - - - -
:
: - -
+formField( + getMLText("comment"), + array( + 'element'=>'textarea', + 'name'=>'comment', + 'rows'=>4, + 'cols'=>80 + ) + ); + $options = array(); + if($revisionStatus['status'] != 1) + $options[] = array('1', getMLText("status_revised")); + if($revisionStatus['status'] != -1) + $options[] = array('-1', getMLText("status_needs_correction")); + $this->formField( + getMLText("revision_status"), + array( + 'element'=>'select', + 'name'=>'revisionStatus', + 'options'=>$options, + ) + ); + $this->formSubmit(getMLText('submit_revision'), $revisiontype.'Revision'); +?> '/>