Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Lesson\List.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Lesson.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": //Lesson_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "LessonTextbookPressName": //Lesson_TextbookPressName_???????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook._Press.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookPressName_????????").HtmlEncode() %> <%= OrderBy("_Textbook._Press.Name") %> </span> </th> <% break; case "LessonTextbookGradeName": //Lesson_TextbookGradeName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook._Grade.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookGradeName_??????").HtmlEncode() %> <%= OrderBy("_Textbook._Grade.Name") %> </span> </th> <% break; case "LessonTextbookCategoryName": //Lesson_TextbookCategoryName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook._Category.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookCategoryName_?????????").HtmlEncode() %> <%= OrderBy("_Textbook._Category.Name") %> </span> </th> <% break; case "LessonTextbookName": //Lesson_TextbookName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Textbook.Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_TextbookName_??????").HtmlEncode() %> <%= OrderBy("_Textbook.Name") %> </span> </th> <% break; case "Section": //Lesson_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Section").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_????????").HtmlEncode() %> <%= OrderBy("Section") %> </span> </th> <% break; case "Name": //Lesson_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_????????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Description": //Lesson_??? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_???").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //Lesson_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Lesson_?????").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/Lesson/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.LessonStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.LessonStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "LessonTextbookPressName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.ParentPress.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.ParentPress.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentTextbook.ParentPress.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "LessonTextbookGradeName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.ParentGrade.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.ParentGrade.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentTextbook.ParentGrade.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "LessonTextbookCategoryName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.ParentCategory.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.ParentCategory.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentTextbook.ParentCategory.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "LessonTextbookName": %> <td> <span title="<%= ViewData.Val("ParentTextbook.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentTextbook.Name", item) %> <b class="<%= IsTrue(ViewData.Val("ParentTextbook.Status", item), "ico-enable", "ico-disable") %>"></b> </span> </td> <% break; case "Section": %> <td> <span title="<%= item.Section.ToString(string.Empty).ToScriptTag() %>"> <%= item.Section %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </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