00001 <?php
00002
00016
00017 import('controllers.tab.settings.form.PressSettingsForm');
00018
00019 class PoliciesForm extends PressSettingsForm {
00020
00024 function PoliciesForm($wizardMode = false) {
00025 $settings = array(
00026 'focusScopeDesc' => 'string',
00027 'openAccessPolicy' => 'string',
00028 'reviewPolicy' => 'string',
00029 'copyrightNotice' => 'string',
00030 'copyrightNoticeAgree' => 'bool',
00031 'competingInterestsPolicy' => 'string',
00032 'privacyStatement' => 'string'
00033 );
00034
00035 AppLocale::requireComponents(LOCALE_COMPONENT_APPLICATION_COMMON);
00036
00037 parent::PressSettingsForm($settings, 'controllers/tab/settings/policies/form/policiesForm.tpl', $wizardMode);
00038 }
00039
00040
00041
00042
00043
00047 function getLocaleFieldNames() {
00048 return array('focusScopeDesc', 'openAccessPolicy', 'reviewPolicy', 'copyrightNotice', 'privacyStatement', 'competingInterestsPolicy');
00049 }
00050 }
00051
00052 ?>