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.
|
// Display the Workflow form.
|
||||||
$this->rowStart();
|
$this->rowStart();
|
||||||
$this->columnStart(4);
|
$this->columnStart(4);
|
||||||
$workflows = $dms->getAllWorkflows();
|
$workflows = $dms->getAllWorkflows();
|
||||||
if($workflows) {
|
if($workflows) {
|
||||||
?>
|
?>
|
||||||
<form class="form-horizontal" action="../op/op.SetWorkflow.php" method="post" name="form1">
|
<form class="form-horizontal" action="../op/op.SetWorkflow.php" method="post" name="form1">
|
||||||
<?php echo createHiddenFieldWithKey('setworkflow'); ?>
|
<?php echo createHiddenFieldWithKey('setworkflow'); ?>
|
||||||
|
@ -80,34 +80,34 @@ $(document).ready( function() {
|
||||||
<input type="hidden" name="showtree" value="<?php echo showtree();?>">
|
<input type="hidden" name="showtree" value="<?php echo showtree();?>">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
$mandatoryworkflow = $user->getMandatoryWorkflow();
|
$mandatoryworkflow = $user->getMandatoryWorkflow();
|
||||||
$workflows=$dms->getAllWorkflows();
|
$workflows=$dms->getAllWorkflows();
|
||||||
$options = array();
|
$options = array();
|
||||||
foreach ($workflows as $workflow) {
|
foreach ($workflows as $workflow) {
|
||||||
$options[] = array($workflow->getID(), htmlspecialchars($workflow->getName()), $mandatoryworkflow && $mandatoryworkflow->getID() == $workflow->getID());
|
$options[] = array($workflow->getID(), htmlspecialchars($workflow->getName()), $mandatoryworkflow && $mandatoryworkflow->getID() == $workflow->getID());
|
||||||
}
|
}
|
||||||
$this->formField(
|
$this->formField(
|
||||||
getMLText("workflow"),
|
getMLText("workflow"),
|
||||||
array(
|
array(
|
||||||
'element'=>'select',
|
'element'=>'select',
|
||||||
'id'=>'selector',
|
'id'=>'selector',
|
||||||
'name'=>'workflow',
|
'name'=>'workflow',
|
||||||
'data-placeholder'=>getMLText('select_workflow'),
|
'data-placeholder'=>getMLText('select_workflow'),
|
||||||
'options'=>$options
|
'options'=>$options
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
$this->formSubmit(getMLText('set_workflow'));
|
$this->formSubmit(getMLText('set_workflow'));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<p><?php printMLText('no_workflow_available'); ?></p>
|
<p><?php printMLText('no_workflow_available'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
$this->columnStart(8);
|
$this->columnStart(8);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user