source: branches/version-2_12-multilang/data/Smarty/templates/default_en/frontparts/bloc/category.tpl @ 22262

Revision 22262, 3.8 KB checked in by michael_nelson, 11 years ago (diff)

#1992 英文テキストを調整

Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22
23<script type="text/javascript">//<![CDATA[
24    $(function(){
25        $('#category_area li.level1:last').css('border-bottom', 'none');
26    });
27//]]></script>
28<div class="block_outer">
29    <div id="category_area">
30        <h2><img src="<!--{$TPL_URLPATH}-->img/title/icon_bloc_category.gif" alt="" /><span class="title">Categories</span></h2>
31        <div class="block_body">
32            <!--{strip}-->
33                <ul id="categorytree">
34                    <!--{assign var=preLev value=1}-->
35                    <!--{assign var=firstdone value=0}-->
36                    <!--{section name=cnt loop=$arrTree}-->
37                        <!--{* 表示フラグがTRUEなら表示 *}-->
38                        <!--{if $arrTree[cnt].display == 1}-->
39                            <!--{assign var=level value=`$arrTree[cnt].level`}-->
40                            <!--{assign var=levdiff value=`$level-$preLev`}-->
41                                <!--{if $levdiff > 0}-->
42                                    <ul>
43                                <!--{elseif $levdiff == 0 && $firstdone == 1}-->
44                                    </li>
45                                <!--{elseif $levdiff < 0}-->
46                                    <!--{section name=d loop=`$levdiff*-1`}-->
47                                            </li>
48                                        </ul>
49                                    <!--{/section}-->
50                                    </li>
51                                <!--{/if}-->
52                            <li class="level<!--{$level}--><!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> onmark<!--{/if}-->">
53                                <p>
54                                    <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"<!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> class="onlink"<!--{/if}-->><!--{$arrTree[cnt].category_name|h}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
55                                </p>
56                            <!--{if $firstdone == 0}--><!--{assign var=firstdone value=1}--><!--{/if}-->
57                            <!--{assign var=preLev value=`$level`}-->
58                        <!--{/if}-->
59                        <!--{* セクションの最後に閉じタグを追加 *}-->
60                        <!--{if $smarty.section.cnt.last}-->
61                            <!--{if $preLev-1 > 0}-->
62                                <!--{section name=d loop=`$preLev-1`}-->
63                                    </li>
64                                </ul>
65                                <!--{/section}-->
66                                </li>
67                            <!--{else}-->
68                                </li>
69                            <!--{/if}-->
70                        <!--{/if}-->
71                    <!--{/section}-->
72                </ul>
73            <!--{/strip}-->
74        </div>
75    </div>
76</div>
Note: See TracBrowser for help on using the repository browser.