mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
글 개수에 CSS 클래스 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6390 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
159e29f59f
commit
a72e94f11c
1 changed files with 40 additions and 40 deletions
|
|
@ -1,40 +1,40 @@
|
|||
<!--%import("js/category.js")-->
|
||||
{@ $_pDepth = 0;}
|
||||
|
||||
<!--@if($colorset == "black" || $colorset == "white")-->
|
||||
<!--%import("./css/widget.css")-->
|
||||
<!--@end-->
|
||||
<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">
|
||||
<div class="widgetTree">
|
||||
<a href="{getSiteUrl($widget_info->domain,'','mid',$widget_info->module_info->mid?$widget_info->module_info->mid:$layout_info->target_mid)}" class="title <!--@if(!$category)-->strong<!--@end-->"><!--@if($widget_info->total_title)-->{$widget_info->total_title}<!--@else-->{$widget_info->module_info->browser_title}<!--@end--></a> <span>({$widget_info->total_document_count})</span>
|
||||
<ul>
|
||||
<!--@foreach($widget_info->category_list as $key => $val)-->
|
||||
<!--@if($_pDepth > $val->depth)-->
|
||||
<!--@for($i=$val->depth; $i<$_pDepth; $i++)-->
|
||||
</li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
{@ $_pDepth = $val->depth}
|
||||
<!--@end-->
|
||||
|
||||
<li class="<!--@if($val->last)-->nav_tree_last<!--@end--> <!--@if($val->expand)-->nav_tree_on<!--@else-->nav_tree_off<!--@end-->" id="category_parent_{$val->category_srl}">
|
||||
<!--@if($val->child_count)-->
|
||||
<!--@if($val->expand)-->
|
||||
<button type="button" class="category_{$val->category_srl}">+</button>
|
||||
<!--@else-->
|
||||
<button type="button" class="category_{$val->category_srl}">-</button>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getSiteUrl($widget_info->domain, '','mid',$widget_info->module_info->mid, 'category',$val->category_srl)}" class="nav_tree_label <!--@if($val->selected)-->selected<!--@end-->">{$val->text}</a>
|
||||
<!--@if($val->document_count)--><span>({$val->document_count})</span><!--@end-->
|
||||
|
||||
<!--@if($val->child_count)-->
|
||||
{@$_pDepth++}
|
||||
<ul>
|
||||
<!--@else-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--%import("js/category.js")-->
|
||||
{@ $_pDepth = 0;}
|
||||
|
||||
<!--@if($colorset == "black" || $colorset == "white")-->
|
||||
<!--%import("./css/widget.css")-->
|
||||
<!--@end-->
|
||||
<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">
|
||||
<div class="widgetTree">
|
||||
<a href="{getSiteUrl($widget_info->domain,'','mid',$widget_info->module_info->mid?$widget_info->module_info->mid:$layout_info->target_mid)}" class="title <!--@if(!$category)-->strong<!--@end-->"><!--@if($widget_info->total_title)-->{$widget_info->total_title}<!--@else-->{$widget_info->module_info->browser_title}<!--@end--></a> <span class="sum">({$widget_info->total_document_count})</span>
|
||||
<ul>
|
||||
<!--@foreach($widget_info->category_list as $key => $val)-->
|
||||
<!--@if($_pDepth > $val->depth)-->
|
||||
<!--@for($i=$val->depth; $i<$_pDepth; $i++)-->
|
||||
</li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
{@ $_pDepth = $val->depth}
|
||||
<!--@end-->
|
||||
|
||||
<li class="<!--@if($val->last)-->nav_tree_last<!--@end--> <!--@if($val->expand)-->nav_tree_on<!--@else-->nav_tree_off<!--@end-->" id="category_parent_{$val->category_srl}">
|
||||
<!--@if($val->child_count)-->
|
||||
<!--@if($val->expand)-->
|
||||
<button type="button" class="category_{$val->category_srl}">+</button>
|
||||
<!--@else-->
|
||||
<button type="button" class="category_{$val->category_srl}">-</button>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getSiteUrl($widget_info->domain, '','mid',$widget_info->module_info->mid, 'category',$val->category_srl)}" class="nav_tree_label <!--@if($val->selected)-->selected<!--@end-->">{$val->text}</a>
|
||||
<!--@if($val->document_count)--><span class="sum">({$val->document_count})</span><!--@end-->
|
||||
|
||||
<!--@if($val->child_count)-->
|
||||
{@$_pDepth++}
|
||||
<ul>
|
||||
<!--@else-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue