source: branches/comu-ver2/data/Smarty/templates/default/admin/mail/input.tpl @ 17351

Revision 17351, 4.6 KB checked in by pineray, 16 years ago (diff)
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
25<!--{foreach key=key item=val from=$arrHidden}-->
26<input type="hidden" name="<!--{$key}-->" value="<!--{$val|escape}-->" />
27<!--{/foreach}-->
28<div id="mail" class="contents-main">
29  <h2>配信設定:配信内容設定</h2>
30  <table class="form">
31    <tr>
32      <th>テンプレート選択<span class="attention"> *</span></th>
33      <td>
34        <!--{if $arrErr.template_id}--><span class="attention"><!--{$arrErr.template_id}--></span><!--{/if}-->
35        <select name="template_id" onchange="return fnInsertValAndSubmit( document.form1, 'mode', 'template', '' ) " style="<!--{$arrErr.template_id|sfGetErrorColor}-->">
36        <option value="" selected="selected">選択してください</option>
37        <!--{html_options options=$arrTemplate selected=$list_data.template_id}-->
38        </select>
39      </td>
40    </tr>
41   
42    <!--{* バッチモードの場合のみ表示 *}-->
43    <!--{if $smarty.const.MELMAGA_BATCH_MODE}-->
44    <tr>
45      <th>配信時間設定<span class="attention"> *</span></th>
46      <td>
47        <!--{if $arrErr.send_year || $arrErr.send_month || $arrErr.send_day || $arrErr.send_hour || $arrErr.send_minutes}--><span class="attention"><!--{$arrErr.send_year}--><!--{$arrErr.send_month}--><!--{$arrErr.send_day}--><!--{$arrErr.send_hour}--><!--{$arrErr.send_minutes}--></span><br /><!--{/if}-->
48        <select name="send_year" style="<!--{$arrErr.send_year|sfGetErrorColor}-->">
49        <!--{html_options options=$arrYear selected=$arrNowDate.year}-->
50        </select>年
51        <select name="send_month" style="<!--{$arrErr.send_month|sfGetErrorColor}-->">
52        <!--{html_options options=$objDate->getMonth() selected=$arrNowDate.month}-->
53        </select>月
54        <select name="send_day" style="<!--{$arrErr.send_day|sfGetErrorColor}-->">
55        <!--{html_options options=$objDate->getDay() selected=$arrNowDate.day}-->
56        </select>日
57        <select name="send_hour" style="<!--{$arrErr.send_hour|sfGetErrorColor}-->">
58        <!--{html_options options=$objDate->getHour() selected=$arrNowDate.hour}-->
59        </select>時
60        <select name="send_minutes" style="<!--{$arrErr.send_minutes|sfGetErrorColor}-->">
61        <!--{html_options options=$objDate->getMinutesInterval() selected=$arrNowDate.minutes}-->
62        </select>分
63      </td>
64    </tr>
65    <!--{/if}-->
66  </table>
67
68  <!--{if $list_data.template_id}-->
69  <table class="form">
70    <tr>
71      <th>Subject<span class="attention"> *</span></th>
72      <td>
73        <!--{if $arrErr.subject}--><span class="attention"><!--{$arrErr.subject}--></span><!--{/if}-->
74        <input type="text" name="subject" size="65" class="box65" <!--{if $arrErr.subject}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$list_data.subject|escape}-->" />
75      </td>
76    </tr>
77    <tr>
78      <th>本文<span class="attention"> *</span><br />(名前差し込み時は {name} といれてください)</th>
79      <td>
80        <!--{if $arrErr.body}--><span class="attention"><!--{$arrErr.body}--></span><!--{/if}-->
81        <textarea name="body" cols="90" rows="40" class="area90" <!--{if $arrErr.body}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$list_data.body|escape}--></textarea>
82      </td>
83    </tr>
84  </table>
85  <!--{/if}-->
86
87  <div class="btn">
88    <button type="button" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'back', '' )"><span>検索画面に戻る</span></button>
89    <button type="submit" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_confirm', '' )" ><span>確認ページへ</span></button>
90  </div>
91</div>
92<input type="hidden" name="mode" value="template" />
93<input type="hidden" name="mail_method" value="<!--{$list_data.mail_method}-->" />
94</form>
Note: See TracBrowser for help on using the repository browser.