<%--
">
<%= Define.Get("Video_UserDomainName_平台名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Video_UserDomainCode_平台编码").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Video_UserUserTypeName_用户类型名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
--%>
">
*<%= Define.Get("Video_所属用户").HtmlEncode()%>:
|
<%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentUser.TrueName"] + "[" + this.ViewData["_Video.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name=ParentUser]","Edit");" }%>
<%= new HtmlHidden("ParentUser", this.ViewData["_Video.ParentUser.Guid"])%>
[<%= DefineEnum.选择.Define()%>] [<%= DefineEnum.清空.Define()%>]
<%= new HtmlYKTip("ParentUser")%>
|
">
*<%= Define.Get("Video_所属学科").HtmlEncode()%>:
|
<%= new HtmlText("ParentCategory_Name", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentCategory.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name='ParentCategory']","Edit");" }%>
<%= new HtmlHidden("ParentCategory", this.ViewData["_Video.ParentCategory.Guid"])%>
[<%= DefineEnum.选择.Define()%>] [<%= DefineEnum.清空.Define()%>]
<%= new HtmlYKTip("ParentCategory")%>
|
">
<%= Define.Get("Video_所属出版社").HtmlEncode()%>:
|
<%= new HtmlText("ParentPress_Name", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentPress.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name=ParentPress]","Edit");" }%>
<%= new HtmlHidden("ParentPress", this.ViewData["_Video.ParentPress.Guid"])%>
[<%= DefineEnum.选择.Define()%>]
[<%= DefineEnum.清空.Define()%>]
<%= new HtmlYKTip("ParentPress")%>
|
">
<%= Define.Get("Video_所属年级").HtmlEncode()%>:
|
<%= new HtmlText("ParentGrade_Name", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentGrade.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name=ParentGrade]","Edit");" }%>
<%= new HtmlHidden("ParentGrade", this.ViewData["_Video.ParentGrade.Guid"])%>
[<%= DefineEnum.选择.Define()%>]
[<%= DefineEnum.清空.Define()%>]
<%= new HtmlYKTip("ParentGrade")%>
|
">
<%= Define.Get("Video_所属单元课").HtmlEncode()%>:
|
<%= new HtmlText("ParentLesson_Name", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentLesson.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name=ParentCategory]","Edit");" }%>
<%= new HtmlHidden("ParentLesson", this.ViewData["_Video.ParentLesson.Guid"])%>
[<%= DefineEnum.选择.Define()%>] [<%= DefineEnum.清空.Define()%>]
|
">
<%= Define.Get("Video_所属课程").HtmlEncode()%>:
|
<%= new HtmlSelect("ParentChannel", "Name", "Guid", "Guid") { Option = this.ListChannel, OptGroup = CreateInstance.ChannelDao.GetOptGroup(this.ListChannel), DefaultSelectValue = this.ListSelectChannel != null ? this.ListSelectChannel[0].Guid : "" }.InsertOption("::选择::", "", 0)%>
<%--
<%
for (var i = 0; i <= this.ListChannel.Count - 1; i++)
{
var channelMaster = this.ListChannel[i];
%>
-
<%= new HtmlLabel("Channel" + channelMaster.Guid, channelMaster.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
foreach (var channel in channelMaster._ListChannel)
{
%>
-
<%= new HtmlCheckBox("ParentChannel", false, channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelItem ChannelItemChannel" + channelMaster.Guid, Lang = channel.ParentChannel.Guid, Checked = this.ListSelectChannel == null ? false: this.ListSelectChannel.Contains(channel) }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
}
%>
--%>
<%--<%= new HtmlYKTip("ParentChannel") %>--%>
|
<%--
">
<%= Define.Get("Video_LessonTextbookPressName_出版社名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentLesson.ParentTextbook.ParentPress.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Video_LessonTextbookGradeName_年级名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentLesson.ParentTextbook.ParentGrade.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Video_LessonTextbookCategoryName_学科学科名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentLesson.ParentTextbook.ParentCategory.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
--%>
">
<%= Define.Get("Video_LessonTextbookName_课本名称").HtmlEncode()%>:
|
<%= new HtmlText(null, this.ViewData["_Video.ParentLesson.ParentTextbook.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Video_封面").HtmlEncode()%>:
|
<%= new HtmlHidden("Cover", ViewData["_Video.Cover"])%>
<%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image" }%>
[<%= DefineEnum.删除.Define()%>] ','0','<%= SettingGroup.VideoUploadPath%>','','960', '540')">[<%= DefineEnum.图片上传.Define()%>]
|
">
*<%= Define.Get("Video_视频名称").HtmlEncode()%>:
|
<%= new HtmlText("Name", this.ViewData["_Video.Name"]) { Class = "ipt-t ipt-t-dft ", Width = 400 }%>
<%= new HtmlYKTip("Name")%>
|
<%if (SettingGroup.HasWeike)
{
%>
">
<%= Define.Get("Video_视频是否为微课").HtmlEncode()%>:
|
<%= new HtmlCheckBox("IsWeiKe", this.ViewData["_Video.IsWeiKe"], true, false) { Class = "" }%>
|
<%
}
%>
<%
if (Has(this.ViewData["_Video"]))
{
%>
">
<%= Define.Get("Video_所属服务器").HtmlEncode()%>:
|
<%= new HtmlText("ParentPlaySaveServer_Name", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentPlaySaveServer.Name"])) { ReadOnly = true, Disabled= true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name=ParentPlaySaveServer]","Edit");" }%>
<%= new HtmlHidden("ParentPlaySaveServer", this.ViewData["_Video.ParentPlaySaveServer.Guid"])%>
|
<%
}
%>
">
<%= Define.Get("Video_直播课堂").HtmlEncode()%>:
|
<%= new HtmlText("ParentApplication_Title", IN(this.ViewData["_Video"], this.ViewData["_Video.ParentApplication.StartTime"].ToDateTime().ToAutoShortDate() + " " + this.ViewData["_Video.ParentApplication.Title"].ToString(null) + " " + this.ViewData["_Video.ParentApplication.Speaker"].ToString(null))) { ReadOnly = true, Class = "ipt-t ipt-t-dft width400" }%>
<%= new HtmlHidden("ParentApplication", this.ViewData["_Video.ParentApplication.Guid"])%>
[<%= DefineEnum.选择.Define()%>]
[<%= DefineEnum.清空.Define()%>]
|
">
<%= Define.Get("Video_主讲人").HtmlEncode()%>:
|
<%= new HtmlText("Spreaker", this.ViewData["_Video.Spreaker"]) { Class = "ipt-t ipt-t-dft ", Width = 400 }%>
<%= new HtmlYKTip("Spreaker")%>
|
">
<%= Define.Get("Video_文件名").HtmlEncode()%>:
|
<%= new HtmlText("FileNameShow", this.ViewData["_Video.FileName"], 256) { Class = "ipt-t ipt-t-dft", Width = 400, ReadOnly = true }%>
<%= new HtmlHidden("FileName", this.ViewData["_Video.FileName"]) { Class = "ipt-t ipt-t-dft", Width = 400 }%>
[<%= DefineEnum.下载.Define()%>]
<%= new SingleUploadInstance(this) { UploadTag = "FileName", Accept = CreateInstance.DomainInfoDao.THIS().UploadVideoType.ToUpper().Replace("*", "").Replace(";", ","), UploadControlName = "上传视频文件" }.ToHtml()%>
<%-- <%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=*.*|*.*,SelectFiles=选择上传的视频文件,Upload=确认上传视频" }.ToHtml()%> --%>
|
">
<%= Define.Get("Video_视频字幕").HtmlEncode()%>:
|
<%= new HtmlText("CaptionsFile", this.ViewData["_Video.CaptionsFile"], 256) { Class = "ipt-t ipt-t-dft", Width = 400, ReadOnly = true }%>
[<%= DefineEnum.下载.Define()%>]
<%= new SingleUploadInstance(this) { UploadTag = "CaptionsFile", Accept = ".srt", UploadControlName = "上传字幕文件" }.ToHtml()%>
<%-- <%= new SingleUploadInstance(this) { UploadTag = "CaptionsFile", InitParams = "FileFilter=*.srt|*.srt,SelectFiles=选择上传的视频字幕,Upload=确认上传字幕" }.ToHtml()%> --%>
|
">
<%= Define.Get("Video_培训年度").HtmlEncode()%>:
|
<%= new HtmlText("TrainYear", this.ViewData["_Video.TrainYear"]) { Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("TrainYear")%>
|
">
<%= Define.Get("Video_简介").HtmlEncode()%>:
|
<%= new HtmlTextArea("Summary", this.ViewData["_Video.Summary"], 2000) { Class = "ipt-t ipt-t-dft width400 height100" }%>
|
">
<%= Define.Get("Video_视频文件类型").HtmlEncode()%>:
|
<%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum), Disabled = true }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_Video.FileType"])%>
|
">
*<%= Define.Get("Video_录制时间").HtmlEncode()%>:
|
<%= new HtmlText("RecTime", this.ViewData["_Video.RecTime"].ToDateTime()) { Class = "ipt-t ipt-t-dft datetime " }%>
<%= new HtmlYKTip("RecTime")%>
|
">
*<%= Define.Get("Video_文件大小").HtmlEncode()%>:
|
<%= new HtmlText("FileSize", this.ViewData["_Video.FileSize"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%>
<%= new HtmlYKTip("FileSize")%>
|
<%--
">
*<%= Define.Get("Video_时长(秒)").HtmlEncode() %>:
|
<%= new HtmlText("Period", this.ViewData["_Video.Period"]) { Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("Period")%>
|
--%>
">
*<%= Define.Get("Video_审核状态").HtmlEncode()%>:
|
<%= new HtmlYKTip("Examine")%>
|
显示高级选项:
|
|
">
<%= Define.Get("Video_创建时间").HtmlEncode()%>:
|
<%= new HtmlText("CreateTime", this.ViewData["_Video.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime ", DefaultValue = System.DateTime.Now }%>
<%= new HtmlYKTip("CreateTime")%>
|
">
<%= Define.Get("Video_是否加锁").HtmlEncode()%>:
|
<%= new HtmlCheckBox("LockVideo", this.ViewData["_Video.LockVideo"], 1, 0) { Class = "" }%>
|
">
<%= Define.Get("Video_锁定用户").HtmlEncode()%>:
|
<%= new HtmlText("ParentLockUser_TrueName_UserName", IN(this.ViewData["_Video.ParentLockUser"], this.ViewData["_Video.ParentLockUser.TrueName"] + "[" + this.ViewData["_Video.ParentLockUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmVideo [name=ParentLockUser]","ParentLockUser");" }%>
<%= new HtmlHidden("ParentLockUser", this.ViewData["_Video.ParentLockUser.Guid"])%>
[<%= DefineEnum.选择.Define()%>] [<%= DefineEnum.清空.Define()%>]
<%= new HtmlYKTip("ParentLockUser")%>
|
">
<%= Define.Get("Video_锁定时间").HtmlEncode()%>:
|
<%= new HtmlText("LockDateTime", this.ViewData["_Video.LockDateTime"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%>
|
">
<%= Define.Get("Video_锁定说明").HtmlEncode()%>:
|
<%= new HtmlTextArea("LockDescription", this.ViewData["_Video.LockDescription"], 2000) { Class = "ipt-t ipt-t-dft width400 height100" }%>
|
">
<%= Define.Get("Video_描述").HtmlEncode()%>:
|
<%= new HtmlTextArea("Description", this.ViewData["_Video.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100" }%>
|
">
<%= Define.Get("Video_视频转换结果").HtmlEncode()%>:
|
<%= new HtmlSelect("VideoConvertStatus", "Value", "Key") { Disabled = true, Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_Video.VideoConvertStatus"])%>
|
">
<%= Define.Get("Video_视频是否可以下载").HtmlEncode()%>:
|
<%= new HtmlCheckBox("HasDownload", this.ViewData["_Video.HasDownload"], true, false) { Class = "" }%>
|
">
<%= Define.Get("Video_版权").HtmlEncode()%>:
|
<%= new HtmlYKTip("Copyright")%>
|
">
<%= Define.Get("Video_观看权限").HtmlEncode()%>:
|
<%----%>
<%= new HtmlYKTip("Share")%>
|
">
<%= Define.Get("Video_教师比例").HtmlEncode()%>: |
<%= new HtmlText("TeacherRatio", this.ViewData["_Video.TeacherRatio"]) { Class = "ipt-t ipt-t-dft " }%>%
<%= new HtmlYKTip("TeacherRatio")%>
|
">
<%= Define.Get("Video_学生比例").HtmlEncode()%>: |
<%= new HtmlText("StudentRatio", this.ViewData["_Video.StudentRatio"]) { Class = "ipt-t ipt-t-dft " }%>%
<%= new HtmlYKTip("StudentRatio")%>
|
">
<%= Define.Get("Video_转换率").HtmlEncode()%>: |
<%= new HtmlText("TransferRatio", this.ViewData["_Video.TransferRatio"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%>%
<%= new HtmlYKTip("TransferRatio")%>
|
">
<%= Define.Get("Video_授课类型").HtmlEncode()%>: |
<%= new HtmlSelect("TeachingType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoTeachingTypeEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_Video.TeachingType"])%>
<%= new HtmlYKTip("TeachingType")%>
|
<%--
">
<%= Define.Get("Video_视频存放文件夹").HtmlEncode() %>:
|
<%= new HtmlText("FioderName", this.ViewData["_Video.FioderName"], 32) { Class = "ipt-t ipt-t-dft " }%>
|
--%>
">
<%= Define.Get("Video_高清视频地址").HtmlEncode()%>:
|
<%= new HtmlText("HDURL", this.ViewData["_Video.HDURL"], 256) { Class = "ipt-t ipt-t-dft " }%>
|
">
<%= Define.Get("Video_标清视频地址").HtmlEncode()%>:
|
<%= new HtmlText("NRURL", this.ViewData["_Video.NRURL"], 256) { Class = "ipt-t ipt-t-dft " }%>
|
">
<%= Define.Get("Video_排序号")%>:
|
">
<%= new HtmlText("SortNumber", this.ViewData["_Video.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%>
<%= new HtmlYKTip("SortNumber")%>
|