*标题: |
<%= 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", 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 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.FirstResult() }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentCategory") { }%>
|
<%= CreateInstance.ConfigDao.VideoPressTag("") != null ? "*" : ""%>出版社: |
<%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentPress") { }%>
|
<%= 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") { }%>
|
是否为微课: |
<%= new HtmlCheckBox("IsWeiKe", false, 1, 0)%>
|
简介: |
<%= new HtmlTextArea("Summary", null, 2000)%>
|