Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\UserType\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UserType.Edit" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="#" onclick="GoList();return false;"><%= DefineEnum.???.Define() %></a>] </span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmUserType" action="" onsubmit="return false;"> <div> <tr> <td colspan="2"> <h3 style="color: cornflowerblue">????????????</h3> </td> </tr> <table class="g-table-cntacomm"> <%-- ???????????? ????????? ????????? ???????????????? ????????? ???????????????? ????????? ???????????? ??????????????????? ???????????? ??????????????????? ?????????????? ????????????????--%> <%--<tr> <th title="<%= Define.Get("UserType_???????").ToScriptTag() %>" style="width: 220px;"> <%= Define.Get("UserType_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentDomain_Name_Code", IN(this.ViewData["_UserType"], this.ViewData["_UserType.ParentDomain.Name"] + "[" + this.ViewData["_UserType.ParentDomain.Code"] + "]")) { ReadOnly = true, Width=400, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmUserType [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", this.ViewData["_UserType.ParentDomain.Guid"])%> <a href="#selectDomain" class="decoration-none" onclick="return SelectDomain('#frmUserType [name=ParentDomain]','#frmUserType [name=ParentDomain_Name_Code]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentDomain") %> </td> </tr>--%> <tr> <th title="<%= Define.Get("UserType_??????").ToScriptTag() %>"> <%= Define.Get("UserType_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_UserType.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????").ToScriptTag() %>"> <%= Define.Get("UserType_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("CommentCan", this.ViewData["_UserType.CommentCan"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("DownloadVideo", this.ViewData["_UserType.DownloadVideo"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_VideoEnable_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("VideoEnable", this.ViewData["_UserType.VideoEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExamineVideo_???????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExamineVideo", this.ViewData["_UserType.ExamineVideo"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_AlbumEnable_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("AlbumEnable", this.ViewData["_UserType.AlbumEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExamineAlbum_???????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExamineAlbum", this.ViewData["_UserType.ExamineAlbum"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasMeeting) { %> <tr> <th title="<%= Define.Get("UserType_????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_MeetingEnable_???????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("MeetingEnable", this.ViewData["_UserType.MeetingEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_???????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExamineMeeting_??????????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExamineMeeting", this.ViewData["_UserType.ExamineMeeting"], true, false) { Class = ""}%> </td> </tr> <% } else { %> <%= new HtmlCheckBox("MeetingEnable", false, true, false) { Class = "hide"}%> <%= new HtmlCheckBox("ExamineMeeting", false, true, false) { Class = "hide"}%> <% } %> <% if (SettingGroup.HasSubject) { %> <tr> <th title="<%= Define.Get("UserType_????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_SubjectEnable_??????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("SubjectEnable", this.ViewData["_UserType.SubjectEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_???????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExamineSubject_??????????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExamineSubject", this.ViewData["_UserType.ExamineSubject"], true, false) { Class = ""}%> </td> </tr> <% } else { %> <%= new HtmlCheckBox("SubjectEnable", false, true, false) { Class = "hide"}%> <%= new HtmlCheckBox("ExamineSubject", false, true, false) { Class = "hide"}%> <% } %> <%if (SettingGroup.HasWeike) { %> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_WeikeEnable_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("WeikeEnable", this.ViewData["_UserType.WeikeEnable"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasLive) { %> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ApplicationEnable_???????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ApplicationEnable", this.ViewData["_UserType.ApplicationEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExamineApplication_???????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExamineApplication", this.ViewData["_UserType.ExamineApplication"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_?????????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("GrowUp", this.ViewData["_UserType.GrowUp"], true, false) { Class = ""}%> </td> </tr> <% } else { %> <%= new HtmlCheckBox("ApplicationEnable", false, true, false) { Class = "hide"}%> <%= new HtmlCheckBox("ExamineApplication", false, true, false) { Class = "hide"}%> <% } %> <% if(SettingGroup.HasPublicClass) { %> <tr> <th title="<%= Define.Get("UserType_????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_PublicClassEnable_??????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("PublicClassEnable", this.ViewData["_UserType.PublicClassEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_???????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("PublicClassUserEnable", this.ViewData["_UserType.PublicClassUserEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_???????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExaminePublicClass_?????????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExaminePublicClass", this.ViewData["_UserType.ExaminePublicClass"], true, false) { Class = ""}%> </td> </tr> <%} %> <tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">????????????</h3> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexAllCateVideo", this.ViewData["_UserType.MyIndexAllCateVideo"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexSelfCateVideo", this.ViewData["_UserType.MyIndexSelfCateVideo"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_?????????????????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????????????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexTagAndTagVideo", this.ViewData["_UserType.MyIndexTagAndTagVideo"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexAlbum", this.ViewData["_UserType.MyIndexAlbum"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexSubject", this.ViewData["_UserType.MyIndexSubject"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexApplication", this.ViewData["_UserType.MyIndexApplication"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexMessage", this.ViewData["_UserType.MyIndexMessage"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexNotice", this.ViewData["_UserType.MyIndexNotice"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MyIndexTotal", this.ViewData["_UserType.MyIndexTotal"], true, false) { Class = ""}%> </td> </tr> <%-- <tr> <th title="<%= Define.Get("UserType_????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MeetingUserEnable", this.ViewData["_UserType.MeetingUserEnable"], true, false) { Class = ""}%> </td> </tr>--%> <tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">?????????????????</h3> </td> </tr> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("VideoShow", this.ViewData["_UserType.VideoShow"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasBook) { %> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("TextbookShow", this.ViewData["_UserType.TextbookShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasSubject) { %> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("SubjectShow", this.ViewData["_UserType.SubjectShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasMeeting) { %> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MeetingShow", this.ViewData["_UserType.MeetingShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasPublicClass) { %> <tr> <th title="<%= Define.Get("UserType_?????????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("PublicClassShow", this.ViewData["_UserType.PublicClassShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasDomain) { %> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("SchoolShow", this.ViewData["_UserType.SchoolShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasLive) { %> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("LiveShow", this.ViewData["_UserType.LiveShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <tr> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("AlbumShow", this.ViewData["_UserType.AlbumShow"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasLive) { %> <tr style="display: none;"> <th title="<%= Define.Get("UserType_??????????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("ReplayShow", this.ViewData["_UserType.ReplayShow"], true, false) { Class = ""}%> </td> </tr> <% } %> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("ShowOnline", this.ViewData["_UserType.ShowOnline"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasWeike) { %> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("WeikeShow", this.ViewData["_UserType.WeikeShow"], true, false) { Class = ""}%> </td> </tr> <% } if (SettingGroup.HasSubject) { %> <tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">???????????</h3> </td> </tr> <%--??????????? ?????? ????????????? ???????????? ???????????? ???????????????????--%> <%--<tr> <th title="<%= Define.Get("UserType_??????").ToScriptTag() %>"> <%= Define.Get("UserType_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("InstructorManager", this.ViewData["_UserType.InstructorManager"], true, false) { Class = ""}%> </td> </tr>--%> <tr> <th title="<%= Define.Get("UserType_?????????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_InstructorEnable_??????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("InstructorEnable", this.ViewData["_UserType.InstructorEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("MeetingUserEnable", this.ViewData["_UserType.MeetingUserEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("SubjectUserEnable", this.ViewData["_UserType.SubjectUserEnable"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasSubject) { %> <tr> <th title="<%= Define.Get("UserType_???????????????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_STEnable_??????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("STEnable", this.ViewData["_UserType.STEnable"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasVoiceComment) { %> <tr> <th title="<%= Define.Get("UserType_?????????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("LiveComment", this.ViewData["_UserType.LiveComment"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasLiveListen) { %> <tr> <th title="<%= Define.Get("UserType_??????????").ToScriptTag() %>"> <%= Define.Get("UserType_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("ListenLesson", this.ViewData["_UserType.ListenLesson"], true, false) { Class = ""}%> </td> </tr> <% } %> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_AlbumShare_????????????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("AlbumShare", this.ViewData["_UserType.AlbumShare"], true, false) { Class = ""}%> </td> </tr> <tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">?????????</h3> </td> </tr> <%--????????? ?????? ????????? ??????????? ????????????? ????????????? ????????????? --%> <tr> <th title="<%= Define.Get("UserType_??????").ToScriptTag() %>"> <%= Define.Get("UserType_??????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_HeadMasterEnable_????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("HeadMasterEnable", this.ViewData["_UserType.HeadMasterEnable"], true, false) { Class = ""}%> </td> </tr> <%--<% if (SettingGroup.HasSubject) { %> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_ExpertPanelEnable_????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("ExpertPanelEnable", this.ViewData["_UserType.ExpertPanelEnable"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasDomain) { %> <tr> <th title="<%= Define.Get("UserType_???????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_SetGroupEnable_??????????????????????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("SetGroupEnable", this.ViewData["_UserType.SetGroupEnable"], true, false) { Class = ""}%> </td> </tr> <% } %>--%> <%-- <% if (SettingGroup.HasST) { %>--%> <%-- <% } %>--%> <%--<% if (SettingGroup.HasVideoMonitoring) { %> <tr> <th title="<%= Define.Get("UserType_?????????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("CourseLive", this.ViewData["_UserType.CourseLive"], true, false) { Class = ""}%> </td> </tr> <% } %>--%> <%--<tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">???????????</h3> </td> </tr>--%> <%--??????????? ?????????--%> <%--<tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("IsManager", this.ViewData["_UserType.IsManager"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_?????????").ToScriptTag() %>"> <%= Define.Get("UserType_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("CommentManager", this.ViewData["_UserType.CommentManager"], true, false) { Class = ""}%> </td> </tr>--%> <tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">?????????</h3> </td> </tr> <%--????????? ?????? --%> <tr> <th title="<%= Define.Get("UserType_??????").ToScriptTag() %>"> <%= Define.Get("UserType_??????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_TeacherEbable_?????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("TeacherEbable", this.ViewData["_UserType.TeacherEbable"], true, false) { Class = ""}%> </td> </tr> <% if(SettingGroup.HasTeacherSpace) { %> <tr> <th title="<%= Define.Get("UserType_????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_GreateTeacherEnable_?????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("GreateTeacherEnable", this.ViewData["_UserType.GreateTeacherEnable"], true, false) { Class = ""}%> </td> </tr> <%} %> <tr> <td colspan="2"> <hr /> <h3 style="color: cornflowerblue">?????????</h3> </td> </tr> <%--????????? ??????--%> <tr> <th title="<%= Define.Get("UserType_??????").ToScriptTag() %>"> <%= Define.Get("UserType_??????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_StudentEbable_???????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("StudentEbable", this.ViewData["_UserType.StudentEbable"], true, false) { Class = ""}%> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("UserType_???").ToScriptTag() %>"> <%= Define.Get("UserType_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_UserType.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_?????").ToScriptTag() %>"> <%= Define.Get("UserType_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_UserType.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????????????").ToScriptTag() %>"> <%= Define.Get("UserType_????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_DomainMaster_??????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("DomainMaster", this.ViewData["_UserType.DomainMaster"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_???????????????").ToScriptTag() %>"> <%= Define.Get("UserType_???????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_RegisterEnable_????????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("RegisterEnable", this.ViewData["_UserType.RegisterEnable"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("UserType_????").ToScriptTag() %>" style="width: 220px;"> <%= Define.Get("UserType_????")%>?? </th> <td class="tooltip" title="<%= Define.Get("UserType_Status_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("Status", this.ViewData["_UserType.Status"], 1, 0) { DefaultChecked = 0 }%> </td> </tr> <tr> <th></th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_UserType"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_UserType"])%></span> </div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span> </div> </td> </tr> </table> </form> </div> </div> </div> </div> </div> </div> </div> </div> </body> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/UserTypeAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmUserType" }); //????? $("#frmUserType [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("UserType_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("UserType_SortNumber_???????????").ToScriptChar() %>" } }); //??????? //$("#frmUserType [name=ParentDomain]").formValidator({ //targetFocus: "#frmUserType [name=ParentDomain_Name_Code]", //validatorGroup: "Edit", //rules: //{ // required: null //}, //message: //{ // required: "<%= Define.Get("UserType_DomainGuid_????????????").ToScriptChar() %>" //} //}); //?????? $("#frmUserType [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("UserType_Name_???????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { UserTypeAjax.Insert($("#frmUserType"), send, function (json) { document.getElementById("frmUserType").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { UserTypeAjax.Update($("#frmUserType"), send, function (json) { document.getElementById("frmUserType").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmUserType").KEY.value; UserTypeAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de