*标题: |
<%= new HtmlText("Name", this.Video.Name, 256) { }%>
<%= new HtmlYKTip("Name")%>
|
主讲人: |
<% var speaker = this.Video.Spreaker;
if (speaker == null) { speaker = this.Video.ParentUser.UserName; }
%>
<%= new HtmlText("Spreaker", speaker, 256) { }%>
|
*视频文件?: |
<%= new HtmlText("FileName", this.Video.FileName) { ReadOnly = true }%>
<%= new HtmlYKTip("FileName")%>
<%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=" + CreateInstance.DomainInfoDao.THIS().UploadVideoType.ToUpper().Replace("*.","") + "多媒体文件格式(" + CreateInstance.DomainInfoDao.THIS().UploadVideoType + ")|" + CreateInstance.DomainInfoDao.THIS().UploadVideoType + ",DefaultColor=#F5F5F5F5,SelectFiles=选择上传的视频文件,Upload=确认上传视频" }.ToHtml()%>
<%= new HtmlHidden("VideoUploadPath",SettingGroup.VideoUploadPath) %>
<%--<%= new HtmlAnchor("未显示“上传”按钮,请点击下载,安装后重新加载页面!") { Href=Request.WebPath()+"/Resource/Silverlight.zip" }%>--%>
|
*学科: |
<%= new HtmlSelect("ParentCategory", "Name", "Guid", "Guid") { Option = this.ListAllCategory, OptGroup= CreateInstance.CategoryDao.GetOptGroup(this.ListAllCategory), OnChange = "GetTextbook();", SelectedValue = this.Video.ParentCategory.Guid}.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentCategory") { }%>
|
<%= CreateInstance.ConfigDao.VideoGradeTag("") != null ? "*" : "" %>年级: |
<%= new HtmlSelect("ParentGrade", "Name", "Guid", "Guid") { Option = this.ListAllGrade, OptGroup= CreateInstance.GradeDao.GetOptGroup(this.ListAllGrade), DefaultSelectValue = "", SelectedValue = (this.Video.ParentGrade != null ? this.Video.ParentGrade.Guid : ""), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentGrade") { }%>
|
<%= CreateInstance.ConfigDao.VideoPressTag("") != null ? "*" : "" %>出版社: |
<%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", SelectedValue = (this.Video.ParentPress != null ? this.Video.ParentPress.Guid : ""), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentPress") { }%>
|
课程分类: |
<%= new HtmlSelect("Channel", "Name", "Guid", "Guid") { Option = this.ListAllChannel, OptGroup= CreateInstance.ChannelDao.GetOptGroup(this.ListAllChannel), DefaultSelectValue = "", SelectedValue =this.SelectChannelOnly == null ? "" : this.SelectChannelOnly.Guid }.InsertOption("::选择::", "", 0)%>
|
<%if (SettingGroup.HasWeike)
{
%>
微课广场: |
<%= new HtmlCheckBox("IsWeiKe", this.Video.IsWeiKe, 1, 0) {Class="IsWeiKe" }%>
|
<%
}
%>
标签用英文逗号(",")分开: |
<%= new HtmlText("VideoTag", this.VideoTag, 256) { Class="VideoTag", Width=800 ,ID = "inputTags"}%>
<%if (this.ListTag.Count > 0)
{
var listTagCK = this.ListTag.Where(l => l.TagType == (int)AVA.ResourcesPlatform.Model.Pub.TagTagTypeEnum.常课标签).ToList();//常课标签
var listTagWK = this.ListTag.Where(l => l.TagType == (int)AVA.ResourcesPlatform.Model.Pub.TagTagTypeEnum.微课标签).ToList();//微课标签
%>
推荐标签:
" id="ckTag">
<%foreach (var item in listTagCK)
{
%>
-
<%-- <%= new HtmlCheckBox("Tag", this.ListSelectTag.Contains(item.Guid), item.Guid, "") { ID = "Tag" + item.Guid, Class="Tag", Lang=item.Name}%>--%>
<%= new HtmlLabel( item.Guid, item.Name) { Class="addClass"}.AddAttribute("data-value",item.Name) %>
<%
}
%>
;" id="wkTag">
<%foreach (var item in listTagWK)
{
%>
-
<%-- <%= new HtmlCheckBox("Tag", this.ListSelectTag.Contains(item.Guid), item.Guid, "") { ID = "Tag" + item.Guid, Class="Tag", Lang=item.Name}%>--%>
<%= new HtmlLabel("Tag" + item.Guid, item.Name) { Class="addClass"}.AddAttribute("data-value",item.Name) %>
<%
}
%>
<%
}
%>
|
简介: |
<%= new HtmlTextArea("Summary", this.Video.Summary, 2000)%>
|