{**
* templates/submission/form/step1.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Step 1 of author monograph submission.
*}
{if $sectionOptions|@count == 1}
{translate key="author.submit.notAccepting"}
{elseif $currentContext->getData('disableSubmissions')}
<notification>
{translate key="manager.setup.disableSubmissions.notAccepting"}
</notification>
{else}
{capture assign="additionalFormContent2"}
{if $sectionOptions|@count == 2}
{* There is only one section; choose it invisibly *}
{assign var=preselectedSectionId value=$sectionOptions|@array_keys|@array_pop}
{fbvElement type="hidden" id="sectionId" value=$preselectedSectionId}
{if $sectionPolicies[$preselectedSectionId]}
{include file="submission/form/sectionPolicy.tpl" sectionId=$preselectedSectionId content=$sectionPolicies[$preselectedSectionId]}
{/if}
{else}
{include file="submission/form/section.tpl"}
{/if}
{/capture}
{include file="core:submission/form/step1.tpl"}
{/if} |