{** * plugins/importexport/quickSubmit/index.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. * * Template for one-page submission form * *} {strip} {assign var="pageTitle" value="plugins.importexport.quickSubmit.displayName"} {include file="common/header.tpl"} {/strip} {literal} {/literal}

{translate key="plugins.importexport.quickSubmit.descriptionLong"}

{include file="common/formErrors.tpl"} {if count($formLocales) > 1}
{fieldLabel name="formLocale" key="form.formLanguage"} {plugin_url|assign:"quickSubmitUrl" escape=false} {* Maintain localized author info across requests *} {foreach from=$authors key=authorIndex item=author} {if $currentJournal->getSetting('requireAuthorCompetingInterests')} {foreach from=$author.competingInterests key="thisLocale" item="thisCompetingInterests"} {if $thisLocale != $formLocale}{/if} {/foreach} {/if} {foreach from=$author.biography key="thisLocale" item="thisBiography"} {if $thisLocale != $formLocale}{/if} {/foreach} {foreach from=$author.affiliation key="thisLocale" item="thisAffiliation"} {if $thisLocale != $formLocale}{/if} {/foreach} {/foreach} {form_language_chooser form="submit" url=$quickSubmitUrl} {translate key="form.formLanguage.description"}
{/if}

{translate key="plugins.importexport.quickSubmit.chooseDestination"}

{translate key="plugins.importexport.quickSubmit.chooseDestinationDescription"}

{if $enablePageNumber} {/if}{* $enablePageNumber *}
{fieldLabel name="destinationUnpublished" key="plugins.importexport.quickSubmit.leaveUnpublished"}
{fieldLabel name="destinationIssue" key="plugins.importexport.quickSubmit.addToExisting"}
{* Find good values for starting and ending year options *} {assign var=currentYear value=$smarty.now|date_format:"%Y"} {if $datePublished} {assign var=publishedYear value=$datePublished|date_format:"%Y"} {math|assign:"minYear" equation="min(x,y)-10" x=$publishedYear y=$currentYear} {math|assign:"maxYear" equation="max(x,y)+2" x=$publishedYear y=$currentYear} {else} {* No issue publication date info *} {math|assign:"minYear" equation="x-10" x=$currentYear} {math|assign:"maxYear" equation="x+2" x=$currentYear} {/if} {html_select_date prefix="datePublished" time=$datePublished|default:"---" all_extra="class=\"selectMenu\"" start_year=$minYear end_year=$maxYear year_empty="common.year"|translate month_empty="common.month"|translate day_empty="common.day"|translate}
  {fieldLabel name="pages" key="editor.issues.pages"} 

{translate key="plugins.importexport.quickSubmit.submissionData"}

{if count($sectionOptions) == 2} {* If there's only one section, force it and skip the section parts of the interface. *} {foreach from=$sectionOptions item=val key=key} {assign var=abstractRequired value=$sectionAbstractsRequired[$key]} {/foreach} {else}{* if count($sectionOptions) == 2 *}

{translate key="author.submit.journalSection"}

{url|assign:"url" page="about"}

{translate key="author.submit.journalSectionDescription" aboutUrl=$url}

{fieldLabel name="sectionId" required="true" key="section.section"}
{/if}{* if count($sectionOptions) == 2 *}
{if count($supportedSubmissionLocaleNames) == 1} {* There is only one supported submission locale; choose it invisibly *} {foreach from=$supportedSubmissionLocaleNames item=localeName key=locale} {/foreach} {else} {* There are several submission locales available; allow choice *}

{translate key="author.submit.submissionLocale"}

{translate key="author.submit.submissionLocaleDescription"}

{fieldLabel name="locale" required="true" key="article.language"}
{* submissionLocale *} {/if}{* count($supportedSubmissionLocaleNames) == 1 *}

{translate key="author.submit.submissionFile"}

{if $submissionFile} {else} {/if}
{translate key="common.originalFileName"} {$submissionFile->getOriginalFileName()|escape}
{translate key="common.fileSize"} {$submissionFile->getNiceFileSize()}
{translate key="common.dateUploaded"} {$submissionFile->getDateUploaded()|date_format:$datetimeFormatShort}
{translate key="plugins.importexport.quickSubmit.submissionDescription"}
{if $submissionFile} {fieldLabel name="submissionFile" key="author.submit.replaceSubmissionFile"} {else} {fieldLabel name="submissionFile" key="author.submit.uploadSubmissionFile"} {/if}

{translate key="article.authors"}

{foreach name=authors from=$authors key=authorIndex item=author} {if $smarty.foreach.authors.total <= 1} {/if} {if $journal->getSetting('requireAuthorCompetingInterests')} {/if}{* requireAuthorCompetingInterests *} {if $smarty.foreach.authors.total > 1} {/if}
{fieldLabel name="authors-$authorIndex-firstName" required="true" key="user.firstName"}
{fieldLabel name="authors-$authorIndex-middleName" key="user.middleName"}
{fieldLabel name="authors-$authorIndex-lastName" required="true" key="user.lastName"}
{fieldLabel name="authors-$authorIndex-email" required="true" key="user.email"}
{fieldLabel name="authors-$authorIndex-orcid" key="user.orcid"}
{translate key="user.orcid.description"}
{fieldLabel name="authors-$authorIndex-url" key="user.url"}
{fieldLabel name="authors-$authorIndex-affiliation" key="user.affiliation"}
{fieldLabel name="authors-$authorIndex-country" key="common.country"}
{fieldLabel name="authors-$authorIndex-competingInterests" key="author.competingInterests" competingInterestGuidelinesUrl=$competingInterestGuidelinesUrl}
{fieldLabel name="authors-$authorIndex-biography" key="user.biography"}
{translate key="user.biography.description"}
{translate key="author.submit.reorderInstructions"}
{fieldLabel name="primaryContact" key="author.submit.selectPrincipalContact"}

{if !$smarty.foreach.authors.last}
{/if} {foreachelse} {if $journal->getSetting('requireAuthorCompetingInterests')} {/if}
{fieldLabel name="authors-0-firstName" required="true" key="user.firstName"}
{fieldLabel name="authors-0-middleName" key="user.middleName"}
{fieldLabel name="authors-0-lastName" required="true" key="user.lastName"}
{fieldLabel name="authors-0-affiliation" key="user.affiliation"}
{fieldLabel name="authors-0-country" key="common.country"}
{fieldLabel name="authors-0-email" required="true" key="user.email"}
{fieldLabel name="authors-0-orcid" key="user.orcid"}
{translate key="user.orcid.description"}
{fieldLabel name="authors-0-url" key="user.url"}
{fieldLabel name="authors-0-competingInterests" key="author.competingInterests" competingInterestGuidelinesUrl=$competingInterestGuidelinesUrl}
{fieldLabel name="authors-0-biography" key="user.biography"}
{translate key="user.biography.description"}
{/foreach}

{translate key="submission.titleAndAbstract"}

{if $sectionAbstractsRequired[$sectionId]} {* If a section is already chosen, respect the "required" flag *} {assign var=abstractRequired value="true"} {/if}
{fieldLabel name="title" required="true" key="article.title"}
{fieldLabel name="abstract" key="article.abstract" required=$abstractRequired}

{translate key="submission.indexing"}

{if $journal->getSetting('metaDiscipline') || $journal->getSetting('metaSubjectClass') || $journal->getSetting('metaSubject') || $journal->getSetting('metaCoverage') || $journal->getSetting('metaType')}

{translate key="author.submit.submissionIndexingDescription"}

{/if} {if $journal->getSetting('metaDiscipline')} getLocalizedSetting('metaDisciplineExamples') != ''} rowspan="2"{/if} width="30%" class="label">{fieldLabel name="discipline" key="article.discipline"} {if $journal->getLocalizedSetting('metaDisciplineExamples')} {/if} {/if} {if $journal->getSetting('metaSubjectClass')} {/if} {if $journal->getSetting('metaSubject')} getLocalizedSetting('metaSubjectExamples') != ''} rowspan="2"{/if} width="30%" class="label">{fieldLabel name="subject" key="article.subject"} {if $journal->getLocalizedSetting('metaSubjectExamples') != ''} {/if} {/if} {if $journal->getSetting('metaCoverage')} getLocalizedSetting('metaCoverageGeoExamples') != ''} rowspan="2"{/if} width="30%" class="label">{fieldLabel name="coverageGeo" key="article.coverageGeo"} {if $journal->getLocalizedSetting('metaCoverageGeoExamples')} {/if} getLocalizedSetting('metaCoverageChronExamples') != ''} rowspan="2"{/if} width="30%" class="label">{fieldLabel name="coverageChron" key="article.coverageChron"} {if $journal->getLocalizedSetting('metaCoverageChronExamples') != ''} {/if} getLocalizedSetting('metaCoverageResearchSampleExamples') != ''} rowspan="2"{/if} width="30%" class="label">{fieldLabel name="coverageSample" key="article.coverageSample"} {if $journal->getLocalizedSetting('metaCoverageResearchSampleExamples') != ''} {/if} {/if} {if $journal->getSetting('metaType')} {if $journal->getLocalizedSetting('metaTypeExamples') != ''} {/if} {/if}
{$journal->getLocalizedSetting('metaDisciplineExamples')|escape}
   
{fieldLabel name="subjectClass" key="article.subjectClassification"}
{$journal->getLocalizedSetting('metaSubjectClassTitle')|escape}
   
{$journal->getLocalizedSetting('metaSubjectExamples')|escape}
   
{$journal->getLocalizedSetting('metaCoverageGeoExamples')|escape}
   
{$journal->getLocalizedSetting('metaCoverageChronExamples')|escape}
   
{$journal->getLocalizedSetting('metaCoverageResearchSampleExamples')|escape}
   
getLocalizedSetting('metaTypeExamples') != ''}rowspan="2" {/if}class="label">{fieldLabel name="type" key="article.type"}
{$journal->getLocalizedSetting('metaTypeExamples')|escape}
   
{fieldLabel name="language" key="article.language"}
{translate key="author.submit.languageInstructions"}

{translate key="author.submit.submissionSupportingAgencies"}

{translate key="author.submit.submissionSupportingAgenciesDescription"}

{fieldLabel name="sponsor" key="submission.agencies"}
{if $journal->getSetting('metaCitations')}

{translate key="submission.citations"}

{translate key="author.submit.submissionCitations"}

{fieldLabel name="citations" key="submission.citations"}
{/if}

{translate key="common.requiredField"}

{if $scrollToAuthor} {literal} {/literal} {/if} {include file="common/footer.tpl"}