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

View File

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