%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UserType.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "Status": //UserType_状态 %> | ',event)"> <%= Define.Get("UserType_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "Name": //UserType_类型名称 %>',event)"> <%= Define.Get("UserType_类型名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "IsManager": //UserType_允许后台登录 %>',event)"> <%= Define.Get("UserType_允许后台登录").HtmlEncode() %> <%= OrderBy("IsManager") %> | <% break; case "SetGroupEnable": //UserType_可否设置用户组 %>',event)"> <%= Define.Get("UserType_可否设置用户组").HtmlEncode() %> <%= OrderBy("SetGroupEnable") %> | <% break; case "AlbumEnable": //UserType_启用专辑管理 %>',event)"> <%= Define.Get("UserType_启用专辑管理").HtmlEncode() %> <%= OrderBy("AlbumEnable") %> | <% break; case "ExamineAlbum": //UserType_创建专辑是否需要审核 %>',event)"> <%= Define.Get("UserType_创建专辑是否需要审核").HtmlEncode() %> <%= OrderBy("ExamineAlbum") %> | <% break; case "AlbumShare": //UserType_专辑共享管理 %>',event)"> <%= Define.Get("UserType_专辑共享管理").HtmlEncode() %> <%= OrderBy("AlbumShare") %> | <% break; case "VideoEnable": //UserType_启用视频管理 %>',event)"> <%= Define.Get("UserType_启用视频管理").HtmlEncode() %> <%= OrderBy("VideoEnable") %> | <% break; case "ExamineVideo": //UserType_上传视频是否需要审核 %>',event)"> <%= Define.Get("UserType_上传视频是否需要审核").HtmlEncode() %> <%= OrderBy("ExamineVideo") %> | <% break; case "MeetingEnable": //UserType_启用教研互动管理 %>',event)"> <%= Define.Get("UserType_启用教研互动管理").HtmlEncode() %> <%= OrderBy("MeetingEnable") %> | <% break; case "ExamineMeeting": //UserType_创建教研互动是否需要审核 %>',event)"> <%= Define.Get("UserType_创建教研互动是否需要审核").HtmlEncode() %> <%= OrderBy("ExamineMeeting") %> | <% break; case "PublicClassEnable": //UserType_启用公开课 %>',event)"> <%= Define.Get("UserType_启用公开课").HtmlEncode() %> <%= OrderBy("PublicClassEnable") %> | <% break; case "ExaminePublicClass": //UserType_是否审核公开课 %>',event)"> <%= Define.Get("UserType_是否审核公开课").HtmlEncode() %> <%= OrderBy("ExaminePublicClass") %> <% break; case "Description": //UserType_描述 %> | ',event)"> <%= Define.Get("UserType_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "STEnable": //UserType_是否开启优课评比比赛权限 %>',event)"> <%= Define.Get("UserType_是否开启优课评比比赛权限").HtmlEncode() %> <%= OrderBy("STEnable") %> | <% break; case "StudentEbable": //UserType_视频提问 %>',event)"> <%= Define.Get("UserType_视频提问").HtmlEncode() %> <%= OrderBy("StudentEbable") %> | <% break; case "TeacherEbable": //UserType_提问回复 %>',event)"> <%= Define.Get("UserType_提问回复").HtmlEncode() %> <%= OrderBy("TeacherEbable") %> | <% break; case "HeadMasterEnable": //UserType_平台统计 %>',event)"> <%= Define.Get("UserType_平台统计").HtmlEncode() %> <%= OrderBy("HeadMasterEnable") %> | <% break; case "InstructorEnable": //UserType_开启教研工作功能 %>',event)"> <%= Define.Get("UserType_开启教研工作功能").HtmlEncode() %> <%= OrderBy("InstructorEnable") %> | <% break; case "ExpertPanelEnable": //UserType_专家评委功能 %>',event)"> <%= Define.Get("UserType_专家评委功能").HtmlEncode() %> <%= OrderBy("ExpertPanelEnable") %> | <% break; case "GreateTeacherEnable": //UserType_为名师状态 %>',event)"> <%= Define.Get("UserType_为名师状态").HtmlEncode() %> <%= OrderBy("GreateTeacherEnable") %> | <% break; case "ListenLesson": //UserType_开启听课功能 %>',event)"> <%= Define.Get("UserType_开启听课功能").HtmlEncode() %> <%= OrderBy("ListenLesson") %> | <% break; case "SortNumber": //UserType_排序号 %>',event)"> <%= Define.Get("UserType_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Status": %> | <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeStatusEnum)item.Status).Define() : null %> | <% break; case "Name": %><%= item.Name %> | <% break; case "IsManager": %><%= item.IsManager != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum)item.IsManager).Define() : null %> | <% break; case "SetGroupEnable": %><%= item.SetGroupEnable ? "是" : "否" %> | <% break; case "AlbumEnable": %><%= item.AlbumEnable ? "是" : "否" %> | <% break; case "ExamineAlbum": %><%= item.ExamineAlbum ? "是" : "否" %> | <% break; case "AlbumShare": %><%= item.AlbumShare ? "是" : "否" %> | <% break; case "VideoEnable": %><%= item.VideoEnable ? "是" : "否" %> | <% break; case "ExamineVideo": %><%= item.ExamineVideo ? "是" : "否" %> | <% break; case "MeetingEnable": %><%= item.MeetingEnable ? "是" : "否" %> | <% break; case "ExamineMeeting": %><%= item.ExamineMeeting ? "是" : "否" %> | <% break; case "PublicClassEnable": %><%= item.PublicClassEnable %> | <% break; case "ExaminePublicClass": %><%= item.ExaminePublicClass %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "STEnable": %><%= item.STEnable ? "是" : "否" %> | <% break; case "StudentEbable": %><%= item.StudentEbable ? "是" : "否" %> | <% break; case "TeacherEbable": %><%= item.TeacherEbable ? "是" : "否" %> | <% break; case "HeadMasterEnable": %><%= item.HeadMasterEnable ? "是" : "否" %> | <% break; case "InstructorEnable": %><%= item.InstructorEnable ? "是" : "否" %> | <% break; case "ExpertPanelEnable": %><%= item.ExpertPanelEnable ? "是" : "否" %> | <% break; case "GreateTeacherEnable": %><%= item.GreateTeacherEnable ? "是" : "否" %> | <% break; case "ListenLesson": %><%= item.ListenLesson ? "是" : "否" %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>