{** * templates/sectionEditor/submission/scheduling.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. * * Subtemplate defining the scheduling table. * *}

{translate key="submission.scheduling"}

{if !$publicationFeeEnabled || $publicationPayment} getId()}" method="post"> {if $publishedArticle} getId()}" method="post"> {/if}{* $publishedArticle *} {else} {if $isEditor} {/if} {/if}
{if $publishedArticle} {assign var=issueId value=$publishedArticle->getIssueId()} {else} {assign var=issueId value=0} {/if}   {if $issueId} {if $isEditor} {translate key="issue.toc"} {else} {translate key="issue.toc"} {/if} {/if}
{* Find good values for starting and ending year options *} {assign var=currentYear value=$smarty.now|date_format:"%Y"} {if $publishedArticle->getDatePublished()} {assign var=publishedYear value=$publishedArticle->getDatePublished()|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=$publishedArticle->getDatePublished()|default:"---" all_extra="class=\"selectMenu\"" start_year=$minYear end_year=$maxYear year_empty="-" month_empty="-" day_empty="-"}  
{translate key="editor.article.payment.publicationFeeNotPaid"}
getId()}" method="post">  
getId()}" method="post">