<!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="#">{-:@GENERAL-}</a></li>
	<li><a href="#">{-:@FILE_LIST-}</a></li>
	<li><a href="#">{-:@ADVANCE-}</a></li>
	<li><a href="#">{-:@OTHER-}</a></li>
</ul>
<div id="tabContent" class="switcher">
	<div class="tabCntnt">
		<table class="formTable">
			<tr>
				<td class="inputTitle">{-:@EXTENSION_NAME-}</td>
				<td class="inputTitle">{-:@EXTENSION_ALIAS-}</td>
				<td class="inputTitle">{-:@EXTENSION_TYPE-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					{-:$_EI['e_name']-}
				</td>
				<td class="inputArea">
					{-:$_EI['e_alias']-}
				</td>
				<td class="inputArea">
			{-if:'module' == $_EI['e_type']-}
				{-:@MODULE-}
			{-elseif:'plugin' == $_EI['e_type']-}
				{-:@PLUGIN-}
			{-elseif:'template' == $_EI['e_type']-}
				{-:@TEMPLATE-}
			{-elseif:'patch' == $_EI['e_type']-}
				{-:@PATCH-}
			{-elseif:'other' == $_EI['e_type']-}
				{-:@OTHER-}
			{-:/if-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@AUTHOR-}</td>
				<td class="inputTitle">{-:@AUTHOR_EMAIL-}</td>
				<td class="inputTitle">{-:@AUTHOR_SITE-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					{-:$_EI['e_author']-}
				</td>
				<td class="inputArea">
					{-:$_EI['e_author_email']-}
				</td>
				<td class="inputArea">
					{-:$_EI['e_author_site']-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@EXTENSION_HASHCODE-}</td>
				<td class="inputTitle">{-:@VERSION-}</td>
				<td class="inputTitle">{-:@PUBLISH_TIME-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<span id="e_hashcode" class="badge">{-:$_EI['e_hashcode']-}</span>
				</td>
				<td class="inputArea">
					{-:$_EI['e_version']-}
				</td>
				<td class="inputArea">
					{-:$_EI['e_publish_date']-}
				</td>
			</tr>
			<tr>
				<td colspan="3" class="inputTitle">{-:@INSTRUCTION-}</td>
			</tr>
			<tr>
				<td colspan="3">
					<div class="alert">{-:$_EI['e_instruction']-}</div>
				</td>
			</tr>
		</table>
	</div>
	<div class="tabCntnt">
		<table class="formTable">
			<tr>
				<td class="inputTitle">{-:@EXTENSION_FILE_LIST-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
<textarea class="control-input input-inline ltr" disabled="disabled" style="width:640px;height:300px;">{-foreach:$_EI['file_list'],$file-}
{-:$file['filename']-} 
{-:/foreach-}</textarea>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@FILE_LIST_TIP-}
				</td>
			</tr>
		</table>
	</div>
	<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" disabled="disabled" style="width:640px;height:40px;">{-:$_EI['e_manage_menu']-}</textarea>
				</td>
				<td class="inputTip">
					{-:@EXTENSION_MANAGE_MENU_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">{-:@UNINSTALL_SQL-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea id="e_uninstall_sql" class="control-input input-inline ltr" disabled="disabled" style="width:640px;height:120px;">{-:$_EI['e_uninstall_sql']-}</textarea>
				</td>
				<td class="inputTip">{-:@EXTENSION_UNINSTALL_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">{-:@UNINSTALL_PHP-}</td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea id="e_uninstall_php" class="control-input input-inline ltr" disabled="disabled" style="width:640px;height:120px;">{-:$_EI['e_uninstall_php']-}</textarea>
				</td>
				<td class="inputTip">{-:@EXTENSION_UNINSTALL_PHP_TIP-}</td>
			</tr>
		</table>
	</div>
	<div class="tabCntnt">
		<table class="formTable">
			<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']-}">
	{-if:1 == $_EI['e_status']-}
	<span class="btn submit" action="{-url:admin@extension/uninstall_extension_do-}" to="#formEdit">{-:@UNINSTALL-}</span>
	{-else:-}
	<span class="btn submit" action="{-url:admin@extension/install_extension-}" to="#formEdit">{-:@INSTALL-}</span>
	<span class="btn submit" action="{-url:admin@extension/delete_extension_do-}" to="#formEdit">{-:@DELETE-}</span>
	{-:/if-}
	<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>