4 * Copyright (c) 2003-2008 John Willinsky
5 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
7 * Form to set the due date for a review.
9 * $Id: setDueDate.tpl,v 1.1 2009/02/14 01:27:52 tylerl Exp $
12 {assign var="pageTitle" value="submission.dueDate"}
13 {include file="common/header.tpl"}
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%">
23 <td class="label" width="20%">{translate key="editor.monograph.todaysDate"}</td>
24 <td class="value" width="80%">{$todaysDate|escape}</td>
27 <td class="label">{translate key="editor.monograph.requestedByDate"}</td>
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>
35 <td class="value"><span class="instruct">{translate key="common.or"}</span></td>
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>
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>
45 {include file="common/footer.tpl"}