add allowReviewerOnly configuration

if set a document in traditioanl workflow may be uploaded with a
reviewer only
This commit is contained in:
Uwe Steinmann 2018-02-26 08:07:51 +01:00
parent d3cdd9e861
commit 69a9f43add
2 changed files with 5 additions and 0 deletions

View File

@ -173,6 +173,7 @@ if ($action == "saveSettings")
$settings->_versioningFileName = $_POST["versioningFileName"];
$settings->_presetExpirationDate = $_POST["presetExpirationDate"];
$settings->_workflowMode = $_POST["workflowMode"];
$settings->_allowReviewerOnly = getBoolValue("allowReviewerOnly");
$settings->_enableAdminRevApp = getBoolValue("enableAdminRevApp");
$settings->_enableOwnerRevApp = getBoolValue("enableOwnerRevApp");
$settings->_enableSelfRevApp = getBoolValue("enableSelfRevApp");

View File

@ -659,6 +659,10 @@ if(!is_writeable($settings->_configFilePath)) {
<td><?php printMLText("settings_presetExpirationDate");?>:</td>
<td><?php $this->showTextField("presetExpirationDate", $settings->_presetExpirationDate); ?></td>
</tr>
<tr title="<?php printMLText("settings_allowReviewerOnly_desc");?>">
<td><?php printMLText("settings_allowReviewerOnly");?>:</td>
<td><input name="allowReviewerOnly" type="checkbox" <?php if ($settings->_allowReviewerOnly) echo "checked" ?> /></td>
</tr>
<tr title="<?php printMLText("settings_enableAdminRevApp_desc");?>">
<td><?php printMLText("settings_enableAdminRevApp");?>:</td>
<td><input name="enableAdminRevApp" type="checkbox" <?php if ($settings->_enableAdminRevApp) echo "checked" ?> /></td>