<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jsoutputedit.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.jsoutputedit" ValidateRequest="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新增JS调用-搜易站内搜索引擎系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js" type="text/javascript"></script>
<script type="text/javascript" src="editor/xheditor/jquery.js"></script>
<script type="text/javascript" src="editor/xheditor/editor.js"></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span>添加/编辑JS调用</div>
<div id="sdcms_right_b">
<table border="0" align="center" cellpadding="3" cellspacing="1" class="table_b">
   <tr>
     <td colspan="9" class="tdbg">
      <asp:Label runat="server" ID="lblTips" ForeColor="Red" />
     </td>
   </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="tagContent0">
   <tr>
      <td width="100" align="center" class="tdbg">JS说明：</td>
      <td  class="tdbg"><asp:TextBox runat="server" ID="txtJsDesc" CssClass="input" Width="500px" /> 简单的说明</td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">搜索类型：</td>
      <td  class="tdbg">
         <asp:DropDownList runat="server" CssClass="input" ID="ddlSites"></asp:DropDownList>
      </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">输出编码：</td>
      <td  class="tdbg">
         <asp:DropDownList runat="server" CssClass="input" ID="ddlEncodingName">
           <asp:ListItem Text="UTF-8" Value="utf-8" />
           <asp:ListItem Text="GB2312" Value="gb2312" />
         </asp:DropDownList>
      </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">输出模板：</td>
      <td  class="tdbg">
         <asp:TextBox runat="server" ID="txtJsTemplateStr" CssClass="input" Width="500px" TextMode="MultiLine" Height="211px" />
              <br />
         可用标签：{infoid} , {title} , {content} ,{author} , {thumbpic} , {publishdate} , {url} , {mobileurl}
      </td>
   </tr>
</table>  
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" >
    <tr class="tdbg">
	  <td width="100">&nbsp;</td>
      <td><asp:Button runat="server" CssClass="bnt" Text="保存" ID="btnSave" onclick="btnSave_Click" /> </td>
	 </tr>
</table>
</div>
</form>
<script language="javascript" type="text/javascript">
function SetValue(obj,v)
{
    document.getElementById(obj).value = v ;
}
</script>
</body>
</html>
