<!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" data-switcher="{'connect':'#tabContent'}">
	<li><a href="#">{-:@INSTALL_EXTENSION-} [{-:$_EI['e_name']-}]</a></li>
</ul>
<div id="tabContent" class="switcher">
	<div class="tabCntnt">
		<table class="formTable">
			<tr>
				<td colspan="2" class="inputTitle">{-:@MANAGE_MENU-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea class="control-input input-inline ltr" name="e_manage_menu" style="width:640px;height:70px;">{-:$_EI['e_manage_menu']-}</textarea>
				</td>
				<td class="inputTip">
					{-:@EXTENSION_MANAGE_MENU_TIP-}
				</td>
			</tr>
			<tr>
				<td colspan="2" class="inputTitle">{-:@EXTENSION_FILE_LIST-} <span class="text-normal text-muted"><span class="text-danger">*</span> {-:@TREATMENT_OF_EXISTING_FILE-}: {-:@TREATMENT_OF_EXISTING_FILE_TIP-}</span></td>
			</tr>
			<tr>
				<td class="inputArea">
				{-foreach:$_EI['file_list'],$k,$file-}
					<label><input disabled="disabled" class="control-input input-inline" type="text" value="{-:$file['filename']-}" size="70">
					<input class="control-input input-inline" checked="checked" type="checkbox" name="file_list[{-:$k-}][overwrite]" value="1"> {-:@OVERWRITE-}</label>
					<input type="hidden" value="{-:$file['filename']-}" name="file_list[{-:$k-}][filename]">
				{-:/foreach-}
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@FILE_LIST_TIP-}
				</td>
			</tr>
			<tr>
				<td colspan="2" class="inputTitle">{-:@INSTALL_SQL-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea id="e_install_sql" class="control-input input-inline ltr" disabled="disabled" style="width:640px;height:120px;">{-:$_EI['e_install_sql']-}</textarea>
				</td>
				<td class="inputTip">{-:@EXTENSION_INSTALL_SQL_TIP-}</td>
			</tr>
			<tr>
				<td colspan="2" class="inputTitle">{-:@INSTALL_PHP-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea id="e_install_php" class="control-input input-inline ltr" disabled="disabled" style="width:640px;height:120px;">{-:$_EI['e_install_php']-}</textarea>
				</td>
				<td class="inputTip">{-:@EXTENSION_INSTALL_PHP_TIP-}</td>
			</tr>
			<tr>
				<td colspan="2" class="inputTitle">{-:@LANGUAGE-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<ul class="subnav subnav-pill margin-bottom" data-switcher="{'connect':'#tabContent_lang'}">
						{-foreach:$_EI['e_lang'],$langName,$lang-}
						<li><a href="#">{-:$langName|get_langName-}</a></li>
						{-:/foreach-}
					</ul>
					<div id="tabContent_lang" class="switcher">
						{-foreach:$_EI['e_lang'],$langName,$lang-}<div class="tabCntnt">
							<textarea id="e_lang[{-:$langName-}]" class="control-input input-inline ltr" disabled="disabled" style="width:600px;height:90px;">{-:$lang-}</textarea>
						</div><!--/.tabCntnt-->{-:/foreach-}
					</div>
				</td>
				<td class="inputTip">{-:@LOGA_PACKAGE_LANG_TIP-}</td>
			</tr>
			<tr>
				<td colspan="2" class="inputTitle">{-:@ROUTE-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea id="e_route" class="control-input input-inline ltr" disabled="disabled" style="width:640px;height:90px;">{-:$_EI['e_route']-}</textarea>
				</td>
				<td class="inputTip">{-:@LOGA_PACKAGE_ROUTE_TIP-}</td>
			</tr>
		</table>
	</div>
</div>
<div id="operation" class="margin">
	<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
	<input name="token" type="hidden" value="{-:$_TK['token']-}">
	<input name="e_hashcode" type="hidden" value="{-:$_EI['e_hashcode']-}">
	<span class="btn btn-info submit" action="{-url:admin@extension/install_extension_do-}" to="#formEdit">{-:@INSTALL-}</span>
	<input class="btn" type="reset" value="{-:@RESET-}">
	<a class="btn" href="{-url:admin@extension/list_extension-}">{-:@BACK-}</a>
</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/extension.js"></script>
</body>
</html>