source: branches/version-2_5-dev/data/Smarty/templates/admin/order/pdf_input.tpl @ 20753

Revision 20753, 5.9 KB checked in by kotani, 10 years ago (diff)

#862 (テンプレート上のエスケープを簡単に)実装漏れ箇所

  • 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) 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
25
26<script type="text/javascript">
27<!--
28self.moveTo(20,20);self.focus();
29
30function lfPopwinSubmit(formName) {
31    win02('about:blank','pdf','1000','900');
32    document[formName].target = "pdf";
33    document[formName].submit();
34    return false;
35}
36//-->
37</script>
38
39<form name="form1" id="form1" method="post" action="?">
40<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
41<input type="hidden" name="mode" value="confirm" />
42<!--{foreach from=$arrForm.order_id item=order_id}-->
43    <input type="hidden" name="order_id[]" value="<!--{$order_id|h}-->">
44<!--{/foreach}-->
45
46<h2><!--コンテンツタイトル-->帳票の作成</h2>
47
48<table class="form">
49    <colgroup width="20%">
50    <colgroup width="80%">
51    <tr>
52        <th>注文番号</th>
53        <td><!--{$arrForm.order_id|@join:', '}--></td>
54    </tr>
55    <tr>
56        <th>発行日<span class="attention">※</span></th>
57        <td><!--{if $arrErr.year}--><span class="attention"><!--{$arrErr.year}--></span><!--{/if}-->
58            <select name="year">
59            <!--{html_options options=$arrYear selected=$arrForm.year}-->
60            </select>年
61            <select name="month">
62            <!--{html_options options=$arrMonth selected=$arrForm.month}-->
63            </select>月
64            <select name="day">
65            <!--{html_options options=$arrDay selected=$arrForm.day}-->
66            </select>日
67        </td>
68    </tr>
69    <tr>
70        <th>帳票の種類</th>
71        <td><!--{if $arrErr.download}--><span class="attention"><!--{$arrErr.download}--></span><!--{/if}-->
72            <select name="type">
73            <!--{html_options options=$arrType selected=$arrForm.type}-->
74            </select>
75        </td>
76    </tr>
77    <tr>
78        <th>ダウンロード方法</th>
79        <td><!--{if $arrErr.download}--><span class="attention"><!--{$arrErr.download}--></span><!--{/if}-->
80            <select name="download">
81            <!--{html_options options=$arrDownload selected=$arrForm.download}-->
82            </select>
83        </td>
84    </tr>
85    <tr>
86        <th>帳票タイトル</th>
87        <td><!--{if $arrErr.title}--><span class="attention"><!--{$arrErr.title}--></span><!--{/if}-->
88            <input type="text" name="title" size="40" value="<!--{$arrForm.title}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
89            <span style="font-size: 80%;">※未入力時はデフォルトのタイトルが表示されます。</span><br />
90        </td>
91    </tr>
92    <tr>
93        <th>帳票メッセージ</th>
94        <td><!--{if $arrErr.msg1}--><span class="attention"><!--{$arrErr.msg1}--></span><!--{/if}-->
95            1行目:<input type="text" name="msg1" size="40" value="<!--{$arrForm.msg1|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
96            <!--{if $arrErr.msg2}--><span class="attention"><!--{$arrErr.msg1}--></span><!--{/if}-->
97            2行目:<input type="text" name="msg2" size="40" value="<!--{$arrForm.msg2|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
98            <!--{if $arrErr.msg3}--><span class="attention"><!--{$arrErr.msg3}--></span><!--{/if}-->
99            3行目:<input type="text" name="msg3" size="40" value="<!--{$arrForm.msg3|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
100            <span style="font-size: 80%;">※未入力時はデフォルトのメッセージが表示されます。</span><br />
101        </td>
102    </tr>
103    <tr>
104        <th>備考</th>
105        <td>
106            1行目:<input type="text" name="etc1" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
107            <!--{if $arrErr.etc2}--><span class="attention"><!--{$arrErr.msg1}--></span><!--{/if}-->
108            2行目:<input type="text" name="etc2" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
109            <!--{if $arrErr.etc3}--><span class="attention"><!--{$arrErr.msg3}--></span><!--{/if}-->
110            3行目:<input type="text" name="etc3" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
111            <span style="font-size: 80%;">※未入力時は表示されません。</span><br />
112        </td>
113    </tr>
114    <!--{if $smarty.const.USE_POINT !== false}-->
115        <tr>
116            <th>ポイント表記</th>
117            <td>
118                <input type="radio" name="disp_point" value="1" checked="checked" />する <input type="radio" name="disp_point" value="0" />しない<br />
119                <span style="font-size: 80%;">※「する」を選択されても、お客様が非会員の場合は表示されません。</span>
120            </td>
121        </tr>
122    <!--{else}-->
123        <input type="hidden" name="disp_point" value="0" />
124    <!--{/if}-->
125</table>
126
127<div class="btn-area">
128    <ul>
129        <li><a class="btn-action" href="javascript:;" onclick="return lfPopwinSubmit('form1');"><span class="btn-next">この内容で作成する</span></a></li>
130    </ul>
131</div>
132
133</form>
134
135<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.