source: branches/version-2_12-multilang/data/Smarty/templates/admin/products/product_rank.tpl @ 22418

Revision 22418, 7.3 KB checked in by adachi, 11 years ago (diff)

#2060 メッセージIDの振り直し:tpl_153 - tpl199

  • 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-2012 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
25<script type="text/javascript" src="<!--{$TPL_URLPATH}-->js/breadcrumbs.js"></script>
26<script type="text/javascript">//<![CDATA[
27    $(function() {
28        $('h2').breadcrumbs({
29            'bread_crumbs': <!--{$tpl_bread_crumbs}-->
30        });
31    });
32//]]></script>
33
34<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
35<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
36<input type="hidden" name="mode" value="edit" />
37<input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id|h}-->" />
38<input type="hidden" name="category_id" value="<!--{$arrForm.category_id|h}-->" />
39<input type="hidden" name="product_id" value="" />
40<input type="hidden" name="pageno" value="<!--{$tpl_pageno|h}-->" />
41<div id="products" class="contents-main">
42
43    <!--{* ▼画面左 *}-->
44    <div id="products-rank-left">
45        <a href="?"><img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="Folder">&nbsp;<!--{t string="tpl_487"}--></a><br />
46        <!--{section name=cnt loop=$arrTree}-->
47            <!--{assign var=level value="`$arrTree[cnt].level`}-->
48
49            <!--{* 上の階層表示の時にdivを閉じる *}-->
50            <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
51            <!--{if $close_cnt > 0}-->
52                <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
53            <!--{/if}-->
54
55            <!--{* スペース繰り返し *}-->
56            <!--{section name=n loop=$level}-->&nbsp;&nbsp;<!--{/section}-->
57
58            <!--{* カテゴリ名表示 *}-->
59            <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
60            <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false">
61            <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
62                <img src="<!--{$TPL_URLPATH}-->img/contents/folder_open.gif" alt="Folder">
63            <!--{else}-->
64                <img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="Folder">
65            <!--{/if}-->
66            <!--{$disp_name|sfCutString:10:false|h}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
67            <br />
68            <!--{if $arrTree[cnt].display == true}-->
69                <div id="f<!--{$arrTree[cnt].category_id}-->">
70            <!--{else}-->
71                <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
72            <!--{/if}-->
73            <!--{if $smarty.section.cnt.last}-->
74                <!--{section name=n loop=$level}--></div><!--{/section}-->
75            <!--{/if}-->
76            <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
77        <!--{/section}-->
78    </div>
79    <!--{* ▲画面左 *}-->
80
81    <!--▼画面右-->
82    <div id="products-rank-right">
83        <h2><!--{* jQuery で挿入される *}--></h2>
84        <!--{if count($arrProductsList) > 0}-->
85
86            <p class="remark"><!--{t string="tpl_611" escape="none" T_FIELD=$tpl_linemax}--></p>
87            <div class="pager">
88                <!--{$tpl_strnavi}-->
89            </div>
90
91            <!--{if $smarty.const.ADMIN_MODE == '1'}-->
92                <p class="right"><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('renumber', '', ''); return false;"><!--{t string="tpl_612"}--></a></p>
93            <!--{/if}-->
94
95            <table class="list" id="categoryTable">
96                <col width="20%" />
97                <col width="47.5%" />
98                <col width="10%" />
99                <col width="7.5%" />
100                <col width="15%" />
101                <tr class="nodrop nodrag">
102                    <th><!--{t string="tpl_Product code_01"}--></th>
103                    <th><!--{t string="tpl_Product name_01"}--></th>
104                    <th><!--{t string="tpl_Product image_01"}--></th>
105                    <th><!--{t string="tpl_Ranking_01"}--></th>
106                    <th><!--{t string="tpl_Move_01"}--></th>
107                </tr>
108
109                <!--{assign var=rank value=$tpl_start_row}-->
110                <!--{section name=cnt loop=$arrProductsList}-->
111                    <tr>
112                        <td><!--{from_to from=$arrProductsList[cnt].product_code_min to=$arrProductsList[cnt].product_code_max separator="~<br />"}--></td>
113                        <td>
114                            <!--{$arrProductsList[cnt].name|h}-->
115                        </td>
116                        <td align="center">
117                            <!--{* 商品画像 *}-->
118                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProductsList[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrProducts[cnt].name|h}-->">
119                        </td>
120                        <!--{assign var=rank value=`$rank+1`}-->
121                        <td align="center">
122                            <!--{$rank}-->
123                            <!--{if $arrProductsList[cnt].status == "2"}--><br /><!--{t string="tpl_613"}--><!--{/if}-->
124                        </td>
125                        <td align="center">
126                        <!--{* 移動 *}-->
127                        <!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
128                        <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" /><!--{t string="tpl_713"}--><a href="?" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;"><!--{t string="tpl_Move_01"}--></a><br />
129                        <!--{/if}-->
130                        <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1)}-->
131                        <a href="?" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;"><!--{t string="tpl_To top_01"}--></a>
132                        <!--{/if}-->
133                        <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax)}-->
134                        <a href="?" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;"><!--{t string="tpl_To bottom_01"}--></a>
135                        <!--{/if}-->
136                        </td>
137                    </tr>
138                <!--{/section}-->
139            </table>
140        <!--{else}-->
141            <p><!--{t string="tpl_614"}--></p>
142        <!--{/if}-->
143    </div>
144    <!--▲画面右-->
145
146</div>
147</form>
Note: See TracBrowser for help on using the repository browser.