source: branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank.tpl @ 23104

Revision 23104, 5.8 KB checked in by h_yoshimoto, 11 years ago (diff)

#2348 r23077 - r23081 をマージ

  • 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-2013 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">//<![CDATA[
26    $(function() {
27        $('h2').breadcrumbs({
28            'bread_crumbs': <!--{$tpl_bread_crumbs}-->
29        });
30    });
31//]]></script>
32
33<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
34    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
35    <input type="hidden" name="mode" value="edit" />
36    <input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id|h}-->" />
37    <input type="hidden" name="category_id" value="<!--{$arrForm.category_id|h}-->" />
38    <input type="hidden" name="product_id" value="" />
39    <input type="hidden" name="pageno" value="<!--{$tpl_pageno|h}-->" />
40    <div id="products" class="contents-main">
41
42        <!--{* ▼画面左 *}-->
43        <div id="products-rank-left">
44            <ul>
45                <li>
46                    <a href="?"><img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="フォルダ" />&nbsp;ホーム</a>
47                    <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`products/product_rank_tree_fork.tpl" children=$arrTree treeID="f0" display=1}-->
48                </li>
49            </ul>
50        </div>
51        <!--{* ▲画面左 *}-->
52
53        <!--▼画面右-->
54        <div id="products-rank-right">
55            <h2><!--{* jQuery で挿入される *}--></h2>
56            <!--{if count($arrProductsList) > 0}-->
57
58                <p class="remark"><span class="attention"><!--{$tpl_linemax}-->件</span>が該当しました。</p>
59                <div class="pager">
60                    <!--{$tpl_strnavi}-->
61                </div>
62
63                <!--{if $smarty.const.ADMIN_MODE == '1'}-->
64                    <p class="right"><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('renumber', '', ''); return false;">内部順位再割り当て</a></p>
65                <!--{/if}-->
66
67                <table class="list" id="categoryTable">
68                    <col width="20%" />
69                    <col width="47.5%" />
70                    <col width="10%" />
71                    <col width="7.5%" />
72                    <col width="15%" />
73                    <tr class="nodrop nodrag">
74                        <th>商品コード</th>
75                        <th>商品名</th>
76                        <th>商品画像</th>
77                        <th>順位</th>
78                        <th>移動</th>
79                    </tr>
80
81                    <!--{assign var=rank value=$tpl_start_row}-->
82                    <!--{section name=cnt loop=$arrProductsList}-->
83                        <tr>
84                            <td><!--{from_to from=$arrProductsList[cnt].product_code_min to=$arrProductsList[cnt].product_code_max separator="~<br />"}--></td>
85                            <td>
86                                <!--{$arrProductsList[cnt].name|h}-->
87                            </td>
88                            <td align="center">
89                                <!--{* 商品画像 *}-->
90                                <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProductsList[cnt].main_list_image|sfNoImageMainList|h}-->" style="max-width: 65px;max-height: 65;" alt="<!--{$arrProducts[cnt].name|h}-->" />
91                            </td>
92                            <!--{assign var=rank value=`$rank+1`}-->
93                            <td align="center">
94                                <!--{$rank}-->
95                                <!--{if $arrProductsList[cnt].status == "2"}--><br />(非公開)<!--{/if}-->
96                            </td>
97                            <td align="center">
98                            <!--{* 移動 *}-->
99                            <!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
100                            <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="?" onclick="eccube.setModeAndSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br />
101                            <!--{/if}-->
102                            <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1)}-->
103                            <a href="?" onclick="eccube.setModeAndSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
104                            <!--{/if}-->
105                            <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax)}-->
106                            <a href="?" onclick="eccube.setModeAndSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
107                            <!--{/if}-->
108                            </td>
109                        </tr>
110                    <!--{/section}-->
111                </table>
112            <!--{else}-->
113                <p>カテゴリを選択してください。</p>
114            <!--{/if}-->
115        </div>
116        <!--▲画面右-->
117
118    </div>
119</form>
Note: See TracBrowser for help on using the repository browser.