baseline
[omp.pkp.sfu.ca.git] / templates / acquisitionsEditor / setDueDate.tpl
blob9e1be0112926197c9e277abb4f0e79fd347a2a5b
1 {**
2  * setDueDate.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  * Form to set the due date for a review.
8  *
9  * $Id: setDueDate.tpl,v 1.1 2009/02/14 01:27:52 tylerl Exp $
10  *}
11 {strip}
12 {assign var="pageTitle" value="submission.dueDate"}
13 {include file="common/header.tpl"}
14 {/strip}
16 <h3>{translate key="editor.monograph.designateDueDate"}</h3>
18 <p>{translate key="editor.monograph.designateDueDateDescription"}</p>
20 <form method="post" action="{url op=$actionHandler path=$monographId|to_array:$reviewId}">
21         <table class="data" width="100%">
22                 <tr valign="top">
23                         <td class="label" width="20%">{translate key="editor.monograph.todaysDate"}</td>
24                         <td class="value" width="80%">{$todaysDate|escape}</td>
25                 </tr>
26                 <tr valign="top">
27                         <td class="label">{translate key="editor.monograph.requestedByDate"}</td>
28                         <td class="value">
29                                 <input type="text" size="11" maxlength="10" name="dueDate" value="{if $dueDate}{$dueDate|date_format:"%Y-%m-%d"}{/if}" class="textField" onfocus="this.form.numWeeks.value=''" />
30                                 <span class="instruct">{translate key="editor.monograph.dueDateFormat"}</span>
31                         </td>
32                 </tr>
33                 <tr valign="top">
34                         <td>&nbsp;</td>
35                         <td class="value"><span class="instruct">{translate key="common.or"}</span></td>
36                 </tr>
37                 <tr valign="top">
38                         <td class="label">{translate key="editor.monograph.numberOfWeeks"}</td>
39                         <td class="value"><input type="text" name="numWeeks" value="{if not $dueDate}{$numWeeksPerReview|escape}{/if}" size="3" maxlength="2" class="textField" onfocus="this.form.dueDate.value=''" /></td>
40                 </tr>
41         </table>
42 <p><input type="submit" value="{translate key="common.continue"}" class="button defaultButton" /> <input type="button" class="button" onclick="history.go(-1)" value="{translate key="common.cancel"}" /></p>
43 </form>
45 {include file="common/footer.tpl"}