mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
merge & tag 1.4.3
git-svn-id: http://xe-core.googlecode.com/svn/trunk@7597 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
762ebbf445
commit
289973781a
200 changed files with 2296 additions and 1827 deletions
30
modules/menu/tpl/menu.html
Normal file
30
modules/menu/tpl/menu.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<!--%import("css/mmenu.css")-->
|
||||
<div class="bd">
|
||||
<ul class="gn">
|
||||
{@ $start = true }
|
||||
{@ $depth = 0 }
|
||||
<!--@foreach($menu as $val)-->
|
||||
<!--@if(!$start && $val->depth == $depth)-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@if($val->depth > $depth)-->
|
||||
<ul>
|
||||
<!--@else-->
|
||||
<!--@while($val->depth < $depth)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1}
|
||||
<!--@end-->
|
||||
<!--@endif-->
|
||||
<li><a href="{$val->href}" >» {$val->link}</a>
|
||||
{@ $start = false }
|
||||
{@ $depth = $val->depth }
|
||||
<!--@end-->
|
||||
<!--@while($depth > 0)-->
|
||||
</li>
|
||||
</ul>
|
||||
{@ $depth -= 1}
|
||||
<!--@end-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue