source: branches/version-2_5-dev/data/Smarty/templates/admin/mail/input.tpl @ 19909

Revision 19909, 4.6 KB checked in by uemoto, 13 years ago (diff)

#382(管理画面XHTMLに変更)

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