source:
branches/version-2_12-multilang/data/Smarty/templates/admin/mail/input.tpl
@
22230
Revision 22230, 3.7 KB checked in by Seasoft, 11 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | <!--{* |
2 | /* |
3 | * This file is part of EC-CUBE |
4 | * |
5 | * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. |
6 | * |
7 | * http://www.lockon.co.jp/ |
8 | * |
9 | * This program is free software; you can redistribute it and/or |
10 | * modify it under the terms of the GNU General Public License |
11 | * as published by the Free Software Foundation; either version 2 |
12 | * of the License, or (at your option) any later version. |
13 | * |
14 | * This program is distributed in the hope that it will be useful, |
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | * GNU General Public License for more details. |
18 | * |
19 | * You should have received a copy of the GNU General Public License |
20 | * along with this program; if not, write to the Free Software |
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
22 | */ |
23 | *}--> |
24 | |
25 | <form name="form1" id="form1" method="post" action="?"> |
26 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
27 | <!--{foreach key=key item=item from=$arrHidden}--> |
28 | <!--{if is_array($item)}--> |
29 | <!--{foreach item=c_item from=$item}--> |
30 | <input type="hidden" name="<!--{$key}-->[]" value="<!--{$c_item|h}-->" /> |
31 | <!--{/foreach}--> |
32 | <!--{else}--> |
33 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
34 | <!--{/if}--> |
35 | <!--{/foreach}--> |
36 | <input type="hidden" name="mode" value="template" /> |
37 | <input type="hidden" name="mail_method" value="<!--{$arrForm.mail_method.value}-->" /> |
38 | <div id="mail" class="contents-main"> |
39 | <table class="form"> |
40 | <tr> |
41 | <th><!--{t string="tpl_331" escape="none"}--></th> |
42 | <td> |
43 | <!--{assign var=key value="template_id"}--> |
44 | <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> |
45 | <select name="<!--{$key}-->" onchange="return fnInsertValAndSubmit( document.form1, 'mode', 'template', '' ) " style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
46 | <option value="" selected="selected"><!--{t string="tpl_068"}--></option> |
47 | <!--{html_options options=$arrTemplate selected=$arrForm[$key].value}--> |
48 | </select> |
49 | </td> |
50 | </tr> |
51 | </table> |
52 | |
53 | <!--{if $arrForm.template_id.value}--> |
54 | <table class="form"> |
55 | <tr> |
56 | <th><!--{t string="tpl_311_1" escape="none"}--></th> |
57 | <td> |
58 | <!--{assign var=key value="subject"}--> |
59 | <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> |
60 | <input type="text" name="subject" size="65" class="box65" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" value="<!--{$arrForm[$key].value|h}-->" /> |
61 | </td> |
62 | </tr> |
63 | <tr> |
64 | <th><!--{t string="tpl_333_1" escape="none"}--></th> |
65 | <td> |
66 | <!--{assign var=key value="body"}--> |
67 | <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}--> |
68 | <textarea name="body" cols="90" rows="40" class="area90" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea> |
69 | </td> |
70 | </tr> |
71 | </table> |
72 | <!--{/if}--> |
73 | |
74 | <div class="btn-area"> |
75 | <ul> |
76 | <li><a class="btn-action" href="javascript:;" onclick="return fnInsertValAndSubmit( document.form1, 'mode', 'back', '' ); return false;"><span class="btn-prev"><!--{t string="tpl_227"}--></span></a></li> |
77 | <li><a class="btn-action" href="javascript:;" onclick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_confirm', '' ); return false;" ><span class="btn-next"><!--{t string="tpl_228"}--></span></a></li> |
78 | </ul> |
79 | </div> |
80 | </div> |
81 | </form> |
Note: See TracBrowser
for help on using the repository browser.