place submit outside of content area

This commit is contained in:
Uwe Steinmann 2021-05-19 17:01:18 +02:00
parent acf85728c3
commit 1d4bd6d1f0

View File

@ -147,12 +147,12 @@ $(document).ready( function() {
$msg = getMLText("max_upload_size").": ".SeedDMS_Core_File::format_filesize($mus2); $msg = getMLText("max_upload_size").": ".SeedDMS_Core_File::format_filesize($mus2);
$this->warningMsg($msg); $this->warningMsg($msg);
$this->contentContainerStart();
?> ?>
<form class="form-horizontal" action="../op/op.AddFile.php" enctype="multipart/form-data" method="post" name="form1" id="form1"> <form class="form-horizontal" action="../op/op.AddFile.php" enctype="multipart/form-data" method="post" name="form1" id="form1">
<input type="hidden" name="documentid" value="<?php print $document->getId(); ?>"> <input type="hidden" name="documentid" value="<?php print $document->getId(); ?>">
<?php <?php
$this->contentContainerStart();
$this->formField( $this->formField(
getMLText("local_file"), getMLText("local_file"),
($enablelargefileupload ? $this->getFineUploaderHtml() : $this->getFileChooserHtml('userfile[]', false)) ($enablelargefileupload ? $this->getFineUploaderHtml() : $this->getFileChooserHtml('userfile[]', false))
@ -205,11 +205,11 @@ $(document).ready( function() {
) )
); );
} }
$this->contentContainerEnd();
$this->formSubmit(getMLText('add')); $this->formSubmit(getMLText('add'));
?> ?>
</form> </form>
<?php <?php
$this->contentContainerEnd();
$this->contentEnd(); $this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();