{** * templates/manager/sections/sectionForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Form to create/modify a journal section. * *} {strip} {assign var="pageTitle" value="section.section"} {assign var="pageCrumbTitle" value="section.section"} {include file="common/header.tpl"} {/strip}
{literal} {/literal} {include file="common/formErrors.tpl"}
{if count($formLocales) > 1} {/if} {call_hook name="Templates::Manager::Sections::SectionForm::AdditionalMetadata" sectionId=$sectionId} {if $commentsEnabled} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $sectionId}{url|assign:"sectionFormUrl" op="editSection" path=$sectionId escape=false} {else}{url|assign:"sectionFormUrl" op="createSection" path=$sectionId escape=false} {/if} {form_language_chooser form="section" url=$sectionFormUrl} {translate key="form.formLanguage.description"}
{fieldLabel name="title" required="true" key="section.title"}
{fieldLabel name="abbrev" required="true" key="section.abbreviation"}   {translate key="section.abbreviation.example"}
{fieldLabel name="policy" key="manager.sections.policy"}
{fieldLabel name="reviewFormId" key="submission.reviewForm"}
{fieldLabel suppressId="true" key="submission.indexing"} {translate key="manager.section.submissionsToThisSection"}
{fieldLabel name="metaReviewed" key="manager.sections.submissionReview"}
{fieldLabel name="abstractsNotRequired" key="manager.sections.abstractsNotRequired"}
{fieldLabel name="metaIndexed" key="manager.sections.submissionIndexing"}
{fieldLabel name="identifyType" key="manager.sections.identifyType"}
{translate key="manager.sections.identifyTypeExamples"}
{fieldLabel suppressId="true" key="submission.restrictions"} {fieldLabel name="editorRestriction" key="manager.sections.editorRestriction"}
{fieldLabel key="manager.sections.wordCount"} {fieldLabel name="wordCount" key="manager.sections.wordCountInstructions"}  
{fieldLabel name="hideTitle" key="issue.toc"} {fieldLabel name="hideTitle" key="manager.sections.hideTocTitle"}
  {fieldLabel name="hideAuthor" key="manager.sections.hideTocAuthor"}
{fieldLabel name="hideAbout" key="navigation.about"} {fieldLabel name="hideAbout" key="manager.sections.hideAbout"}
{fieldLabel name="disableComments" key="comments.readerComments"} {fieldLabel name="disableComments" key="manager.sections.disableComments"}

{translate key="user.role.sectionEditors"}

{url|assign:"sectionEditorsUrl" op="people" path="sectionEditors"|to_array}

{translate key="manager.section.sectionEditorInstructions"}

{translate key="manager.sections.unassigned"}

{foreach from=$unassignedEditors item=editor} {foreachelse} {/foreach}
 
{translate key="user.username"} {translate key="user.name"} {translate key="common.action"}
 
{$editor->getUsername()|escape} {$editor->getFullName()|escape} {translate key="common.add"}
{translate key="common.none"}
 

{translate key="manager.sections.assigned"}

{foreach from=$assignedEditors item=editorEntry} {assign var=editor value=$editorEntry.user} {foreachelse} {/foreach}
 
{translate key="user.username"} {translate key="user.name"} {translate key="submission.review"} {translate key="submission.editing"} {translate key="common.action"}
 
{$editor->getUsername()|escape} {$editor->getFullName()|escape} {translate key="common.remove"}
{translate key="common.none"}
 

{translate key="common.requiredField"}

{include file="common/footer.tpl"}