source: branches/version-2_5-dev/data/Smarty/templates/admin/basis/delivery_input.tpl @ 20116

Revision 20116, 7.1 KB checked in by nanasess, 12 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • 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-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<input type="hidden" name="mode" value="edit" />
26<!--{assign var=key value="deliv_id"}-->
27<input type="hidden" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" />
28<div id="basis" class="contents-main">
29  <h2>配送業者登録</h2>
30
31  <table>
32    <tr>
33      <th>配送業者名<span class="attention"> *</span></td>
34      <td colspan="3">
35      <!--{assign var=key value="name"}-->
36      <span class="attention"><!--{$arrErr[$key]}--></span>
37      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td>
38    </tr>
39    <tr>
40      <th>名称<span class="attention"> *</span></td>
41      <td colspan="3">
42      <!--{assign var=key value="service_name"}-->
43      <span class="attention"><!--{$arrErr[$key]}--></span>
44      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td>
45    </tr>
46    <tr>
47      <th>説明</td>
48      <td colspan="3">
49      <!--{assign var=key value="remark"}-->
50      <span class="attention"><!--{$arrErr[$key]}--></span>
51      <textarea name="<!--{$arrForm[$key].keyname}-->" cols="60" rows="8" class="area60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key].value|h}--></textarea></td>
52    </tr>
53    <tr>
54      <th>伝票No.URL</td>
55      <td colspan="3">
56      <!--{assign var=key value="confirm_url"}-->
57      <span class="attention"><!--{$arrErr[$key]}--></span>
58      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td>
59    </tr>
60    <!--{section name=cnt loop=$smarty.const.DELIVTIME_MAX}-->
61    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
62    <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}-->
63    <!--{assign var=key value="deliv_time`$smarty.section.cnt.iteration`"}-->
64    <!--{assign var=key_next value="deliv_time`$smarty.section.cnt.iteration+1`"}-->
65    <!--{if $type == 0}-->
66      <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}-->
67      <tr>
68        <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td>
69      </tr>   
70      <!--{/if}-->
71      <tr>
72      <th>お届け時間<!--{$keyno}--></td>
73      <!--{if $smarty.section.cnt.last}-->
74      <!--{assign var=colspan value="3"}--> 
75      <!--{else}-->
76      <!--{assign var=colspan value="1"}-->
77      <!--{/if}-->
78      <td colspan="<!--{$colspan}-->">
79      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="20" class="box20" /></td>
80    <!--{else}-->
81      <th>お届け時間<!--{$keyno}--></td>
82      <td><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> </td>
83      </tr>
84    <!--{/if}-->
85    <!--{/section}-->
86
87  </table>
88
89  <h2>取扱商品種別</h2>
90  <!--{assign var=key value="product_type_id"}-->
91  <table>
92    <tr>
93      <th>商品種別</th>
94      <td><span class="attention"><!--{$arrErr[$key]}--></span><!--{html_radios name=$key options=$arrProductType selected=$arrForm[$key].value separator='&nbsp;&nbsp;'}--></td>
95    </tr>
96  </table>
97
98  <h2>取扱支払方法</h2>
99  <!--{assign var=key value="payment_ids"}-->
100  <table>
101    <tr>
102      <th>支払方法</th>
103      <td>
104        <span class="attention"><!--{$arrErr[$key]}--></span>
105        <!--{html_checkboxes name=$key options=$arrPayments selected=$arrForm[$key].value separator='&nbsp;&nbsp;'}-->
106      </td>
107    </tr>
108  </table>
109
110  <!--{if $smarty.const.INPUT_DELIV_FEE}-->
111  <h2>配送料登録</h2>
112  <div class="btn">※全国一律送料 <input type="text" name="fee_all" class="box10" /> 円に設定する <a class="btn-normal" href="javascript:;" onclick="fnSetDelivFee(<!--{$smarty.const.DELIVFEE_MAX}-->); return false;"><span>反映</span></a></div>
113  <table>
114    <!--{section name=cnt loop=$smarty.const.DELIVFEE_MAX}-->
115    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
116    <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}-->
117    <!--{assign var=key value="fee`$smarty.section.cnt.iteration`"}-->
118    <!--{assign var=key_next value="fee`$smarty.section.cnt.iteration+1`"}-->
119 
120    <!--{if $type == 0}-->
121      <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}-->
122      <tr>
123        <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td>
124      </tr>   
125      <!--{/if}-->
126      <tr>
127      <th><!--{$arrPref[$keyno]}--></td>
128      <!--{if $smarty.section.cnt.last}-->
129      <!--{assign var=colspan value="3"}--> 
130      <!--{else}-->
131      <!--{assign var=colspan value="1"}-->
132      <!--{/if}-->
133      <td width="247" colspan="<!--{$colspan}-->">
134      <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円</td>
135    <!--{else}-->
136      <th><!--{$arrPref[$keyno]}--></td>
137      <td width="248"><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円</td>
138      </tr>
139    <!--{/if}-->
140    <!--{/section}-->
141  </table>
142  <!--{/if}-->
143
144  <div class="btn-area">
145    <ul>
146      <li><a class="btn-action" href="javascript:;" onclick="location.href='./delivery.php';"><span class="btn-prev">前のページに戻る</span></a></li>
147      <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
148    </ul>
149  </div>
150</div>
151</form>
Note: See TracBrowser for help on using the repository browser.