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

Revision 20407, 5.8 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

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