*标题: |
<%= 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", Accept = CreateInstance.DomainInfoDao.THIS().UploadVideoType.ToUpper().Replace("*","").Replace(";",","), UploadControlName="上传视频文件"}.ToHtml()%>
<%-- <%= 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") { }%>
|
<%if (SettingGroup.HasWeike)
{
%>
是否为微课: |
<%= new HtmlCheckBox("IsWeiKe", this.Video.IsWeiKe, 1, 0) {Class="IsWeiKe" }%>
|
<%
}
%>
<%
if (SettingGroup.Setting().VideoRangeControl == true)
{
if(this.VideoViewRange == null)
{
%>
视频展示范围: |
<%= new HtmlCheckBox("PersonPageView", false ,true, false) { ID = "PersonPageView", Class="VideoViewRange", Lang="个人主页展示"}%>
<%= new HtmlLabel("PersonPageViewLabel", "个人主页展示")%>
<%= new HtmlCheckBox("SchoolPageView",false, true, false) { ID = "SchoolPageView", Class="VideoViewRange", Lang="学校平台展示"}%>
<%= new HtmlLabel("SchoolPageViewLabel", "学校平台展示")%>
<%= new HtmlCheckBox("AreaPageView", false,true, false) { ID = "AreaPageView", Class="VideoViewRange", Lang="区平台展示"}%>
<%= new HtmlLabel("AreaPageViewLabel", "区平台展示")%>
注:勾选了对应的选项,视频才能在对应的平台展现
|
<%
}
else
{
%>
视频展示范围: |
<%--个人主页--%>
<%
if (this.VideoViewRange.PersonPageView == (int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangePersonPageViewEnum.审核中)
{
%>
<%= new HtmlCheckBox("PersonPageView", true ,true, false) { ID = "PersonPageView", Class="VideoViewRange", Lang="个人主页展示", Disabled = true, Title="正在审核"}%>
<%= new HtmlLabel("PersonPageViewLabel", "个人主页展示")%>
<%
}
else
{
%>
<%= new HtmlCheckBox("PersonPageView", this.VideoViewRange.PersonPageView == (int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangePersonPageViewEnum.允许 ? true : false ,true, false) { ID = "PersonPageView", Class="VideoViewRange", Lang="个人主页展示"}%>
<%= new HtmlLabel("PersonPageViewLabel", "个人主页展示")%>
<%
}
%>
<%--学校平台--%>
<%
if (this.VideoViewRange.SchoolPageView == (int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.审核中)
{
%>
<%= new HtmlCheckBox("SchoolPageView", true ,true, false) { ID = "SchoolPageView", Class="VideoViewRange", Lang="学校平台展示", Disabled = true, Title="正在审核"}%>
<%= new HtmlLabel("SchoolPageViewLabel", "学校平台展示")%>
<%
}
else
{
%>
<%= new HtmlCheckBox("SchoolPageView", this.VideoViewRange.PersonPageView == (int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangePersonPageViewEnum.允许 ? true : false ,true, false) { ID = "SchoolPageView", Class="VideoViewRange", Lang="学校平台展示"}%>
<%= new HtmlLabel("SchoolPageViewLabel", "学校平台展示")%>
<%
}
%>
<%--区平台--%>
<%
if (this.VideoViewRange.AreaPageView == (int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.审核中)
{
%>
<%= new HtmlCheckBox("AreaPageView", true ,true, false) { ID = "AreaPageView", Class="VideoViewRange", Lang="区平台展示", Disabled = true, Title="正在审核"}%>
<%= new HtmlLabel("AreaPageViewLabel", "区平台展示")%>
<%
}
else
{
%>
<%= new HtmlCheckBox("AreaPageView", this.VideoViewRange.PersonPageView == (int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangePersonPageViewEnum.允许 ? true : false ,true, false) { ID = "AreaPageView", Class="VideoViewRange", Lang="区平台展示"}%>
<%= new HtmlLabel("AreaPageViewLabel", "区平台展示")%>
<%
}
%>
<%--<%= new HtmlCheckBox("SchoolPageView",true, true, false) { ID = "SchoolPageView", Class="VideoViewRange", Lang="学校平台展示"}%>
<%= new HtmlLabel("SchoolPageViewLabel", "学校平台展示")%>
<%= new HtmlCheckBox("AreaPageView", true,true, false) { ID = "AreaPageView", Class="VideoViewRange", Lang="区平台展示"}%>
<%= new HtmlLabel("AreaPageViewLabel", "区平台展示")%>--%>
注:勾选了对应的选项,视频才能在对应的平台展现
|
<%
}
}
%>
标签用英文逗号(",")分开: |
<%= 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)%>
|