<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Config.Edit" %> <%= this.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")%>
<% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %>
<% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %>

基本功能

<%-- ******基本功能 所属平台: [选择] [清空] 前台强制登录:--%> <%--*****自动批准设定 直播申请自动批准: 直播批准自动签到: 评论自动审核: 提问自动审核:--%> <% if (SettingGroup.HasLive) { %> <% } %> <% if (SettingGroup.HasLive) { %> <%--******直播参数预定 转换超高清: 转换高清: 转换标清: 转换流畅: 提前预定天数: 提前录制分钟: 日最大申请数: 录制自动发布视频: 录制完成后自动下载: 录制空间大小(MB): 自动下载视频时间段: 录播空闲时关机时间段: 登录前显示校园直播:--%> <%if (SettingGroup.HasWeike) { %> <% } %> <%-- --%> <%----%> <%--******前台申请录制必选项 要求直播主讲人: 要求直播标题: 要求直播专辑名称: 要求填写说明: 要求直播封面: 要求直播密码: 要求直播课程: 要求直播学科: 要求直播单元课:--%> <% } %> <%--******前台上传视频必选项 要求视频字幕: 要求视频封面: 要求视频出版社: 要求视频年级: 要求视频课本: 要求视频单元课: 要求视频课程:--%> <%--*****前台未登录显示的功能模块 登录前显示课例点播: 登录前显示网络晒课: 登录前显示专辑资源: 登录前显示优课评比: 登录前显示教研互动: 登录前显示在线直播: Config_登录前显示课堂回放 : 登录前显示学校列表:--%> <%--此开关已无用,默认启用缓存--%> <%-- --%> <% if (SettingGroup.HasBook) { %> <% } %> <% if (SettingGroup.HasSubject) { %> <% } %> <% if (SettingGroup.HasMeeting) { %> <% } %> <% if (SettingGroup.HasWeike) { %> <% } %> <% if (SettingGroup.HasLive) { %> <% } %> <% if (SettingGroup.HasDomain) { %> <% } %> <% if (SettingGroup.HasST) { %> <% } %> <%-- --%> <% if (this.DotNet()) { //Linux用Libreoffice,已在 %> <% } %>
"> <%= Define.Get("Config_所属平台").HtmlEncode() %>: <%= new HtmlText("ParentDomain_Name_Code", IN(this.ViewData["_Config"], this.ViewData["_Config.ParentDomain.Name"] + "[" + this.ViewData["_Config.ParentDomain.Code"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmConfig [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", this.ViewData["_Config.ParentDomain.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentDomain") %>
"> <%= Define.Get("Config_前台强制登录").HtmlEncode() %>: <%= new HtmlCheckBox("IngoreLogin", this.ViewData["_Config.IngoreLogin"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_是否置灰平台").HtmlEncode() %>: <%= new HtmlCheckBox("IsGray", this.ViewData["_Config.IsGray"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_视频资源是否启动浏览范围控制").HtmlEncode() %>: <% var videoRangeControl = this.ViewData["_Config.VideoRangeControl"] == null ? false : this.ViewData["_Config.VideoRangeControl"]; %> <%= new HtmlCheckBox("VideoRangeControl", this.ViewData["_Config.VideoRangeControl"], true, false) { Class = "",ID="toggleHidden"}%>
"> <%= Define.Get("Config_是否过滤专辑和课程中的视频").HtmlEncode() %>: <%= new HtmlCheckBox("FilterAlbumAndChannel", this.ViewData["_Config.FilterAlbumAndChannel"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_列表显示所属平台").HtmlEncode() %>: <%= new HtmlCheckBox("ShowDomainName", this.ViewData["_Config.ShowDomainName"], true, false) { Class = ""}%>

自动批准设定

"> <%= Define.Get("Config_直播批准自动签到").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationAutoConfirm", this.ViewData["_Config.ApplicationAutoConfirm"], true, false) { Class = "", DefaultChecked = false}%>
"> <%= Define.Get("Config_直播申请自动批准").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationAutoDeal", this.ViewData["_Config.ApplicationAutoDeal"], true, false) { Class = "", DefaultChecked = true}%>
"> <%= Define.Get("Config_评论自动审核").HtmlEncode() %>: <%= new HtmlCheckBox("AutoAuditComment", this.ViewData["_Config.AutoAuditComment"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_提问自动审核").HtmlEncode() %>: <%= new HtmlCheckBox("AutoAuditCommentAsk", this.ViewData["_Config.AutoAuditCommentAsk"], true, false) { Class = ""}%>

直播参数预定

"> <%= Define.Get("Config_视频时长小于此时即为微课").HtmlEncode() %>: <%= new HtmlText("VideoLessminute", this.ViewData["_Config.VideoLessminute"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 10 }%> 分钟 <%= new HtmlYKTip("VideoLessminute") %>
"> <%= Define.Get("Config_转换超高清").HtmlEncode() %>: <%= new HtmlCheckBox("ConvertVideoSHD", this.ViewData["_Config.ConvertVideoSHD"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_转换高清").HtmlEncode() %>: <%= new HtmlCheckBox("ConvertVideoHD", this.ViewData["_Config.ConvertVideoHD"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_转换标清").HtmlEncode() %>: <%= new HtmlCheckBox("ConvertVideoNR", this.ViewData["_Config.ConvertVideoNR"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_转换流畅").HtmlEncode() %>: <%= new HtmlCheckBox("ConvertVideoLW", this.ViewData["_Config.ConvertVideoLW"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_录制完成后自动下载").HtmlEncode() %>: <%= new HtmlCheckBox("AutoDownload", this.ViewData["_Config.AutoDownload"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_录制自动发布视频").HtmlEncode() %>: <%= new HtmlCheckBox("AutoConvertToVideo", this.ViewData["_Config.AutoConvertToVideo"], true, false) { Class = ""}%>
<%= Define.Get("Config_提前预定天数").HtmlEncode() %>: <%= new HtmlText("ApplyDays", this.ViewData["_Config.ApplyDays"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 7 }%> <%= new HtmlYKTip("ApplyDays") %>
<%= Define.Get("Config_延后预定天数").HtmlEncode() %>: <%= new HtmlText("AfterApplyDays", this.ViewData["_Config.AfterApplyDays"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 7 }%> <%= new HtmlYKTip("AfterApplyDays") %>
"> <%= Define.Get("Config_提前录制分钟").HtmlEncode() %>: <%= new HtmlText("ProcurementLeadTime", this.ViewData["_Config.ProcurementLeadTime"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 15 }%> <%= new HtmlYKTip("ProcurementLeadTime") %>
"> <%= Define.Get("Config_日最大申请数").HtmlEncode() %>: "> <%= new HtmlText("UserMaxApplicationCount", this.ViewData["_Config.UserMaxApplicationCount"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 3 }%> <%= new HtmlYKTip("UserMaxApplicationCount") %>
"> <%= Define.Get("Config_录制空间大小(MB)").HtmlEncode() %>: <%= new HtmlText("UserMaxSpace", this.ViewData["_Config.UserMaxSpace"]) { Class = "ipt-t ipt-t-dft ", DefaultValue = 1000 }%> <%= new HtmlYKTip("UserMaxSpace") %>
"> <%= Define.Get("Config_自动下载视频时间段").HtmlEncode() %>: "> <%= new HtmlText("AutoDowloadHour", this.ViewData["_Config.AutoDowloadHour"], 500) { Class = "ipt-t ipt-t-dft width400 " }%>
"> <%= Define.Get("Config_录播空闲时关机时间段").HtmlEncode() %>: "> <%= new HtmlText("AutoPowerOffHour", this.ViewData["_Config.AutoPowerOffHour"], 128) { Class = "ipt-t ipt-t-dft width400 " }%>

前台申请录制必选项

"> <%= Define.Get("Config_要求直播主讲人").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationSpeaker", this.ViewData["_Config.ApplicationSpeaker"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播标题").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationTitle", this.ViewData["_Config.ApplicationTitle"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播专辑名称").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationAlbumName", this.ViewData["_Config.ApplicationAlbumName"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求填写说明").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationDescription", this.ViewData["_Config.ApplicationDescription"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播封面").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationCover", this.ViewData["_Config.ApplicationCover"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播密码").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationViewPassword", this.ViewData["_Config.ApplicationViewPassword"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播课程").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationChannel", this.ViewData["_Config.ApplicationChannel"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播学科").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationCategory", this.ViewData["_Config.ApplicationCategory"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求直播单元课").HtmlEncode() %>: <%= new HtmlCheckBox("ApplicationLesson", this.ViewData["_Config.ApplicationLesson"], true, false) { Class = ""}%>

前台上传视频必选项

"> <%= Define.Get("Config_要求视频字幕").HtmlEncode() %>: <%= new HtmlCheckBox("VideoCaptionsFile", this.ViewData["_Config.VideoCaptionsFile"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求视频封面").HtmlEncode() %>: <%= new HtmlCheckBox("VideoCover", this.ViewData["_Config.VideoCover"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求视频出版社").HtmlEncode() %>: <%= new HtmlCheckBox("VideoPress", this.ViewData["_Config.VideoPress"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求视频年级").HtmlEncode() %>: <%= new HtmlCheckBox("VideoGrade", this.ViewData["_Config.VideoGrade"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求视频课本").HtmlEncode() %>: <%= new HtmlCheckBox("VideoTextBook", this.ViewData["_Config.VideoTextBook"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求视频单元课").HtmlEncode() %>: <%= new HtmlCheckBox("VideoLesson", this.ViewData["_Config.VideoLesson"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_要求视频课程").HtmlEncode() %>: <%= new HtmlCheckBox("VideoChannel", this.ViewData["_Config.VideoChannel"], true, false) { Class = ""}%>

前台未登录显示的功能模块

"> <%= Define.Get("Config_前台启用缓存").HtmlEncode() %>: <%= new HtmlCheckBox("CacheEnable", this.ViewData["_Config.CacheEnable"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示课例点播").HtmlEncode() %>: <%= new HtmlCheckBox("VideoShow", this.ViewData["_Config.VideoShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示网络晒课").HtmlEncode() %>: <%= new HtmlCheckBox("TextbookShow", this.ViewData["_Config.TextbookShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示专辑资源").HtmlEncode() %>: <%= new HtmlCheckBox("AlbumShow", this.ViewData["_Config.AlbumShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示优课评比").HtmlEncode() %>: <%= new HtmlCheckBox("SubjectShow", this.ViewData["_Config.SubjectShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示教研互动").HtmlEncode() %>: <%= new HtmlCheckBox("MeetingShow", this.ViewData["_Config.MeetingShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示微课广场").HtmlEncode() %>: <%= new HtmlCheckBox("WeikeShow", this.ViewData["_Config.WeikeShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示在线直播").HtmlEncode() %>: <%= new HtmlCheckBox("LiveShow", this.ViewData["_Config.LiveShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示课堂回放").HtmlEncode() %>: <%= new HtmlCheckBox("ReplayShow", this.ViewData["_Config.ReplayShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示学校列表").HtmlEncode() %>: <%= new HtmlCheckBox("SchoolShow", this.ViewData["_Config.SchoolShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示公开课菜单").HtmlEncode() %>: <%= new HtmlCheckBox("PublicClassShow", this.ViewData["_Config.PublicClassShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_登录前显示校园直播").HtmlEncode() %>: <%= new HtmlCheckBox("OnlineShow", this.ViewData["_Config.OnlineShow"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_启用客户端视控").HtmlEncode() %>: <%= new HtmlCheckBox("ClientMonitoring", this.ViewData["_Config.ClientMonitoring"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_Office转成PDF").HtmlEncode() %>: <%= new HtmlCheckBox("ToPDF", this.ViewData["_Config.ToPDF"], true, false) { Class = "", DefaultChecked=true}%>
开启当前功能需要以下设置:
一:服务器安装Office 2013(Word,Excel,PowerPoint三个组件)
二:在服务器组件服务中添加权限
1.开始 -> 管理工具 -> 组件服务 -> 计算机 -> 我的电脑 -> DCOM配置
选择要自动运行的应用程序。应用程序名称如下所示(名称可能不完全一样):
Microsoft PowerPoint 幻灯片
Microsoft Excel Application
Microsoft Word 97 - 2003 文档
每个分别进行单击“属性”打开此应用程序的属性对话框。
1)“标识” — 运行此应用程序的用户账户选—“交互式用户”;
2)“安全” — 访问权限,选择“自定义”,添加IIS_IUSRS用户的本地访问权限;

无预约录制视频功能模块

"> <%= Define.Get("Config_未预约归档").HtmlEncode() %>: <%= new HtmlCheckBox("AutomaticallyDistributing", this.ViewData["_Config.AutomaticallyDistributing"], true, false) { Class = ""}%>
"> <%= Define.Get("Config_未预约归档开始日期").HtmlEncode() %>: <%= new HtmlText("AutomaticallyDistributingBeginDate", this.ViewData["_Config.AutomaticallyDistributingBeginDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("AutomaticallyDistributingBeginDate") %>
"> <%= Define.Get("Config_未预约归档结束日期").HtmlEncode() %>: <%= new HtmlText("AutomaticallyDistributingEndDate", this.ViewData["_Config.AutomaticallyDistributingEndDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("AutomaticallyDistributingEndDate") %>
"> <%= Define.Get("Config_未预约归档归属预约").HtmlEncode() %>: <%= new HtmlText("ParentAutomaticallyDistributingApplication_Title", IN(this.ViewData["_Config"], this.ViewData["_Config.ParentAutomaticallyDistributingApplication.Title"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%> <%= new HtmlHidden("ParentAutomaticallyDistributingApplication", this.ViewData["_Config.ParentAutomaticallyDistributingApplication.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentAutomaticallyDistributingApplication") %>
修改当前配置文件,必须重新启动平台应用程序池才能生效
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Config"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_Config"])%>
<%= DefineEnum.返_回.Define() %>
<%= 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/ConfigAjax.js")%>