Skip to content
Snippets Groups Projects
Commit 6102125a authored by Tim Steiner's avatar Tim Steiner
Browse files

Missed a few things in previous commit

parent 3dfe1a7f
No related branches found
No related tags found
No related merge requests found
<label>
Approval Body to delegate to:
<?php
if ($approvalAction) {
$delegateBody = $approvalAction->delegateBody;
if ($delegateBody) {
$delegateBodyId = $delegateBody->getPrimaryKey();
} else {
$delegateBodyId = null;
}
echo $this->formSelect(
'edit[' . $approvalAction->getPrimaryKey() . '][delegateBody]',
$delegateBodyId,
null,
ApprovalBodies::getInstance()->fetchAll()->columnToArray(
'name', ApprovalBodies::getInstance()->getPrimaryKeyName(true)
)
);
} else {
echo $this->formSelect(
'delegateBody',
null,
null,
ApprovalBodies::getInstance()->fetchAll()->columnToArray(
'name', ApprovalBodies::getInstance()->getPrimaryKeyName(true)
)
);
}
?>
</label>
\ No newline at end of file
<em>No Special Options</em>
\ No newline at end of file
<?php
echo "<em>Vote Module Settings</em>";
$currentSave = $current;
/*
$current['id'] = '';
$current['value'] = null;
if ($approvalAction) {
echo $this->formSelect('edit[' . $approvalAction->getPrimaryKey() . '][result]',
$approvalAction->result,
null,
ApprovalActionsAuto::getInstance()->getResultStatusStrings());
} else {
echo $this->formSelect('result',
null,
null,
ApprovalActionsAuto::getInstance()->getResultStatusStrings());
}
*/
$current = $currentSave;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment