<%@ Page Language="C#" MasterPageFile="~/Blogger/Admin/BloggerAdmin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Blogger.Plugins.RuiaoLink.Admin.LinkCategoryEdit" Codebehind="LinkCategoryEdit.aspx.cs" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMainAdmin" Runat="Server">
<form id="MainForm" runat="server">
<div id="ContentTitle"><%=MyTitle %></div>
<div id="ContentBody">

    <div style="">
    <input type="button" class="LinkButton" value="管理链接" onclick="location='Default<%=ExtensionName %>'" />
    <input type="button" class="LinkButton" value="添加链接" onclick="location='LinkAdd<%=ExtensionName %>'" />
    <input type="button" class="LinkButton" value="链接分类" onclick="location='LinkCategoryManage<%=ExtensionName %>'" />
    </div>
    
    <br />
    <fieldset class="ContentBox">
    <div class="ContentBox_Head" onclick="BoxSwitch('mcBody','siBody','/Blogger/Admin/Images/Box_')"><div style="float:left;">编辑链接分类：</div><div id="siBody" class="SwitchIcon_Down"></div></div> 
    <div class="ContentBox_ContentBox" id="mcBody">
        <div class="ContentBox_ContentItem">
        <table id="MainOptions" width="100%" border="0" cellpadding="3" cellspacing="0" class="Body">

		<tr>
        <td align="right" style="width: 15%">名称：</td>
        <td >
        <img id="LinkIconPreview" alt="" src="" style="display:none;" />
        <asp:DropDownList ID="ddlIcon" runat="server"></asp:DropDownList>
        <asp:TextBox ID="tbName" runat="server" Width="120px"></asp:TextBox>
        </td>
      	</tr>
      	
      	<tr>
        <td align="right" style="width: 15%">显示：</td>
        <td>
        <asp:CheckBox ID="cbxShowImages" runat="server" Text="图片" /><br />
        <asp:CheckBox ID="cbxShowDescription" runat="server" Text="描述" /><br />
        <asp:CheckBox ID="cbxShowRating" runat="server" Text="评级" /><br />
        <asp:CheckBox ID="cbxShowUpdated" runat="server" Text="最后更新" />
        </td>
      	</tr>
      	
      	<tr>
        <td align="right" style="width: 15%">排序：</td>
        <td>
        <asp:DropDownList ID="ddlSortOrder" runat="server"></asp:DropDownList>
        <asp:CheckBox ID="cbxSortAsc" runat="server" Text="升序" Checked="true" />
        </td>
      	</tr>
		
		<tr>
		<td align="right"style="width: 15%">限制：</td>
		<td >最多显示<asp:TextBox ID="tbListLimit" runat="server" Width="20px"></asp:TextBox>个链接</td>
		</tr>
      	
	    </table>
	    
	    <div style="text-align:right; padding:5px">
        <asp:Button ID="btSave" runat="server" Text="添加链接分类" CssClass="SubmitButton" OnClick="btSave_Click" />
        </div>
        </div>
    </div>
	</fieldset>
    
</div>
<div id="ContentBottom"></div>
</form>
</asp:Content>