mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Make the left side area
The answer to the question, https://www.xetown.com/qna/516780 . You can post submenus and some contents on the left.
This commit is contained in:
parent
d29961c95c
commit
2bab4c7a6c
3 changed files with 135 additions and 47 deletions
|
|
@ -113,11 +113,26 @@
|
|||
</nav>
|
||||
<!--// Menu -->
|
||||
</header>
|
||||
<div class="layout_frame layout_body">
|
||||
<div class="layout_frame layout_body<!--@if(in_array($layout_info->left_space, array('Y', 'YM')))--> layout_left_content<!--@end-->">
|
||||
<!--// VISUAL -->
|
||||
<div class="layout_body layout_canvas">
|
||||
<!--// CONTENT -->
|
||||
<div class="layout_content" id="content">
|
||||
<div class="layout_content layout_left_content" cond="in_array($layout_info->left_space, array('Y', 'YM'))">
|
||||
<section class="layout_left layout_dropdown" cond="$layout_info->left_space == 'YM'">
|
||||
<h1 loop="$GNB->list=>$key1,$val1" cond="$val1['selected']"><a href="{$val1['href']}" target="_blank"|cond="$val1['open_window']=='Y'">{$val1['link']}</a></h1>
|
||||
<ul class="layout_dropdown-content" loop="$GNB->list=>$key1,$val1" cond="$val1['selected'] && $val1['list']">
|
||||
<li loop="$val1['list']=>$key2,$val2"><a href="{$val2['href']}" class="active"|cond="$val2['selected']" target="_blank"|cond="$val2['open_window']=='Y'">{$val2['link']}</a>
|
||||
<ul cond="$val2['list']">
|
||||
<li loop="$val2['list']=>$key3,$val3" class="active"|cond="$val3['selected']"><a href="{$val3['href']}" target="_blank"|cond="$val3['open_window']=='Y'">{$val3['link']}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="layout_left" cond="trim($layout_info->left_content)">
|
||||
{$layout_info->left_content}
|
||||
</section>
|
||||
</div>
|
||||
<div class="layout_content" id="content">
|
||||
{$layout_info->before_content}
|
||||
{$content}
|
||||
{$layout_info->after_content}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue