[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
templates
/
manager
/
emails
/
[
Home
]
File: emailTemplateForm.tpl
{** * templates/manager/emails/emailTemplateForm.tpl * * Copyright (c) 2013-2019 Simon Fraser University * Copyright (c) 2003-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Basic journal settings under site administration. * *} {strip} {if !$isNewTemplate} {assign var="pageTitle" value="manager.emails.editEmail"} {else} {assign var="pageTitle" value="manager.emails.createEmail"} {/if} {include file="common/header.tpl"} {/strip} <div id="emailTemplateForm"> <form method="post" action="{url op="updateEmail"}"> <input type="hidden" name="emailId" value="{$emailId|escape}" /> <input type="hidden" name="journalId" value="{$journalId|escape}" /> {if !$isNewTemplate} <input type="hidden" name="emailKey" value="{$emailKey|escape}" /> {/if} {if $description} <p>{$description|escape}</p> {/if} <br /> {include file="common/formErrors.tpl"} <table class="data" width="100%"> {if $isNewTemplate} <tr valign="top"> <td width="20%" class="label">{fieldLabel name="emailKey" key="manager.emails.emailKey"}</td> <td width="80%" class="value"><input type="text" name="emailKey" value="{$emailKey|escape}" id="emailKey" size="20" maxlength="120" class="textField" /><br /> </td> </tr> {/if} {foreach from=$supportedLocales item=localeName key=localeKey} <tr valign="top"><td colspan="2"> <h3>{translate key="manager.emails.emailTemplate"} ({$localeName|escape})</h3> </td></tr> <tr valign="top"> <td width="20%" class="label">{fieldLabel name="subject-$localeKey" key="email.subject"}</td> <td width="80%" class="value"><input type="text" name="subject[{$localeKey|escape}]" id="subject-{$localeKey|escape}" value="{$subject.$localeKey|escape}" size="70" maxlength="120" class="textField" /></td> </tr> <tr valign="top"> <td class="label">{fieldLabel name="body-$localeKey" key="email.body"}</td> <td class="value"><textarea name="body[{$localeKey|escape}]" id="body-{$localeKey|escape}" cols="70" rows="20" class="textArea">{$body.$localeKey|escape}</textarea></td> </tr> {foreachelse} <tr valign="top"><td colspan="2"> <h3>{translate key="manager.emails.emailTemplate"}</h3> </td></tr> <tr valign="top"> <td width="20%" class="label">{fieldLabel name="subject-$currentLocale" key="email.subject"}</td> <td width="80%" class="value"><input type="text" name="subject[{$currentLocale|escape}]" id="subject-{$currentLocale|escape}" value="{$subject.$currentLocale|escape}" size="70" maxlength="120" class="textField" /></td> </tr> <tr valign="top"> <td class="label">{fieldLabel name="body-$currentLocale" key="email.body"}</td> <td class="value"><textarea name="body[{$currentLocale|escape}]" id="body-{$currentLocale|escape}" cols="70" rows="20" class="textArea">{$body.$currentLocale|escape}</textarea></td> </tr> {/foreach} </table> {if $canDisable} <p><input type="checkbox" name="enabled" id="emailEnabled" value="1"{if $enabled} checked="checked"{/if} /> <label for="emailEnabled">{translate key="manager.emails.enabled"}</label></p> {/if} <p><input type="submit" value="{translate key="common.save"}" class="button defaultButton" /> <input type="button" value="{translate key="common.cancel"}" class="button" onclick="document.location.href='{url op="emails" escape=false}'" /> <input type="reset" class="button" /></p> </form> </div> {include file="common/footer.tpl"}