<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddSubMenu.aspx.cs" Inherits="KstCMS.KstCMS_Manager.SystemSet.SoftFace.Menu.AddSubMenu" %>

<html>
<head  runat="server">
    <title>增加子菜单</title>
</head>
<body>
    <form id="form1" runat="server">

              <asp:ScriptManager ID="ScriptManager1" runat="server" AllowCustomErrorsRedirect="false">
    </asp:ScriptManager>

     <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional"  runat="server">
      <ContentTemplate>  

<asp:Panel ID="Panel1" runat="server" CssClass="MainBox">
    


    <table class="PageTitle" width="100%"><tr><td><img src="<%=SysRootUrl %>/KstCMS_Manager/images/notify_new.gif" align="absmiddle" />  增加子菜单</td></tr></table>
    
    
<table width="100%" cellpadding="5" cellspacing="0" class="InputParentTable">
  <tr class="Linetr1" onMouseOver="this.className='Linetr2';" onMouseOut="this.className='Linetr1';">
    <td width="29%" class="Line"><strong>主菜单代码：</strong><br>
   <span class="TipsSpan"></td>
    <td width="71%" class="Line">
        <asp:TextBox ID="sMENU_ID" runat="server" Width="50" MaxLength="2" CssClass="Read_input_text"></asp:TextBox> <span class="Red">*</span>
 </td>
  </tr>


  <tr class="Linetr1" onMouseOver="this.className='Linetr2';" onMouseOut="this.className='Linetr1';">
    <td width="29%" class="Line"><strong>子菜单代码：</strong><br>
   <span class="TipsSpan"> (此代码共分2段，每两位代表一级菜单，为2位或4位数字，请隔开输入）</span></td>
    <td width="71%" class="Line">
        <asp:TextBox ID="MENU_ID" runat="server" Width="100" MaxLength="4" CssClass="input_text"></asp:TextBox> <span class="Red">*</span>如：菜单代码 格式 <img src="<%=SysRootUrl %>/KstCMS_Manager/images/menu.gif" align="absmiddle" />
 </td>
  </tr>
  <tr class="Linetr1" onMouseOver="this.className='Linetr2';" onMouseOut="this.className='Linetr1';">

    <td class="Line"><strong>菜单名称：</strong><br></td>
    <td class="Line">
        <asp:TextBox ID="MENU_NAME" runat="server" Width="300" MaxLength="100" CssClass="input_text"></asp:TextBox>  <span class="Red">*</span></td>
  </tr>
  <tr class="Linetr1" onMouseOver="this.className='Linetr2';" onMouseOut="this.className='Linetr1';">

    <td class="Line"><strong>菜单图标：</strong><br>
    <span class="TipsSpan"> （菜单名称左则的小图标文件名,直接输入文件名即可，不用输入扩展名）</span></td>
    <td class="Line">
        <asp:TextBox ID="MENU_IMAGE" runat="server" Width="200" MaxLength="100" CssClass="input_text"></asp:TextBox>  <span class="Red">*</span></td>
  </tr>
  <tr class="Linetr1" onMouseOver="this.className='Linetr2';" onMouseOut="this.className='Linetr1';">

    <td class="Line"><strong>模块地址：<br>
    </strong><span class="TipsSpan"> (模块地址)</span></td>
    <td class="Line"> <asp:TextBox ID="MENU_CODE" runat="server" Width="200" MaxLength="100" CssClass="input_text"></asp:TextBox><span class="Red">*</span></td>
  </tr>
  <tr>
    <td >&nbsp;</td>
    <td >
        <asp:Button ID="Button1" runat="server" Text="确 定" CssClass="smallButton" OnClientClick="return checkForm(this.form);" />
        
        <input type="button" value="返 回" class="smallButton" onclick="history.go(-1)" />
        
        </td>
  </tr>
</table>
<table style="border:1px solid #cccccc; line-height:20px; padding:2px;" width="100%"><tr><td>
<img src="<%=SysRootUrl %>/KstCMS_Manager/images/attention.gif" align="absmiddle" /> <b>菜单定义简明指南</b>
    <hr />
子菜单模块路径定义方式，应根据此菜单项的类型决定：

类型一：如果此菜单下仍存在下级菜单，则菜单代码为四位数字，格式如：0203，每两位代表一级菜单，如果此菜单没有下级菜单，则为两位。为方便以插入其它菜单，请隔位数字输入。<br />

类型二：如果此菜单是挂接CMS系统中的模块，则填写程序路径，格式如：email，则实际对应的路径是：CMS安装目录/wwwroot/KstCMS_Manager/email。<br />

类型三：如果此菜单是挂接外部的B/S结构的系统，则填写该系统网址，格式如：<%=SoftUrl%>，注意：请一定要以http://开头。<br />

图片：图片对应CMS安装目录images/menu/下gif图片，譬如图片填写email对应的图片是：CMS安装目录/wwwroot/KstCMS_Manager/images/menu/email.gif 
</td></tr></table>
    
    
</asp:Panel>
          <asp:UpdateProgress ID="UpdateProgress1" runat="server">
          <ProgressTemplate>正在更新,请稍候...</ProgressTemplate>
          
          </asp:UpdateProgress>
    </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
