<!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">

<ul class="subnav subnav-tab">
	<li><a href="{-url:admin@option/edit_option_site-}">{-:@SITE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_core-}">{-:@CORE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_platform-}">{-:@PLATFORM-}</a></li>
	<li class="active"><a href="{-url:admin@option/edit_option_language-}">{-:@LANGUAGE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_index-}">{-:@INDEX-}</a></li>
	<li><a href="{-url:admin@option/edit_option_upload-}">{-:@UPLOAD-}</a></li>
	<li><a href="{-url:admin@option/edit_option_image-}">{-:@IMAGE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_interaction-}">{-:@INTERACTION-}</a></li>
	<li><a href="{-url:admin@option/edit_option_administrator-}">{-:@ADMINISTRATOR-}</a></li>
	<li><a href="{-url:admin@option/edit_custom_option-}">{-:@CUSTOM_OPTION-}</a></li>
</ul>

<form id="formEdit" class="form" action="" method="post">
	<div id="tabContent">
		<table class="formTable margin">
			<tr>
				<td class="inputTitle">{-:@DEFAULT_LANGUAGE-} [language/default]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<table id="langsetList" class="table table-hover table-bordered">
						<tr>
							<th scope="col">{-:@ALIAS-}</th>
							<th scope="col">{-:@NAME-}</th>
							<th scope="col">{-:@DEFAULT-}</th>
						</tr>
					{-foreach:$_LS,$alias,$lang-}
						<tr>
							<td>
								<label><input type="checkbox" name="language[enable][]" {-if:in_array($alias, $_O['language']['enable'])-} checked="checked"{-:/if-} value="{-:$alias-}"> {-:$alias-}</label>
							</td>
							<td>
								<label><input type="text" size="20" maxlength="255" class="control-input input-sm" value="{-:$lang-}" name="langset[{-:$alias-}]"></label>
							</td>
							<td><label><input type="radio" name="language[default]" {-if:$alias==$_O['language']['default']-} checked="checked"{-:/if-} value="{-:$alias-}"> {-:@SET_DEFAULT-}</label></td>
						</tr>
					{-:/foreach-}
					</table>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@LANGUAGE_DEFAULT_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@LANGUAGE_CHANGE-} [language/change]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="language[change]"{-if:0==$_O['language']['change']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="language[change]"{-if:1==$_O['language']['change']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@LANGUAGE_CHANGE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@LANGUAGE_URL_SUFFIX-} [language/url_suffix]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="language[url_suffix]"{-if:0==$_O['language']['url_suffix']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="language[url_suffix]"{-if:1==$_O['language']['url_suffix']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@LANGUAGE_URL_SUFFIX_TIP-}
				</td>
			</tr>
		</table>
	</div>

	<div id="operation">
		<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
		<input name="token" type="hidden" value="{-:$_TK['token']-}">
		<span class="btn btn-info submit" action="{-url:admin@option/edit_option_language_do-}" to="#formEdit">{-:@SUBMIT-}</span>
		<input class="btn" type="reset" value="{-:@RESET-}">
	</div><!--/#operation-->
</form>

</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>
<script src="{-:*__STYLE__-}js/option.js"></script>
</body>
</html>