<%= CreateInstance.ConfigDao.VideoCaptionsFileTag("") != null ? "*" : ""%> 视频字幕:
<%= new HtmlText("CaptionsFile", this.Video.CaptionsFile) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%>
<%= new HtmlButton("清除", "$('#frmVideoEdit [Name=CaptionsFile]').val('');").Style(new { Width = "60px" })%>
<%= new HtmlYKTip("CaptionsFile")%>
<%= new SingleUploadInstance(this) { UploadTag = "CaptionsFile", Accept = ".srt", UploadControlName="上传字幕文件"}.ToHtml()%>
<%-- <%= new SingleUploadInstance(this) { UploadTag = "CaptionsFile", InitParams = "FileFilter=*.srt|*.srt,DefaultColor=#F5F5F5F5,SelectFiles=选择上传的视频字幕,Upload=确认上传字幕" }.ToHtml()%> --%>
<%= CreateInstance.ConfigDao.VideoCoverTag("") != null ? "*" : ""%> 视频封面:
* 文件类型:
<%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum), Disabled = true, SelectedValue = this.Video.FileType }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0)%>
* 文件大小:
<%= new HtmlText("FileSize", this.Video.FileSize) { ReadOnly = true }%>
当视频是针对课本的某一单元课时,请先选择课本学科、所属出版社和年级
<%= CreateInstance.ConfigDao.VideoTextBookTag("") != null ? "*" : ""%>课本:
<%= CreateInstance.ConfigDao.VideoTextBookTag("") != null ? "*" : ""%>课元课:
* 录制时间:
<%= new HtmlText("RecTime", this.Video.RecTime.ToLongDate(), 200) { }.Style(new { Width = "120px" })%>
<%= new HtmlYKTip("RecTime")%>
时长(秒):
<%= new HtmlText("Period", this.Video.Period, 200) { }.Style(new { Width = "120px" })%>
<%= new HtmlYKTip("Period")%>
* 版权:
<%= new HtmlRadio("Copyright", (this.Video.Copyright == 0 ? true : false), 0, null) { ID = "Video_Copyright_0" }.Style(new { Width = "auto" })%>
原创
<%= new HtmlRadio("Copyright", (this.Video.Copyright == 1 ? true : false), 1, null) { ID = "Video_Copyright_1" }.Style(new { Width = "auto" })%>
转载
<%= new HtmlYKTip("Copyright")%>
* 观看权限:
<%= new HtmlRadio("Share", (this.Video.Share == 0 ? true : false), 0, null) { ID = "Video_Share_0" }.Style(new { Width = "auto" })%>
自己
<%--<%= new HtmlRadio("Share", (this.Video.Share == 1 ? true : false), 1, null) { ID = "Video_Share_1" }.Style(new { Width = "auto" })%>
本校
--%>
<%= new HtmlRadio("Share", (this.Video.Share == 2 ? true : false), 2, null) { ID = "Video_Share_2" }.Style(new { Width = "auto" })%>
全部
<%= new HtmlRadio("Share", (this.Video.Share == 3 ? true : false), 3, null) { ID = "Video_Share_3" }.Style(new { Width = "auto" })%>
登录浏览
<%= new HtmlYKTip("Share")%>
允许下载:
<%= new HtmlCheckBox("HasDownload", this.Video.HasDownload, 1, 0)%>
详细描述:
<%= new HtmlTextArea("Description", this.Video.Description, 2000)%>
* 排序号:
<%= new HtmlText("SortNumber", this.Video.SortNumber, 4) { DefaultValue = 1 }%>
<%= new HtmlYKTip("SortNumber")%>
课程分类:
<%
for (var i = 0; i <= this.ListAllChannel.Count - 1; i++)
{
var channel = this.ListAllChannel[i];
string parentChannelGuid = "";
if (channel.ParentChannel != null)
{
parentChannelGuid = channel.ParentChannel.Guid;
%>
<%= new HtmlCheckBox("Channel", this.SelectChannel.Contains(channel.Guid), channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelItem ChannelItemChannel" + parentChannelGuid, Lang = channel.ParentChannel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
else
{
%>
<%= new HtmlCheckBox("Channel", this.SelectChannel.Contains(channel.Guid), channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelMaster ChannelMaster" + channel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
}
%>