source: branches/version-2_5-dev/data/Smarty/templates/admin/products/product_rank.tpl @ 19770

Revision 19770, 5.7 KB checked in by nanasess, 13 years ago (diff)
  • #793(非推奨機能の削除)
    • 未使用 tpl ファイルを削除
  • #382(管理画面XHTMLに変更)
    • デザイン性を柔軟にするため, button タグを a タグに変更
  • Property svn:eol-style set to LF
  • 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="?" enctype="multipart/form-data">
25<input type="hidden" name="mode" value="edit" />
26<input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id}-->" />
27<input type="hidden" name="category_id" value="<!--{$arrForm.category_id}-->" />
28<input type="hidden" name="product_id" value="" />
29<input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" />
30<div id="products" class="contents-main">
31
32  <!--{* ▼画面左 *}-->
33  <div id="products-rank-left">
34    <a href="?">▼ホーム</a><br />
35    <!--{section name=cnt loop=$arrTree}-->
36      <!--{assign var=level value="`$arrTree[cnt].level`}-->
37     
38      <!--{* 上の階層表示の時にdivを閉じる *}-->
39      <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
40      <!--{if $close_cnt > 0}-->
41        <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
42      <!--{/if}-->
43               
44      <!--{* スペース繰り返し *}-->
45      <!--{section name=n loop=$level}-->  <!--{/section}-->
46     
47      <!--{* カテゴリ名表示 *}-->
48      <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
49      <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false">
50      <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
51        <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif">
52      <!--{else}-->
53        <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif">
54      <!--{/if}-->
55      <!--{$disp_name|sfCutString:20|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
56    <br />         
57      <!--{if $arrTree[cnt].display == true}-->
58        <div id="f<!--{$arrTree[cnt].category_id}-->">
59      <!--{else}-->
60        <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
61      <!--{/if}-->
62      <!--{if $smarty.section.cnt.last}-->
63        <!--{section name=n loop=$level}--></div><!--{/section}-->
64      <!--{/if}-->
65      <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
66    <!--{/section}-->
67  </div>
68  <!--{* ▲画面左 *}-->
69
70  <!--▼画面右-->
71  <div id="products-rank-right">
72  <!--{if count($arrProductsList) > 0}-->
73                   
74    <p><!--{$tpl_linemax}-->件が該当しました。</p>
75    <!--{* ▼ページナビ *}-->
76    <!--{$tpl_strnavi}-->
77    <!--{* ▲ページナビ *}-->
78   
79    <!--{if $smarty.const.ADMIN_MODE == '1'}-->
80        <p class="right"><a class="btn_normal" href="javascript:;" onclick="fnModeSubmit('renumber', '', '');">内部順位再割り当て</a></p>
81    <!--{/if}-->
82   
83    <table class="list">
84      <tr>
85        <th>順位</th>
86        <th>商品コード</th>
87        <th>商品画像</th>
88        <th>商品名</th>
89        <th>移動</th>
90      </tr>
91      <!--{assign var=rank value=$tpl_start_row}-->
92      <!--{section name=cnt loop=$arrProductsList}-->
93        <tr>
94          <!--{assign var=rank value=`$rank+1`}-->
95          <td align="center">
96            <!--{$rank}-->
97            <!--{if $arrProductsList[cnt].status == "2"}--><br />(非公開)<!--{/if}-->
98          </td>
99          <td><!--{from_to from=$arrProductsList[cnt].product_code_min to=$arrProductsList[cnt].product_code_max separator="~<br />"}--></td>
100          <td align="center">
101            <!--{* 商品画像 *}-->
102            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsList[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProducts[cnt].name|escape}-->">
103          </td>
104          <td align="center">
105            <!--{$arrProductsList[cnt].name|escape}-->
106          </td>
107         
108          <td align="center">
109          <!--{* 移動 *}-->
110          <!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
111          <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="?" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br />
112          <!--{/if}-->
113          <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1) }-->
114          <a href="?" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
115          <!--{/if}-->
116          <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax) }-->
117          <a href="?" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
118          <!--{/if}-->
119          </td>
120        </tr>
121      <!--{/section}-->
122    </table>
123   
124    <!--{* ▼ページナビ *}-->
125    <!--{$tpl_strnavi}-->
126    <!--{* ▲ページナビ *}-->
127  <!--{else}-->
128    <p>カテゴリを選択してください。</p>
129  <!--{/if}-->
130  </div>
131  <!--▲画面右-->
132
133</div>
134</form>   
Note: See TracBrowser for help on using the repository browser.