mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@790 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
810f30cf6b
commit
8662753b24
2 changed files with 85 additions and 105 deletions
|
|
@ -1,58 +1,45 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout version="0.1">
|
||||
<title xml:lang="ko">견본 레이아웃</title>
|
||||
<title xml:lang="en">sample layout</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<description xml:lang="ko">
|
||||
견본 레이아웃입니다.
|
||||
가장 기본적인 기능으로 이루어져 있습니다.
|
||||
</description>
|
||||
<description xml:lang="en">sample layout</description>
|
||||
</author>
|
||||
<extra_vars>
|
||||
<var id="top_title">
|
||||
<name xml:lang="ko">상단 제목</name>
|
||||
<name xml:lang="en">top title</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">설명</description>
|
||||
<description xml:lang="en">description</description>
|
||||
<description xml:lang="ko">레이아웃의 상단에 표시할 제목을 입력하세요.</description>
|
||||
</var>
|
||||
<var id="main_menu_name">
|
||||
<name xml:lang="ko">메인 메뉴 명</name>
|
||||
<name xml:lang="en">main_menu_name</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">설명</description>
|
||||
<description xml:lang="en">description</description>
|
||||
<description xml:lang="ko">트리메뉴의 가장 상위에 표시될 이름을 입력하세요.</description>
|
||||
</var>
|
||||
<var id="colorset">
|
||||
<name xml:lang="ko">컬러셋</name>
|
||||
<name xml:lang="en">colorset</name>
|
||||
<type>select</type>
|
||||
<description xml:lang="ko">설명</description>
|
||||
<description xml:lang="en">description</description>
|
||||
<description xml:lang="ko">원하시는 컬러셋을 선택해주세요.</description>
|
||||
<options>
|
||||
<name xml:lang="ko">적색</name>
|
||||
<name xml:lang="en">red</name>
|
||||
<value>red</value>
|
||||
</options>
|
||||
<options>
|
||||
<name xml:lang="ko">청색</name>
|
||||
<name xml:lang="en">blue</name>
|
||||
<value>blue</value>
|
||||
</options>
|
||||
</var>
|
||||
</extra_vars>
|
||||
<menus>
|
||||
<menu id="main_menu">
|
||||
<name xml:lang="ko">주메뉴</name>
|
||||
<name xml:lang="en">main menu</name>
|
||||
<name xml:lang="ko">주 메뉴</name>
|
||||
<maxdepth>2</maxdepth>
|
||||
</menu>
|
||||
<menu id="bottom_menu">
|
||||
<name xml:lang="ko">하단 메뉴 </name>
|
||||
<name xml:lang="en">bottom menu</name>
|
||||
<maxdepth>1</maxdepth>
|
||||
</menu>
|
||||
</menus>
|
||||
|
|
|
|||
|
|
@ -1,104 +1,97 @@
|
|||
<script type="text/javascript">
|
||||
loadTreeMenu("{$main_menu->xml_file}", "main_menu", "menu", "{$layout_info->main_menu_name}");
|
||||
loadTreeMenu("{$main_menu->xml_file}", "main_menu", "menu", "{$layout_info->main_menu_name}");
|
||||
</script>
|
||||
|
||||
<div style="height:50px;border:1px solid;margin-bottom:10px;">
|
||||
{$layout_info->top_title}
|
||||
{$layout_info->top_title}
|
||||
|
||||
<div style="float:right">
|
||||
<div style="float:right">
|
||||
|
||||
<div>
|
||||
<!-- 1차 메뉴 -->
|
||||
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['text'])-->
|
||||
<div>
|
||||
<!-- 1차 메뉴 -->
|
||||
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['text'])-->
|
||||
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
{@ $second_menu_list = $val['list']; }
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
{@ $second_menu_list = $val['list']; }
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<span {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</span>
|
||||
<span {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</span>
|
||||
|
||||
<!--@end--><!--@end-->
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<!-- 2차 메뉴 -->
|
||||
<!--@foreach($second_menu_list as $key => $val)--><!--@if($val['text'])-->
|
||||
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
{@ $third_menu_list = $val['list']; }
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<span {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</span>
|
||||
|
||||
<!--@end--><!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@end--><!--@end-->
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<!-- 2차 메뉴 -->
|
||||
<!--@foreach($second_menu_list as $key => $val)--><!--@if($val['text'])-->
|
||||
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
{@ $third_menu_list = $val['list']; }
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<span {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</span>
|
||||
|
||||
<!--@end--><!--@end-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<table border="0" width="100%" style="table-layout:fixed">
|
||||
<col width="220" />
|
||||
<col width="*" />
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
<img src="./common/tpl/images/blank.gif" class="zbxe_plugin_output" plugin="login_info" skin="default" colorset="normal" style="width:100px;height:100px;"/>
|
||||
</div>
|
||||
<table border="0" width="100%" style="table-layout:fixed">
|
||||
<col width="220" />
|
||||
<col width="*" />
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
<img src="./common/tpl/images/blank.gif" class="zbxe_plugin_output" plugin="login_info" skin="default" colorset="normal" style="width:100px;height:100px;"/>
|
||||
</div>
|
||||
|
||||
<div id="menu"></div>
|
||||
<div id="menu"></div>
|
||||
|
||||
|
||||
<!--@if($third_menu_list)-->
|
||||
<div>
|
||||
<!-- 3차 메뉴 -->
|
||||
<!--@foreach($third_menu_list as $key => $val)--><!--@if($val['text'])-->
|
||||
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<div {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</div>
|
||||
|
||||
<!--@end--><!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<td>
|
||||
<div id="content">
|
||||
{$content}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<div style="margin-top:20px;">
|
||||
<!--@foreach($bottom_menu->list as $key => $val)-->
|
||||
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<span {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</span>
|
||||
|
||||
<!--@end-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--@if($third_menu_list)-->
|
||||
<div>
|
||||
<!-- 3차 메뉴 -->
|
||||
<!--@foreach($third_menu_list as $key => $val)--><!--@if($val['text'])-->
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<div {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</div>
|
||||
<!--@end--><!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
<td>
|
||||
<div id="content">{$content}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<div style="margin-top:20px;">
|
||||
<!--@foreach($bottom_menu->list as $key => $val)-->
|
||||
<!--@if($val['selected'])-->
|
||||
{@ $selected_style = 'style="font-weight:bold;"'}
|
||||
<!--@else-->
|
||||
{@ $selected_style = ''; }
|
||||
<!--@end-->
|
||||
<span {$selected_style}>
|
||||
<a href="#" onclick="return move_url('{$val['href']}','{$val['open_window']}');">{$val['text']}</a>
|
||||
</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue