<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="Detail.aspx.cs"
    Inherits="ETongJin.Search.Web.PlugIn.Detail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table class="tableBorder" border="0" cellspacing="1" cellpadding="3">
  <tr>
      <th colspan="2">插件的详细信息</th>
  </tr>
   <form id="edit" name="edit" method="post" action="">
  <tr>
    <td width="150" class="td2">插件 ID：</td>
    <td class="td1"><%=GetNodeText("id") %></td>
  </tr>
  <tr>
    <td class="td2">插件名称：</td>
    <td class="td1"><%=GetNodeText("name") %></td>
  </tr>
  <tr>
    <td class="td2">发布地址：</td>
    <td class="td1"><a href=" <%=GetNodeText("url") %>" target="_blank" title="插件的发布地址"> <%=GetNodeText("url") %></a></td>
  </tr>
  <tr>
    <td class="td2">插件作者：</td>
    <td class="td1"><a href="<%=GetNodeText("author/url") %>" target="_blank" title="作者主页"> <%=GetNodeText("author/name") %></a></td>
  </tr>
  <tr>
    <td class="td2">作者邮箱：</td>
    <td class="td1"><a href="mailto:<%=GetNodeText("author/email") %>" title="作者邮箱"> <%=GetNodeText("author/email") %></a></td>
  </tr>
  <tr>
    <td class="td2">发布日期：</td>
    <td class="td1"><%=GetNodeText("pubdate") %></td>
  </tr>
  <tr>
    <td class="td2">插件简介：</td>
    <td class="td1"><%=GetNodeText("note") %></td>
  </tr>
  <tr>
    <td class="td2">适用于：</td>
    <td class="td1"><%=GetNodeText("adapted") %></td>
  </tr>
  <tr>
    <td class="td2">插件版本：</td>
    <td class="td1"><%=GetNodeText("version") %></td>
  </tr>
  <tr>
    <td class="td2">修正日期：</td>
    <td class="td1"><%=GetNodeText("modified") %></td>
  </tr>
  <tr>
    <td class="td2">管理入口：</td>
    <td class="td1"><%=GetNodeText("path") %></td>
  </tr>
  <% if(ETongJin.Search.Config.PlugInConfig.Instance.CheckStatus( GetNodeText("id"))){ %>
  <tr>
    <td class="td2">【<a href="act.aspx?act=PlugInDisable&name=<%=GetNodeText("id")%>">停用此插件</a>】</td>
    <td class="td1">使该插件不起作用。</td>
  </tr>
  <%}else { %>
  <tr>
    <td class="td2">【<a href="act.aspx?act=PlugInActive&name=<%=GetNodeText("id")%>">启用此插件</a>】</td>
    <td class="td1">激活该插件，使之正常。</td>
  </tr>
  <%} %>
  <tr>
    <td class="td2">【<a href="Pack.aspx?name=<%=GetNodeText("id") %>" title="导出插件为 EPI 文件">导出插件</a>】</td>
    <td class="td1">将此插件导出为 EPI 插件安装包文件, 并保存于 PluginMng 插件中的 Export 目录下。</td>
  </tr>
  <tr>
    <td class="td2">【<a href="act.aspx?act=plugindel&name=<%=GetNodeText("id") %>"  title="删除此插件" onclick="return window.confirm('您将删除此插件的所有文件, 确定吗?');">删除插件</a>】</td>
    <td class="td1">从 Plugin 目录下删除该插件, 正在使用的插件无法删除。</td>
  </tr>
  <tr>
    <td colspan="2" class="td3"><input onclick="self.location.href='List.aspx';" type="button" value="返回插件管理" title="返回插件管理页" Class="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" />
    <input onclick="window.scrollTo(0,0);" type="button" value="TOP" title="返回页面顶部" Class="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" /></td>
  </tr></form>
</table>
</asp:Content>
