| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/Topogeo/ojs/classes/manager/form/setup/ |
Upload File : |
<?php
/**
* @file classes/manager/form/setup/JournalSetupStep2Form.inc.php
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class JournalSetupStep2Form
* @ingroup manager_form_setup
*
* @brief Form for Step 2 of journal setup.
*/
// $Id$
import('classes.manager.form.setup.JournalSetupForm');
class JournalSetupStep2Form extends JournalSetupForm {
/**
* Constructor.
*/
function JournalSetupStep2Form() {
parent::JournalSetupForm(
2,
array(
'focusScopeDesc' => 'string',
'numWeeksPerReview' => 'int',
'remindForInvite' => 'bool',
'remindForSubmit' => 'bool',
'numDaysBeforeInviteReminder' => 'int',
'numDaysBeforeSubmitReminder' => 'int',
'rateReviewerOnQuality' => 'bool',
'restrictReviewerFileAccess' => 'bool',
'reviewerAccessKeysEnabled' => 'bool',
'showEnsuringLink' => 'bool',
'reviewPolicy' => 'string',
'mailSubmissionsToReviewers' => 'bool',
'reviewGuidelines' => 'string',
'authorSelectsEditor' => 'bool',
'privacyStatement' => 'string',
'customAboutItems' => 'object',
'enableLockss' => 'bool',
'lockssLicense' => 'string',
'reviewerDatabaseLinks' => 'object',
'notifyAllAuthorsOnDecision' => 'bool'
)
);
$this->addCheck(new FormValidatorEmail($this, 'envelopeSender', 'optional', 'user.profile.form.emailRequired'));
}
/**
* Get the list of field names for which localized settings are used.
* @return array
*/
function getLocaleFieldNames() {
return array('focusScopeDesc', 'reviewPolicy', 'reviewGuidelines', 'privacyStatement', 'customAboutItems', 'lockssLicense');
}
/**
* Display the form.
*/
function display($request, $dispatcher) {
$templateMgr =& TemplateManager::getManager();
if (Config::getVar('general', 'scheduled_tasks')) {
$templateMgr->assign('scheduledTasksEnabled', true);
}
parent::display($request, $dispatcher);
}
}
?>