baseline
[omp.pkp.sfu.ca.git] / templates / author / submit / step2.tpl
blob42a5ade12e37dc8b3007db7b9502b78f40a3c598
1 {**
2  * step2.tpl
3  *
4  * Copyright (c) 2003-2008 John Willinsky
5  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
6  *
7  * Step 2 of author monograph submission.
8  *
9  * $Id: step2.tpl,v 1.11 2009/09/09 21:53:57 tylerl Exp $
10  *}
11 {assign var="pageTitle" value="author.submit.step2"}
12 {include file="author/submit/submitStepHeader.tpl"}
14 {url|assign:"competingInterestGuidelinesUrl" page="information" op="competingInterestGuidelines"}
16 <div class="separator"></div>
18 <form name="submit" method="post" action="{url op="saveSubmit" path=$submitStep}">
19 <input type="hidden" name="monographId" value="{$monographId|escape}" />
20 {include file="common/formErrors.tpl"}
24 {if count($formLocales) > 1}
25 <table width="100%" class="data">
26         <tr valign="top">
27                 <td width="20%" class="label">{fieldLabel name="formLocale" key="form.formLanguage"}</td>
28                 <td width="80%" class="value">
29                         {url|assign:"submitFormUrl" op="submit" path="2" monographId=$monographId}
30                         {* Maintain localized author info across requests *}
31                         {foreach from=$authors key=authorIndex item=author}
32                                 {if $currentPress->getSetting('requireAuthorCompetingInterests')}
33                                         {foreach from=$author.competingInterests key="thisLocale" item="thisCompetingInterests"}
34                                                 {if $thisLocale != $formLocale}<input type="hidden" name="authors[{$authorIndex|escape}][competingInterests][{$thisLocale|escape}]" value="{$thisCompetingInterests|escape}" />{/if}
35                                         {/foreach}
36                                 {/if}
37                                 {foreach from=$author.biography key="thisLocale" item="thisBiography"}
38                                         {if $thisLocale != $formLocale}<input type="hidden" name="authors[{$authorIndex|escape}][biography][{$thisLocale|escape}]" value="{$thisBiography|escape}" />{/if}
39                                 {/foreach}
40                         {/foreach}
41                         {form_language_chooser form="submit" url=$submitFormUrl}
42                         <span class="instruct">{translate key="form.formLanguage.description"}</span>
43                 </td>
44         </tr>
45 </table>
46 {/if}
48 {include file="inserts/monographComponents/MonographComponentsInsert.tpl"}
50 <div class="separator"></div>
52 <h3>{translate key="submission.titleAndAbstract"}</h3>
54 <table width="100%" class="data">
55 <tr valign="top">
56         <td width="20%" class="label">{fieldLabel name="title" required="true" key="monograph.title"}</td>
57         <td width="80%" class="value"><input type="text" class="textField" name="title[{$formLocale|escape}]" id="title" value="{$title[$formLocale]|escape}" size="60" maxlength="255" /></td>
58 </tr>
59 <tr valign="top">
60         <td width="20%" class="label">{fieldLabel name="abstract" key="monograph.abstract"}</td>
61         <td width="80%" class="value"><textarea name="abstract[{$formLocale|escape}]" id="abstract" class="textArea" rows="15" cols="60">{$abstract[$formLocale]|escape}</textarea></td>
62 </tr>
63 </table>
65 <div class="separator"></div>
67 <h3>{translate key="author.submit.submissionSupportingAgencies"}</h3>
68 <p>{translate key="author.submit.submissionSupportingAgenciesDescription"}</p>
70 <table width="100%" class="data">
71 <tr valign="top">
72         <td width="20%" class="label">{fieldLabel name="sponsor" key="author.submit.agencies"}</td>
73         <td width="80%" class="value"><input type="text" class="textField" name="sponsor[{$formLocale|escape}]" id="sponsor" value="{$sponsor[$formLocale]|escape}" size="60" maxlength="255" /></td>
74 </tr>
75 </table>
77 <div class="separator"></div>
79 <p><input type="submit" value="{translate key="common.saveAndContinue"}" class="button defaultButton" /> <input type="button" value="{translate key="common.cancel"}" class="button" onclick="confirmAction('{url page="author"}', '{translate|escape:"jsparam" key="author.submit.cancelSubmission"}')" /></p>
81 <p><span class="formRequired">{translate key="common.requiredField"}</span></p>
83 </form>
85 {include file="common/footer.tpl"}