Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Textbook\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Textbook.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 "Status": //Textbook_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "TextbookPressName": //Textbook_PressName_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Press.Name").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_PressName_????????").HtmlEncode() %> <%= OrderBy("_Press.Name") %> </span> </th> <% break; case "TextbookGradeName": //Textbook_GradeName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Grade.Name").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_GradeName_??????").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> </span> </th> <% break; case "TextbookCategoryName": //Textbook_CategoryName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_CategoryName_??????").HtmlEncode() %> <%= OrderBy("_Category.Name") %> </span> </th> <% break; case "Name": //Textbook_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Cover": //Textbook_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Cover").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_???").HtmlEncode() %> <%= OrderBy("Cover") %> </span> </th> <% break; case "Description": //Textbook_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //Textbook_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Textbook_?????").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/Textbook/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 "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.TextbookStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.TextbookStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "TextbookPressName": %> <td> <span title="<%= ViewData.Val("ParentPress.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentPress.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentPress.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "TextbookGradeName": %> <td> <span title="<%= ViewData.Val("ParentGrade.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentGrade.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentGrade.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "TextbookCategoryName": %> <td> <span title="<%= ViewData.Val("ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentCategory.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentCategory.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Cover": %> <td> <%= IMG(SettingGroup.TextbookUploadPath, item.Cover) %> <%= item.Cover %> </td> <% break; case "Description": %> <td> <%= new HtmlSpan(item.Description) { 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