<!doctype html>
<html dir="{-:*_LD_-}">
<head>
<meta charset="utf-8" />
<title>{-:@MANAGE-}</title>
{-include:../meta-}
<script>
var GV = {
	_LD_ : '{-:*_LD_-}',
	LANG_NAME : '{-:*LANG_NAME-}'
};
</script>
</head>

<body>
<div class="container margin">

<form id="formEdit" action="" method="post">
<ul class="subnav subnav-tab">
	<li class="active"><a href="#">{-:@EDIT_MENU_SPACE-}</a></li>
</ul>
<div id="tabContent">
	<table class="formTable">
		<tr>
			<td class="inputTitle">{-:@ALIAS-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
				{-:$_MSI['ms_alias']-}
			</td>
			<td class="inputTip">
				<span class="text-danger">*</span> {-:@MS_ALIAS_TIP-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@NAME-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
			{-if:C('LANG.DETECT')-}
				<ul class="subnav subnav-pill margin-bottom" data-switcher="{'connect':'#tabContent_msname'}">
					<li><a href="#">{-:*LANG_NAME|get_langName-}</a></li>
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}<li><a href="#">{-:$lang-}</a></li>{-:/if-}
				{-:/foreach-}
				</ul>
				<div id="tabContent_msname" class="switcher">
					<div class="tabCntnt">
						<input type="text" name="ms_name[{-:*LANG_NAME-}]" validate="/\S+/" value="{-:$_MSI['ms_name'][LANG_NAME]-}" class="control-input input-inline" maxlength="64" size="30">
					</div><!--/.tabCntnt-->
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}<div class="tabCntnt">
						<input type="text" name="ms_name[{-:$alias-}]" validate="/\S+/" value="{-:$_MSI['ms_name'][$alias]-}" class="control-input input-inline" maxlength="64" size="30">
					</div><!--/.tabCntnt-->{-:/if-}
				{-:/foreach-}
				</div>
			{-else:-}
				<input type="text" name="ms_name[{-:*LANG_NAME-}]" validate="/\S+/" value="{-:$_MSI['ms_name'][LANG_NAME]-}" class="control-input input-inline" maxlength="64" size="30">
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}
						<input type="hidden" name="ms_name[{-:$alias-}]" value="{-:$_MSI['ms_name'][$alias]-}">
					{-:/if-}
				{-:/foreach-}
			{-:/if-}
			</td>
			<td class="inputTip">
				<span class="text-danger">*</span> {-:@MS_NAME_TIP-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@DESCRIPTION-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
			{-if:C('LANG.DETECT')-}
				<ul class="subnav subnav-pill margin-bottom" data-switcher="{'connect':'#tabContent_msdescription'}">
					<li><a href="#">{-:*LANG_NAME|get_langName-}</a></li>
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}<li><a href="#">{-:$lang-}</a></li>{-:/if-}
				{-:/foreach-}
				</ul>
				<div id="tabContent_msdescription" class="switcher">
					<div class="tabCntnt">
						<textarea class="control-input" name="ms_description[{-:*LANG_NAME-}]" style="width:480px;height:70px;">{-:$_MSI['ms_description'][LANG_NAME]-}</textarea>
					</div><!--/.tabCntnt-->
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}<div class="tabCntnt">
						<textarea class="control-input" name="ms_description[{-:$alias-}]" style="width:480px;height:70px;">{-:$_MSI['ms_description'][$alias]-}</textarea>
					</div><!--/.tabCntnt-->{-:/if-}
				{-:/foreach-}
				</div>
			{-else:-}
				<textarea class="control-input" name="ms_description[{-:*LANG_NAME-}]" style="width:480px;height:70px;">{-:$_MSI['ms_description'][LANG_NAME]-}</textarea>
				<div style="display:none">
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}
						<textarea name="ms_description[{-:$alias-}]">{-:$_MSI['ms_description'][$alias]-}</textarea>
					{-:/if-}
				{-:/foreach-}
				</div>
			{-:/if-}
			</td>
			<td class="inputTip">
				{-:@MS_DESCRIPTION_TIP-}
			</td>
		</tr>
	</table>
</div>
<div id="operation" class="margin">
	<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
	<input name="token" type="hidden" value="{-:$_TK['token']-}">
	<input type="hidden" value="{-:$_MSI['ms_alias']-}" name="ms_alias">
	<span class="btn btn-info submit" action="{-url:admin@menu_space/edit_space_do-}" to="#formEdit">{-:@SUBMIT-}</span>
	<input class="btn" type="reset" value="{-:@RESET-}">
	<a class="btn" href="{-url:admin@menu_space/list_space-}">{-:@BACK-}</a>
	<span class="btn dialog" to="menuSpaceCode">{-:@GET_CODE-}</span>
</div><!--/#operation-->
</form>

<div style="display:none">
	<div id="menuSpaceCode">
<pre><code>&lt;loga:menu alias=&quot;{-:$_MSI['ms_alias']-}&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;{-php:echo '{';-}-:$m['url']-}&quot; title=&quot;{-php:echo '{';-}-:$m['m_tip']-}&quot; target=&quot;{-php:echo '{';-}-:$m['m_target']-}&quot;&gt;{-php:echo '{';-}-:$m['m_name']-}|{-php:echo '{';-}-:$m['m_alias']-}&lt;/a&gt;
&nbsp;&nbsp;&nbsp;&nbsp;{-php:echo '{';-}-if:!empty($m['m_sub'])-}&lt;span&gt;
&nbsp;&nbsp;&nbsp;&nbsp;{-php:echo '{';-}-foreach:$m['m_sub'],$ms-}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;{-php:echo '{';-}-:$ms['url']-}&quot; title=&quot;{-php:echo '{';-}-:$ms['m_tip']-}&quot; target=&quot;{-php:echo '{';-}-:$ms['m_target']-}&quot;&gt;{-php:echo '{';-}-:$ms['m_name']-}|{-php:echo '{';-}-:$ms['m_alias']-}&lt;/a&gt;
&nbsp;&nbsp;&nbsp;&nbsp;{-php:echo '{';-}-:/foreach-}
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/span&gt;{-php:echo '{';-}-:/if-}
&lt;/loga:menu&gt;</code></pre>
	</div>
</div><!--/hidden-->
</div>
<script src="{-:*__RES__-}js/loga.js"></script>
<script src="{-:*__RES__-}js/jquery.js"></script>
<script src="{-:*__RES__-}fea/js/fea.min.js"></script>
<script src="{-:*__STYLE__-}js/common.js"></script>
<script src="{-:*__STYLE__-}js/admin.js"></script>
</body>
</html>