fix layout (still not perfect)

This commit is contained in:
Uwe Steinmann 2021-06-01 06:49:16 +02:00
parent 012c3b7d22
commit 554b102356

View File

@ -66,13 +66,15 @@ class SeedDMS_View_SetRecipients extends SeedDMS_Theme_Style {
}
?>
<form class="form-horizontal" action="../op/op.SetRecipients.php" method="post" name="form1">
<input type='hidden' name='documentid' value='<?php echo $document->getID() ?>'/>
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
<?php $this->contentContainerStart(); ?>
<form action="../op/op.SetRecipients.php" method="post" name="form1">
<?php $this->contentSubHeading(getMLText("update_recipients"));?>
<div class="cbSelectTitle"><?php printMLText("individuals")?>:</div>
<div class="control-group">
<label class="control-label"><?php printMLText("individuals")?>:</label>
<div class="controls">
<select class="chzn-select span9" name="indRecipients[]" multiple="multiple" data-placeholder="<?php printMLText('select_ind_recipients'); ?>" data-no_results_text="<?php printMLText('unknown_owner'); ?>">
<?php
@ -96,8 +98,12 @@ class SeedDMS_View_SetRecipients extends SeedDMS_Theme_Style {
}
?>
</select>
</div>
</div>
<div class="cbSelectTitle"><?php printMLText("individuals_in_groups")?>:</div>
<div class="control-group">
<label class="control-label"><?php printMLText("individuals_in_groups")?>:</label>
<div class="controls">
<select class="chzn-select span9" name="grpIndRecipients[]" multiple="multiple" data-placeholder="<?php printMLText('select_grp_ind_recipients'); ?>" data-no_results_text="<?php printMLText('unknown_group'); ?>">
<?php
foreach ($docAccess["groups"] as $group) {
@ -105,8 +111,12 @@ class SeedDMS_View_SetRecipients extends SeedDMS_Theme_Style {
}
?>
</select>
</div>
</div>
<div class="cbSelectTitle"><?php printMLText("groups")?>:</div>
<div class="control-group">
<label class="control-label"><?php printMLText("groups")?>:</label>
<div class="controls">
<select class="chzn-select span9" name="grpRecipients[]" multiple="multiple" data-placeholder="<?php printMLText('select_grp_recipients'); ?>" data-no_results_text="<?php printMLText('unknown_group'); ?>">
<?php
foreach ($docAccess["groups"] as $group) {
@ -128,15 +138,15 @@ class SeedDMS_View_SetRecipients extends SeedDMS_Theme_Style {
}
?>
</select>
</div>
</div>
<p>
<input type='hidden' name='documentid' value='<?php echo $document->getID() ?>'/>
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
<input type="submit" class="btn btn-primary" value="<?php printMLText("update");?>">
</p>
</form>
<?php
$this->contentContainerEnd();
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('update'));
?>
</form>
<?php
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */