move submit button out of contentContainer

This commit is contained in:
Uwe Steinmann 2021-07-20 06:22:37 +02:00
parent 0571739142
commit 54396e6876
2 changed files with 4 additions and 4 deletions

View File

@ -40,13 +40,13 @@ class SeedDMS_View_SendLoginData extends SeedDMS_Theme_Style {
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
$this->contentHeading(getMLText("send_login_data"));
$this->contentContainerStart();
?>
<form class="form-horizontal" action="../op/op.UsrMgr.php" name="form1" method="post">
<input type="hidden" name="userid" value="<?php print $newuser->getID();?>">
<input type="hidden" name="action" value="sendlogindata">
<?php echo createHiddenFieldWithKey('sendlogindata'); ?>
<?php
$this->contentContainerStart();
$this->formField(
getMLText("comment"),
array(
@ -54,11 +54,11 @@ class SeedDMS_View_SendLoginData extends SeedDMS_Theme_Style {
'name'=>'comment',
)
);
$this->contentContainerEnd();
$this->formSubmit("<i class=\"fa fa-envelope-o\"></i> ".getMLText('send_email'));
?>
</form>
<?php
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */

View File

@ -40,13 +40,13 @@ class SeedDMS_View_TransferObjects extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("transfer_objects"));
$this->warningMsg(getMLText("confirm_transfer_objects", array ("username" => htmlspecialchars($rmuser->getFullName()))));
$this->contentContainerStart();
?>
<form class="form-horizontal" action="../op/op.UsrMgr.php" name="form1" method="post">
<input type="hidden" name="userid" value="<?php print $rmuser->getID();?>">
<input type="hidden" name="action" value="transferobjects">
<?php echo createHiddenFieldWithKey('transferobjects'); ?>
<?php
$this->contentContainerStart();
$options = array();
foreach ($allusers as $currUser) {
if ($currUser->isGuest() || ($currUser->getID() == $rmuser->getID()) )
@ -64,11 +64,11 @@ class SeedDMS_View_TransferObjects extends SeedDMS_Theme_Style {
'options'=>$options
)
);
$this->contentContainerEnd();
$this->formSubmit("<i class=\"fa fa-share-alt\"></i> ".getMLText('transfer_objects'));
?>
</form>
<?php
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */