source: branches/version-2_13-dev/data/Smarty/templates/admin/products/category_tree_fork.tpl @ 22949

Revision 22949, 2.5 KB checked in by Seasoft, 9 years ago (diff)

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2013 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<ul <!--{if $treeID != ""}-->id="<!--{$treeID}-->"<!--{/if}--> style="<!--{if !$display}-->display: none;<!--{/if}-->">
24    <!--{foreach from=$children item=child}-->
25        <li class="level<!--{$child.level}-->">
26            <!--{* カテゴリ名表示 *}-->
27            <!--{assign var=disp_name value="`$child.category_id`.`$child.category_name`"}-->
28            <!--{if $child.level != $smarty.const.LEVEL_MAX}-->
29                <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$child.category_id}-->); return false;">
30                <!--{if $arrForm.parent_category_id == $child.category_id}-->
31                    <img src="<!--{$TPL_URLPATH}-->img/contents/folder_open.gif" alt="フォルダ" />
32                <!--{else}-->
33                    <img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="フォルダ" />
34                <!--{/if}-->
35                <!--{$disp_name|sfCutString:10:false|h}--></a>
36            <!--{else}-->
37                <img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="フォルダ" />
38                <!--{$disp_name|sfCutString:10:false|h}-->
39            <!--{/if}-->
40            <!--{if in_array($child.category_id, $arrParentID)}-->
41                <!--{assign var=disp_child value=1}-->
42            <!--{else}-->
43                <!--{assign var=disp_child value=0}-->
44            <!--{/if}-->
45            <!--{if isset($child.children|smarty:nodefaults)}-->
46                <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`products/category_tree_fork.tpl" children=$child.children treeID="f`$child.category_id`" display=$disp_child}-->
47            <!--{/if}-->
48        </li>
49    <!--{/foreach}-->
50</ul>
Note: See TracBrowser for help on using the repository browser.