*标题: |
<%= new HtmlText("Name", ViewData.Val("ParentApplication.Title", this.RecordVideo), 256) { }%>
<%= new HtmlYKTip("Name")%>
|
主讲人: |
<% var speaker = ViewData.Val("ParentApplication.Speaker", this.RecordVideo);
if (speaker == null) { speaker = this.UserName; }
%>
<%= new HtmlText("Spreaker", speaker, 256) { }%>
|
<%
if (this.RecordVideo == null)
{
%>
*视频文件?: |
<%= new HtmlHidden("FileName", null) { Class = "ipt-t ipt-t-dft " }%>
<%= 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 HtmlYKTip("FileName")%>--%>
<%--<%= new HtmlAnchor("未显示“上传”按钮,请点击下载,安装后重新加载页面!") { Href=Request.WebPath()+"/Resource/Silverlight.zip" }%>--%>
|
<%
}
else
{
//说明是转换过来的
%>
*视频文件: |
<%= new HtmlHidden("RecordVideoGuid", this.RecordVideo.Guid) { }%>
<%= new HtmlText("FileName", this.RecordVideo.FileName, 256) { }%>
<%= new HtmlHidden("VideoUploadPath",SettingGroup.VideoUploadPath) %>
<%= new HtmlHidden("RecordVideoUploadPath",SettingGroup.RecordVideoUploadPath + this.RecordVideo.ParentUser.Guid) %>
<%= new HtmlYKTip("FileName")%>
|
<%
}
%>
*文件类型: |
<%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum), Disabled = true }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(ViewData.Val("FileType", this.RecordVideo).ToString(null))%>
|
*文件大小: |
<%= new HtmlText("FileSize", ViewData.Val("FileSize", this.RecordVideo).ToString(null)) { ReadOnly = true }%>
|
*所属学科: |
<%= new HtmlSelect("ParentCategory", "Name", "Guid", "Guid") { Option = this.ListAllCategory, OptGroup= CreateInstance.CategoryDao.GetOptGroup(this.ListAllCategory), OnChange = "GetTextbook();",SelectedValue = this.RecordCategory != null ? this.RecordCategory.Guid : CookieGroup.ListUserCategory.Count == 0 ? CreateInstance.CategoryDao.Where(l=>l.ParentCategory!=null).OrderBy(l=>l.SortNumber).FirstResult().Guid : CookieGroup.ListUserCategory.FirstResult() }.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 = "", OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentGrade") { }%>
|
<%= CreateInstance.ConfigDao.VideoPressTag("") != null ? "*" : "" %>出版社: |
<%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentPress") { }%>
|
所属专辑: |
<%= new HtmlSelect("ParentAlbum", "Name", "Guid", "Guid") { Option = CreateInstance.AlbumDao.Where(l=>l.Status == (int)AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum.有效
&& l.Examine == (int)AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum.审核通过
&&(l.ParentUser.Guid == CookieGroup.UserCode || l.OpenUpload == (int)AVA.ResourcesPlatform.Model.Pub.AlbumOpenUploadEnum.是)).ToList()}.InsertOption("::选择::", "", 0) %>
|
课程分类: |
<%= new HtmlSelect("Channel", "Name", "Guid", "Guid") { Option = this.ListAllChannel, OptGroup= CreateInstance.ChannelDao.GetOptGroup(this.ListAllChannel), DefaultSelectValue = "" }.InsertOption("::选择::", "", 0)%>
|
<%if (SettingGroup.HasWeike)
{
%>
微课广场: |
<%= new HtmlCheckBox("IsWeiKe", false, 1, 0) { Class="IsWeiKe"}%>
|
<%
}
%>
<%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();//微课标签
%>
推荐标签: |
<%foreach (var item in listTagCK)
{
%>
-
<%= new HtmlCheckBox("Tag", false, item.Guid, "") { ID = "Tag" + item.Guid, Class="Tag", Lang=item.Name}%>
<%= new HtmlLabel("Tag" + item.Guid, item.Name)%>
<%
}
%>
<%foreach (var item in listTagWK)
{
%>
-
<%= new HtmlCheckBox("Tag", false, item.Guid, "") { ID = "Tag" + item.Guid, Class="Tag", Lang=item.Name}%>
<%= new HtmlLabel("Tag" + item.Guid, item.Name)%>
<%
}
%>
|
<%
}
%>
标签用空格(" ")分开: |
<%= new HtmlText("VideoTag", null, 256) { Class="VideoTag", Width=800 }%>
|
简介: |
<%= new HtmlTextArea("Summary", null, 2000)%>
|