mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5830 201d5d3c-b55e-5fd7-737f-ddc643e51545
43 lines
1.5 KiB
HTML
43 lines
1.5 KiB
HTML
<!--%import("./js/navigator.js")-->
|
|
|
|
{@ $_pDepth = 0;}
|
|
|
|
<!--@if($colorset == "black" || $colorset == "white")-->
|
|
<!--%import("./css/widget.css")-->
|
|
<!--@end-->
|
|
|
|
<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">
|
|
<div class="widgetTree">
|
|
<ul>
|
|
<!--@foreach($widget_info->arranged_menu as $key => $val)-->
|
|
<!--@if($val->text)-->
|
|
|
|
<!--@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="menu_parent_{$val->node_srl}">
|
|
<!--@if($val->child_count)-->
|
|
<!--@if($val->expand)-->
|
|
<button type="button" class="menu_{$val->node_srl}">+</button>
|
|
<!--@else-->
|
|
<button type="button" class="menu_{$val->node_srl}">-</button>
|
|
<!--@end-->
|
|
<!--@end-->
|
|
<a href="{$val->href}" class="nav_tree_label <!--@if($val->selected)-->selected<!--@end-->">{$val->text}</a>
|
|
|
|
<!--@if($val->child_count)-->
|
|
{@$_pDepth++}
|
|
<ul>
|
|
<!--@else-->
|
|
</li>
|
|
<!--@end-->
|
|
<!--@end-->
|
|
<!--@end-->
|
|
</ul>
|
|
</div>
|
|
</div>
|