mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix line indenting
This commit is contained in:
parent
f56b500b9f
commit
889f49daca
|
@ -70,8 +70,8 @@ $(document).ready( function() {
|
|||
// Display the Workflow form.
|
||||
$this->rowStart();
|
||||
$this->columnStart(4);
|
||||
$workflows = $dms->getAllWorkflows();
|
||||
if($workflows) {
|
||||
$workflows = $dms->getAllWorkflows();
|
||||
if($workflows) {
|
||||
?>
|
||||
<form class="form-horizontal" action="../op/op.SetWorkflow.php" method="post" name="form1">
|
||||
<?php echo createHiddenFieldWithKey('setworkflow'); ?>
|
||||
|
@ -80,34 +80,34 @@ $(document).ready( function() {
|
|||
<input type="hidden" name="showtree" value="<?php echo showtree();?>">
|
||||
|
||||
<?php
|
||||
$this->contentContainerStart();
|
||||
$mandatoryworkflow = $user->getMandatoryWorkflow();
|
||||
$workflows=$dms->getAllWorkflows();
|
||||
$options = array();
|
||||
foreach ($workflows as $workflow) {
|
||||
$options[] = array($workflow->getID(), htmlspecialchars($workflow->getName()), $mandatoryworkflow && $mandatoryworkflow->getID() == $workflow->getID());
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("workflow"),
|
||||
array(
|
||||
'element'=>'select',
|
||||
'id'=>'selector',
|
||||
'name'=>'workflow',
|
||||
'data-placeholder'=>getMLText('select_workflow'),
|
||||
'options'=>$options
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit(getMLText('set_workflow'));
|
||||
$this->contentContainerStart();
|
||||
$mandatoryworkflow = $user->getMandatoryWorkflow();
|
||||
$workflows=$dms->getAllWorkflows();
|
||||
$options = array();
|
||||
foreach ($workflows as $workflow) {
|
||||
$options[] = array($workflow->getID(), htmlspecialchars($workflow->getName()), $mandatoryworkflow && $mandatoryworkflow->getID() == $workflow->getID());
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("workflow"),
|
||||
array(
|
||||
'element'=>'select',
|
||||
'id'=>'selector',
|
||||
'name'=>'workflow',
|
||||
'data-placeholder'=>getMLText('select_workflow'),
|
||||
'options'=>$options
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit(getMLText('set_workflow'));
|
||||
?>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
} else {
|
||||
} else {
|
||||
?>
|
||||
<p><?php printMLText('no_workflow_available'); ?></p>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->columnStart(8);
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user