{** * templates/admin/journalSettings.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Basic journal settings under site administration. * *}
{csrf} {include file="controllers/notification/inPlaceNotification.tpl" notificationId="journalSettingsNotification"} {if $contextId} {fbvElement id="contextId" type="hidden" name="contextId" value=$contextId} {else}

{translate key="admin.journals.createInstructions"}

{/if} {fbvFormArea id="journalSettings"} {fbvFormSection title="manager.setup.journalTitle" required=true for="name"} {fbvElement type="text" id="name" value=$name multilingual=true required=true} {/fbvFormSection} {fbvFormSection title="admin.journals.journalDescription" for="description"} {fbvElement type="textarea" id="description" value=$description multilingual=true rich=true} {/fbvFormSection} {fbvFormSection title="journal.path" required=true for="path"} {fbvElement type="text" id="path" value=$path size=$smarty.const.SMALL maxlength="32" required=true} {url|assign:"sampleUrl" router=$smarty.const.ROUTE_PAGE journal="path"} {** FIXME: is this class instruct still the right one? **} {translate key="admin.journals.urlWillBe" sampleUrl=$sampleUrl} {/fbvFormSection} {fbvFormSection for="enabled" list=true} {if $enabled}{assign var="enabled" value="checked"}{/if} {fbvElement type="checkbox" id="enabled" checked=$enabled value="1" label="admin.journals.enableJournalInstructions"} {/fbvFormSection}

{translate key="common.requiredField"}

{fbvFormButtons id="journalSettingsFormSubmit" submitText="common.save"} {/fbvFormArea}