source: branches/version-2_13-dev/data/Smarty/templates/admin/order/mail.tpl @ 23061

Revision 23061, 5.2 KB checked in by pineray, 7 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
ウィンドウ関連.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • 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-2013 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    <input type="hidden" name="mode" value="confirm" />
28    <input type="hidden" name="order_id_array" value="<!--{$order_id_array}-->" />
29    <!--{foreach key=key item=item from=$arrSearchHidden}-->
30        <!--{if is_array($item)}-->
31            <!--{foreach item=c_item from=$item}-->
32            <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" />
33            <!--{/foreach}-->
34        <!--{else}-->
35            <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
36        <!--{/if}-->
37    <!--{/foreach}-->
38    <div id="order" class="contents-main">
39        <h2>メール配信</h2>
40
41        <!--{if $order_id_count == 1}-->
42        <table class="list">
43            <tr>
44                <th>処理日</th>
45                <th>通知メール</th>
46                <th>件名</th>
47            </tr>
48            <!--{section name=cnt loop=$arrMailHistory}-->
49            <tr class="center">
50                <td><!--{$arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
51                <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
52                <td><!--{$arrMAILTEMPLATE[$key]|h}--></td>
53                <td><a href="?" onclick="eccube.common.win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|h}--></a></td>
54            </tr>
55            <!--{/section}-->
56        </table>
57        <!--{/if}-->
58
59        <table class="form">
60            <tr>
61                <th>テンプレート<span class="attention"> *</span></th>
62                <td>
63                    <!--{assign var=key value="template_id"}-->
64                    <span class="attention"><!--{$arrErr[$key]}--></span>
65                    <select name="template_id" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('change', '', '');">
66                    <option value="" selected="selected">選択してください</option>
67                    <!--{html_options options=$arrMAILTEMPLATE selected=$arrForm[$key].value|h}-->
68                    </select>
69                </td>
70            </tr>
71            <tr>
72                <th>メールタイトル<span class="attention"> *</span></th>
73                <td>
74                    <!--{assign var=key value="subject"}-->
75                    <span class="attention"><!--{$arrErr[$key]}--></span>
76                    <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" />
77                </td>
78            </tr>
79            <tr>
80                <th>ヘッダー</th>
81                <td>
82                    <!--{assign var=key value="header"}-->
83                    <span class="attention"><!--{$arrErr[$key]}--></span>
84                    <textarea name="<!--{$arrForm[$key].keyname}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" cols="75" rows="12" class="area75"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea>
85                </td>
86            </tr>
87            <tr>
88                <td colspan="2" class="center">動的データ挿入部分</td>
89            </tr>
90            <tr>
91                <th>フッター</th>
92                <td>
93                    <!--{assign var=key value="footer"}-->
94                    <span class="attention"><!--{$arrErr[$key]}--></span>
95                    <textarea name="<!--{$arrForm[$key].keyname}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" cols="75" rows="12" class="area75"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea>
96                </td>
97            </tr>
98        </table>
99        <div class="btn-area">
100            <ul>
101                <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
102                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', '', 'mode', 'confirm'); return false;"><span class="btn-next">送信内容を確認</span></a></li>
103            </ul>
104        </div>
105    </div>
106</form>
Note: See TracBrowser for help on using the repository browser.