<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HomeShortcut_Form.aspx.cs"
    Inherits="RM.Web.RMBase.SysPersonal.HomeShortcut_Form" %>

<!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 runat="server">
    <title><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HomeShortcut_Form_title")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <script type="text/javascript">
        //全取系统图标
        function SelectOpenImg() {
            var url = "../RMBase/SysMenu/Icons_List.aspx?Size=32";
            top.openDialog(url, 'Icons_List', '<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_tubiao")%>', 615, 400, 100, 100);
        }
        //全取图标回调赋值
        function Get_Menu_Img(img) {
            $("#Img_Setup_Img").attr("src", '../../Themes/Images/32/' + img);
            $("#Setup_Img").val(img);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" class="frm">
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Menu_Form_name")%>：
            </th>
            <td>
                <input id="Setup_IName" runat="server" type="text" class="txt" datacol="yes" err="快捷功能"
                    checkexpession="NotNull" style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Menu_Form_mubiao")%>：
            </th>
            <td>
                <select id="Target" class="select" runat="server" style="width: 87%">
                    <option value="Iframe">Iframe</option>
                    <option value="Open">Open</option>
                    <option value="href">href</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_List_ico")%>：
            </th>
            <td>
                <input id="Setup_Img" type="hidden" runat="server" datacol="yes" err="菜单图标"
                    checkexpession="NotNull" />
                <img id="Img_Setup_Img" src="/Themes/Images/illustration.png" runat="server" alt=""
                    style="vertical-align: middle; padding-right: 10px;" />
                <a href="javascript:void(0)" class="button green" onclick="SelectOpenImg()"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_xuanqu")%></a>
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_shunxu")%>：
            </th>
            <td>
                <input id="SortCode" runat="server" type="text" class="txt" datacol="yes" err="显示顺序"
                    checkexpession="Num" style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Menu_Form_ljdz")%>：
            </th>
            <td>
                <textarea id="NavigateUrl" class="txtRemark" runat="server" datacol="yes" err="连接地址"
                    checkexpession="NotNull" style="width: 85.5%;
                    height: 50px;"></textarea>
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Explain")%>：
            </th>
            <td>
                <textarea id="Setup_Remak" class="txtRemark" runat="server" style="width: 85.5%;
                    height: 50px;"></textarea>
            </td>
        </tr>
    </table>
    <div class="frmbottom">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return CheckDataValid('#form1');"
            OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
        <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
            <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
    </div>
    </form>
</body>
</html>
