Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Domain\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Domain.List1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1 ckb"> <%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.??????????????????.Define(), Lang = ".listContainer .trsel" }%> </th> <th class="wd2"> </th> <% foreach (var field in this.Fields) { switch (field) { case "Code": //Domain_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Code").ToScriptTag() %>',event)"> <%= Define.Get("Domain_??????").HtmlEncode() %> <%= OrderBy("Code") %> </span> </th> <% break; case "Name": //Domain_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Domain_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "IsMaster": //Domain_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsMaster").ToScriptTag() %>',event)"> <%= Define.Get("Domain_?????????").HtmlEncode() %> <%= OrderBy("IsMaster") %> </span> </th> <% break; case "DomainType": //Domain_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"DomainType").ToScriptTag() %>',event)"> <%= Define.Get("Domain_??????").HtmlEncode() %> <%= OrderBy("DomainType") %> </span> </th> <%-- <% break; case "Logo": // Domain_Logo %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Logo").ToScriptTag() %>',event)"> <%= Define.Get("Domain_Logo").HtmlEncode() %> <%= OrderBy("Logo") %> </span> </th>--%> <% break; case "APPLogo": //Domain_APPLogo %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"APPLogo").ToScriptTag() %>',event)"> <%= Define.Get("Domain_APPLogo").HtmlEncode() %> <%= OrderBy("APPLogo") %> </span> </th> <% break; case "WebSite": //Domain_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"WebSite").ToScriptTag() %>',event)"> <%= Define.Get("Domain_??????").HtmlEncode() %> <%= OrderBy("WebSite") %> </span> </th> <% break; case "RecourseSite": //Domain_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"RecourseSite").ToScriptTag() %>',event)"> <%= Define.Get("Domain_?????????").HtmlEncode() %> <%= OrderBy("RecourseSite") %> </span> </th> <% break; case "TeacherDomainUserTypeName": //TeacherDomain_UserTypeName_Teacher?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_TeacherUserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("TeacherDomain_UserTypeName_Teacher??????").HtmlEncode() %> <%= OrderBy("_TeacherUserType.Name") %> </span> </th> <% break; case "StudentDomainUserTypeName": //StudentDomain_UserTypeName_Student?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_StudentUserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("StudentDomain_UserTypeName_Student??????").HtmlEncode() %> <%= OrderBy("_StudentUserType.Name") %> </span> </th> <% break; case "ResearchDomainUserTypeName": //ResearchDomain_UserTypeName_Research?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_ResearchUserType.Name").ToScriptTag() %>',event)"> <%= Define.Get("ResearchDomain_UserTypeName_Research??????").HtmlEncode() %> <%= OrderBy("_ResearchUserType.Name") %> </span> </th> <% break; case "Description": //Domain_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Domain_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "Status": //Domain_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Domain_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <%-- <% break; case "FolderPower": //Domain_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FolderPower").ToScriptTag() %>',event)"> <%= Define.Get("Domain_????????").HtmlEncode() %> <%= OrderBy("FolderPower") %> </span> </th>--%> <% break; case "SortNumber": //Domain_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Domain_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/Domain/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 ckb"> <%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="wd2"> <nobr><a href="edit.aspx?guid=<%= item.Guid %>"><%= DefineEnum.???.Define() %></a></nobr> </td> <% foreach (var field in this.Fields) { switch (field) { case "Code": %> <td> <span title="<%= item.Code.ToString(string.Empty).ToScriptTag() %>"> <%= item.Code %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "IsMaster": %> <td> <span title="<%= item.IsMaster.ToString(string.Empty).ToScriptTag() %>"> <%= item.IsMaster ? "??" : "??" %> </span> </td> <% break; case "DomainType": %> <td> <span title="<%= (item.DomainType != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainDomainTypeEnum)item.DomainType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.DomainType != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainDomainTypeEnum)item.DomainType).Define() : null %> </span> </td> <%-- <% break; case "Logo": %> <td> <%= IMG(SettingGroup.DomainUploadPath, item.Logo) %> <%= item.Logo %> </td>--%> <% break; case "APPLogo": %> <td> <%= IMG(SettingGroup.DomainUploadPath, item.APPLogo) %> <%= item.APPLogo %> </td> <% break; case "WebSite": %> <td> <span title="<%= item.WebSite.ToString(string.Empty).ToScriptTag() %>"> <%= item.WebSite %> </span> </td> <% break; case "RecourseSite": %> <td> <span title="<%= item.RecourseSite.ToString(string.Empty).ToScriptTag() %>"> <%= item.RecourseSite %> </span> </td> <% break; case "TeacherDomainUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentTeacherUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTeacherUserType.Name", item) %> </span> </td> <% break; case "StudentDomainUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentStudentUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentStudentUserType.Name", item) %> </span> </td> <% break; case "ResearchDomainUserTypeName": %> <td> <span title="<%= ViewData.Val("ParentResearchUserType.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentResearchUserType.Name", item) %> </span> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td> <% break; case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainStatusEnum)item.Status).Define() : null %> </span> </td> <%-- <% break; case "FolderPower": %> <td> <%= new HtmlSpan(item.FolderPower) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> </td>--%> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de