<%@ Page Language="C#" MasterPageFile="../Admin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Public.Admin.LinkCategoryEdit" Codebehind="LinkCategoryEdit.aspx.cs" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">

    <fieldset class="ContentBox">
    <div class="Head" onclick="BoxSwitch('mc_MemberNotice','si_MemberNotice')"><div class="Title"><%=MyTitle %></div><div id="si_MemberNotice" class="SwitchIcon_Up"></div></div>
    <div class="Body" id="mc_MemberNotice">        
        <div class="ContentItem_03"><div class="ContentItem_03a" style="width:120px"><strong>快捷操作：</strong></div><div class="ContentItem_03b" style="width:649px">
        <input type="button" class="LinkButton" value="添加链接" onclick="location='LinkAdd<%=ExtensionName %>'" />
        <input type="button" class="LinkButton" value="链接管理" onclick="location='LinkManage<%=ExtensionName %>'" />
        <input type="button" class="LinkButton" value="链接分类管理" onclick="location='LinkCategoryManage<%=ExtensionName %>'" />
        </div></div>
    </div>
    <div class="Bottom"></div>
	</fieldset>
	<div class="ContentBox_Separator"></div>
	
    <fieldset class="ContentBox">
    <div class="Head" onclick="BoxSwitch('mc_MainBody','si_MainBody')"><div class="Title">基本资料</div><div id="si_MainBody" class="SwitchIcon_Up"></div></div>
    <div class="Body" id="mc_MainBody">
        <table border="0" cellspacing="1" class="EditTable">
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">分类名称<br /><span class="Text_Notes"></span></td>
                <td class="ValueTD">
                <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>
                <span class="Text_Stress">*</span> <span class="Text_Notes"><%=Ruiao.Public.Entity.pbLinkCategory.Name_MixLength%>-<%=Ruiao.Public.Entity.pbLinkCategory.Name_MaxLength%></span>
                </td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">显示<br /><span class="Text_Notes">链接在完整模式下的显示规则</span></td>
                <td class="ValueTD">
                <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 class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">排序<br /><span class="Text_Notes">链接的排序规则</span></td>
                <td class="ValueTD">
                <asp:DropDownList ID="ddlSortOrder" runat="server"></asp:DropDownList><asp:CheckBox ID="cbxSortAsc" runat="server" Text="升序" Checked="true" />
                </td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">显示限制<br /><span class="Text_Notes">在非完整模式下该分类最多显示链接的数量，0为不显示，-1为无限制</span></td>
                <td class="ValueTD">最多显示 <asp:TextBox ID="tbListLimit" runat="server" Width="20px" /> 个链接
                <span class="Text_Stress">*</span> 
                </td>
            </tr>
            <tr class="sepItemTR">
                <td class="NameTD"></td>
                <td class="ValueTD"><asp:Button ID="btSave" runat="server" Text="保存设置" OnClick="btSave_Click" CssClass="SubmitButton" /></td>
            </tr>  	
	    </table>
    </div>
    <div class="Bottom"></div>
	</fieldset>
	<div class="ContentBox_Separator"></div>
</asp:Content>

