mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
add configuration allowReviewerOnly
This commit is contained in:
parent
69a9f43add
commit
963c30956a
|
@ -160,6 +160,8 @@ class Settings { /* {{{ */
|
||||||
var $_versioningFileName = "versioning_info.txt";
|
var $_versioningFileName = "versioning_info.txt";
|
||||||
// the mode of workflow
|
// the mode of workflow
|
||||||
var $_workflowMode = "traditional";
|
var $_workflowMode = "traditional";
|
||||||
|
// Allow to set just a reviewer in tradional workflow
|
||||||
|
var $_allowReviewerOnly = true;
|
||||||
// enable/disable log system
|
// enable/disable log system
|
||||||
var $_logFileEnable = true;
|
var $_logFileEnable = true;
|
||||||
// the log file rotation
|
// the log file rotation
|
||||||
|
@ -609,6 +611,7 @@ class Settings { /* {{{ */
|
||||||
$this->_presetExpirationDate = strval($tab["presetExpirationDate"]);
|
$this->_presetExpirationDate = strval($tab["presetExpirationDate"]);
|
||||||
$this->_versioningFileName = strval($tab["versioningFileName"]);
|
$this->_versioningFileName = strval($tab["versioningFileName"]);
|
||||||
$this->_workflowMode = strval($tab["workflowMode"]);
|
$this->_workflowMode = strval($tab["workflowMode"]);
|
||||||
|
$this->_allowReviewerOnly = Settings::boolval($tab["allowReviewerOnly"]);
|
||||||
$this->_enableVersionDeletion = Settings::boolval($tab["enableVersionDeletion"]);
|
$this->_enableVersionDeletion = Settings::boolval($tab["enableVersionDeletion"]);
|
||||||
$this->_enableVersionModification = Settings::boolval($tab["enableVersionModification"]);
|
$this->_enableVersionModification = Settings::boolval($tab["enableVersionModification"]);
|
||||||
$this->_enableDuplicateDocNames = Settings::boolval($tab["enableDuplicateDocNames"]);
|
$this->_enableDuplicateDocNames = Settings::boolval($tab["enableDuplicateDocNames"]);
|
||||||
|
@ -912,6 +915,7 @@ class Settings { /* {{{ */
|
||||||
$this->setXMLAttributValue($node, "versioningFileName", $this->_versioningFileName);
|
$this->setXMLAttributValue($node, "versioningFileName", $this->_versioningFileName);
|
||||||
$this->setXMLAttributValue($node, "presetExpirationDate", $this->_presetExpirationDate);
|
$this->setXMLAttributValue($node, "presetExpirationDate", $this->_presetExpirationDate);
|
||||||
$this->setXMLAttributValue($node, "workflowMode", $this->_workflowMode);
|
$this->setXMLAttributValue($node, "workflowMode", $this->_workflowMode);
|
||||||
|
$this->setXMLAttributValue($node, "allowReviewerOnly", $this->_allowReviewerOnly);
|
||||||
$this->setXMLAttributValue($node, "enableVersionDeletion", $this->_enableVersionDeletion);
|
$this->setXMLAttributValue($node, "enableVersionDeletion", $this->_enableVersionDeletion);
|
||||||
$this->setXMLAttributValue($node, "enableVersionModification", $this->_enableVersionModification);
|
$this->setXMLAttributValue($node, "enableVersionModification", $this->_enableVersionModification);
|
||||||
$this->setXMLAttributValue($node, "enableDuplicateDocNames", $this->_enableDuplicateDocNames);
|
$this->setXMLAttributValue($node, "enableDuplicateDocNames", $this->_enableDuplicateDocNames);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user