Warning: Can't use blame annotator:
svn blame failed on branches/comu-ver2/data/Smarty/templates/default/admin/products/product_class.tpl: バイナリファイル 'file:///home/svn/open/branches/comu-ver2/data/Smarty/templates/default/admin/products/product_class.tpl' に対しては blame で各行の最終変更者を計算できません 195004

source: branches/comu-ver2/data/Smarty/templates/default/admin/products/product_class.tpl @ 17364

Revision 17364, 7.0 KB checked in by Seasoft, 16 years ago (diff)

XHTML管理画面の不具合修正

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
RevLine 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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<h2>商品規格登録</h2>
25<form name="form1" id="form1" method="post" action="">
26<!--{foreach key=key item=item from=$arrSearchHidden}-->
27<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
28<!--{/foreach}-->
29<input type="hidden" name="mode" value="edit" />
30<input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" />
31<input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" />
32<div id="products" class="contents-main">
33
34  <table>
35    <tr>
36      <th>商品名</th>
37      <td><!--{$arrForm.product_name|escape}--></td>
38    </tr>
39    <tr>
40      <th>規格1<span class="attention">*</span></th>
41      <td>
42        <!--{if $arrErr.select_class_id1}-->
43        <span class="attention"><!--{$arrErr.select_class_id1}--></span>
44        <!--{/if}-->
45        <select name="select_class_id1">
46          <option value="">選択してください</option>
47          <!--{html_options options=$arrClass selected=$arrForm.select_class_id1}-->
48        </select>
49      </td>
50    </tr>
51    <tr>
52      <th>規格2</th>
53      <td>
54        <!--{if $arrErr.select_class_id2}-->
55        <span class="attention"><!--{$arrErr.select_class_id2}--></span>
56        <!--{/if}-->
57        <select name="select_class_id2">
58          <option value="">選択してください</option>
59          <!--{html_options options=$arrClass selected=$arrForm.select_class_id2}-->
60        </select>
61      </td>
62    </tr>
63  </table>
64  <div class="btn">
65    <button type="button" onclick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;" ><span>検索結果へ戻る</span></button>
66    <button type="button" onclick="fnModeSubmit('disp','','')"><span>表示する</span></button>
67    <!--{if count($arrClassCat) > 0}-->
68    <button type="button" onclick="fnModeSubmit('delete','','');"><span>削除する</span></button>
69    <!--{/if}-->
70  </div>
71
72  <!--{if count($arrClassCat) > 0}-->
73           
74  <!--{foreach item=item name=i from=$arrClassCat}-->
75    <!--{if $smarty.foreach.i.first}-->
76      <!--{assign var=cnt value=$smarty.foreach.i.total}--> 
77    <!--{/if}-->
78  <!--{/foreach}-->
79           
80  <div class="btn">
81    <button type="button" onclick="fnAllCheck(); return false;"><span>全選択</span></button>
82    <button type="button" onclick="fnAllUnCheck(); return false;"><span>全解除</span></button>
83    <button type="button" onclick="fnCopyValue('<!--{$cnt}-->', '<!--{$smarty.const.DISABLED_RGB}-->'); return false;"><span>一行目のデータをコピーする</span></button>
84  </div>
85
86  <!--{assign var=class_id1 value=$arrForm.class_id1}-->
87  <!--{assign var=class_id2 value=$arrForm.class_id2}-->
88  <input type="hidden" name="class_id1" value="<!--{$class_id1}-->" />
89  <input type="hidden" name="class_id2" value="<!--{$class_id2}-->" />
90  <table class="list">
91    <tr>
92      <th>登録</th>
93      <th>規格1(<!--{$arrClass[$class_id1]|default:"未選択"}-->)</th>
94      <th>規格2(<!--{$arrClass[$class_id2]|default:"未選択"}-->)</th>
95      <th>商品コード</th>
96      <th>在庫(個)<span class="attention">*</span></th>
97      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th>
98      <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)<span class="attention">*</span></th>
99    </tr>
100    <!--{section name=cnt loop=$arrClassCat}-->
101    <!--{assign var=key value="error:`$smarty.section.cnt.iteration`"}-->
102    <!--{if $arrErr[$key] != ""}-->
103    <tr>
104      <td colspan="8"><span class="attention"><!--{$arrErr[$key]}--></span></td>
105    </tr>
106    <!--{/if}-->
107    <tr >
108      <!--{assign var=key value="check:`$smarty.section.cnt.iteration`"}-->
109      <td align="center">
110        <input type="hidden" name="classcategory_id1:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].classcategory_id1}-->" />
111        <input type="hidden" name="classcategory_id2:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].classcategory_id2}-->" />
112        <input type="hidden" name="name1:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].name1}-->" />
113        <input type="hidden" name="name2:<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrClassCat[cnt].name2}-->" />
114        <input type="checkbox" name="check:<!--{$smarty.section.cnt.iteration}-->" value="1" <!--{if $arrForm[$key] == 1}-->checked="checked"<!--{/if}-->>
115      </td>
116      <td><!--{$arrClassCat[cnt].name1}--></td>
117      <td><!--{$arrClassCat[cnt].name2}--></td>
118      <!--{assign var=key value="product_code:`$smarty.section.cnt.iteration`"}-->
119      <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.STEXT_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td>
120      <!--{assign var=key value="stock:`$smarty.section.cnt.iteration`"}-->
121      <!--{assign var=chkkey value="stock_unlimited:`$smarty.section.cnt.iteration`"}-->
122      <td align="center">
123        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->>
124        <!--{assign var=key value="stock_unlimited:`$smarty.section.cnt.iteration`"}-->
125        <input type="checkbox" name="<!--{$key}-->" value="1" <!--{if $arrForm[$key] == "1"}-->checked<!--{/if}--> onClick="fnCheckStockNoLimit('<!--{$smarty.section.cnt.iteration}-->','<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限
126      </td>
127      <!--{assign var=key value="price01:`$smarty.section.cnt.iteration`"}-->
128      <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td>
129      <!--{assign var=key value="price02:`$smarty.section.cnt.iteration`"}-->
130      <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td>
131    </tr>
132    <!--{/section}-->
133  </table>
134
135  <div class="btn"><button type="submit"><span>この内容で登録する</span></button></div>
136 
137  <!--{/if}-->
138 
139</div>
140</form>
Note: See TracBrowser for help on using the repository browser.