mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
replace old table layout
This commit is contained in:
parent
e68608bf04
commit
7d93bccee6
|
@ -128,31 +128,33 @@ $(document).ready(function() {
|
||||||
print "</tr></tbody></table><br>\n";
|
print "</tr></tbody></table><br>\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<form method="post" action="../op/op.ReviseDocument.php" id="form<?= $revisiontype ?>" name="form<?= $revisiontype ?>">
|
<form class="form-horizontal" method="post" action="../op/op.ReviseDocument.php" id="form<?= $revisiontype ?>" name="form<?= $revisiontype ?>">
|
||||||
<?php echo createHiddenFieldWithKey('revisedocument'); ?>
|
<?php echo createHiddenFieldWithKey('revisedocument'); ?>
|
||||||
<table class="table-condensed">
|
<?php
|
||||||
<tr>
|
$this->formField(
|
||||||
<td><?php printMLText("comment")?>:</td>
|
getMLText("comment"),
|
||||||
<td><textarea name="comment" cols="80" rows="4"></textarea></td>
|
array(
|
||||||
</tr>
|
'element'=>'textarea',
|
||||||
<tr>
|
'name'=>'comment',
|
||||||
<td><?php printMLText("revision_status")?>:</td>
|
'rows'=>4,
|
||||||
<td>
|
'cols'=>80
|
||||||
<select name="revisionStatus">
|
)
|
||||||
<?php if($revisionStatus['status'] != 1) { ?>
|
);
|
||||||
<option value='1'><?php printMLText("status_revised")?></option>
|
$options = array();
|
||||||
<?php } ?>
|
if($revisionStatus['status'] != 1)
|
||||||
<?php if($revisionStatus['status'] != -1) { ?>
|
$options[] = array('1', getMLText("status_revised"));
|
||||||
<option value='-1'><?php printMLText("status_needs_correction")?></option>
|
if($revisionStatus['status'] != -1)
|
||||||
<?php } ?>
|
$options[] = array('-1', getMLText("status_needs_correction"));
|
||||||
</select>
|
$this->formField(
|
||||||
</td>
|
getMLText("revision_status"),
|
||||||
</tr>
|
array(
|
||||||
<tr>
|
'element'=>'select',
|
||||||
<td></td>
|
'name'=>'revisionStatus',
|
||||||
<td><input type='submit' class="btn" name='<?= $revisiontype ?>Revision' value='<?php printMLText("submit_revision")?>'/></td>
|
'options'=>$options,
|
||||||
</tr>
|
)
|
||||||
</table>
|
);
|
||||||
|
$this->formSubmit(getMLText('submit_revision'), $revisiontype.'Revision');
|
||||||
|
?>
|
||||||
<input type='hidden' name='revisionType' value='<?= $revisiontype ?>'/>
|
<input type='hidden' name='revisionType' value='<?= $revisiontype ?>'/>
|
||||||
<?php if($revisiontype == 'grp'): ?>
|
<?php if($revisiontype == 'grp'): ?>
|
||||||
<input type='hidden' name='revisionGroup' value='<?php echo $revisionStatus['required']; ?>'/>
|
<input type='hidden' name='revisionGroup' value='<?php echo $revisionStatus['required']; ?>'/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user