mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
add new config option $_allowChangeRevAppInProcess
This commit is contained in:
parent
fc688441ad
commit
4b1e933c76
|
@ -192,6 +192,8 @@ class Settings { /* {{{ */
|
|||
var $_enableRevisionOnVoteReject = true;
|
||||
// Allow to set just a reviewer in tradional workflow
|
||||
var $_allowReviewerOnly = true;
|
||||
// Allow to change reviewer/approver after review/approval has started
|
||||
var $_allowChangeRevAppInProcess = false;
|
||||
// enable/disable log system
|
||||
var $_logFileEnable = true;
|
||||
// the log file rotation
|
||||
|
@ -700,6 +702,7 @@ class Settings { /* {{{ */
|
|||
$this->_enableRevisionWorkflow = strval($tab["enableRevisionWorkflow"]);
|
||||
$this->_enableRevisionOnVoteReject = strval($tab["enableRevisionOnVoteReject"]);
|
||||
$this->_allowReviewerOnly = Settings::boolval($tab["allowReviewerOnly"]);
|
||||
$this->_allowChangeRevAppInProcess = Settings::boolval($tab["allowChangeRevAppInProcess"]);
|
||||
$this->_enableVersionDeletion = Settings::boolval($tab["enableVersionDeletion"]);
|
||||
$this->_enableVersionModification = Settings::boolval($tab["enableVersionModification"]);
|
||||
$this->_enableDuplicateDocNames = Settings::boolval($tab["enableDuplicateDocNames"]);
|
||||
|
@ -1028,6 +1031,7 @@ class Settings { /* {{{ */
|
|||
$this->setXMLAttributValue($node, "enableRevisionWorkflow", $this->_enableRevisionWorkflow);
|
||||
$this->setXMLAttributValue($node, "enableRevisionOnVoteReject", $this->_enableRevisionOnVoteReject);
|
||||
$this->setXMLAttributValue($node, "allowReviewerOnly", $this->_allowReviewerOnly);
|
||||
$this->setXMLAttributValue($node, "allowChangeRevAppInProcess", $this->_allowChangeRevAppInProcess);
|
||||
$this->setXMLAttributValue($node, "enableVersionDeletion", $this->_enableVersionDeletion);
|
||||
$this->setXMLAttributValue($node, "enableVersionModification", $this->_enableVersionModification);
|
||||
$this->setXMLAttributValue($node, "enableDuplicateDocNames", $this->_enableDuplicateDocNames);
|
||||
|
|
|
@ -187,6 +187,7 @@ if ($action == "saveSettings")
|
|||
$settings->_enableRevisionWorkflow = getBoolValue("enableRevisionWorkflow");
|
||||
$settings->_enableRevisionOnVoteReject = getBoolValue("enableRevisionOnVoteReject");
|
||||
$settings->_allowReviewerOnly = getBoolValue("allowReviewerOnly");
|
||||
$settings->_allowChangeRevAppInProcess = getBoolValue("allowChangeRevAppInProcess");
|
||||
$settings->_enableAdminRevApp = getBoolValue("enableAdminRevApp");
|
||||
$settings->_enableOwnerRevApp = getBoolValue("enableOwnerRevApp");
|
||||
$settings->_enableSelfRevApp = getBoolValue("enableSelfRevApp");
|
||||
|
|
|
@ -436,6 +436,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
|
|||
<?php $this->showConfigText('settings_presetExpirationDate', 'presetExpirationDate'); ?>
|
||||
<?php $this->showConfigOption('settings_initialDocumentStatus', 'initialDocumentStatus', array(' '.S_RELEASED=>'settings_initialDocumentStatus_released', ' '.S_DRAFT=>'settings_initialDocumentStatus_draft'), false, true); ?>
|
||||
<?php $this->showConfigCheckbox('settings_allowReviewerOnly', 'allowReviewerOnly'); ?>
|
||||
<?php $this->showConfigCheckbox('settings_allowChangeRevAppInProcess', 'allowChangeRevAppInProcess'); ?>
|
||||
<?php $this->showConfigCheckbox('settings_enableAdminRevApp', 'enableAdminRevApp'); ?>
|
||||
<?php $this->showConfigCheckbox('settings_enableOwnerRevApp', 'enableOwnerRevApp'); ?>
|
||||
<?php $this->showConfigCheckbox('settings_enableSelfRevApp', 'enableSelfRevApp'); ?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user