%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyVideo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyVideo" %>
视频 | |||||
<%= new HtmlCheckBox() { Value = SetKey(video.Guid, video.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%= new HtmlAnchor(video.Name) { Href = WebUrl.VideoPlay(video.Guid), Target = "_blank" }%>
|
<%= video.CreateTime.ToShortDate() %> | 大小:<%= AVA.ResourcesPlatform.Config.Helper.FormatSize(video.FileSize.ToDouble()) %>
时长:<%= AVA.ResourcesPlatform.Config.Helper.FormatSecond(video.Period) %> 权限:<%= ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)video.Share).Define() %> <%= video.ParentCategory.Name %> <% if (video.ParentLesson != null) { %> <%= video.ParentLesson.Section %> 《 <%= video.ParentLesson.Name %> 》 <% } %> |
<%= new HtmlAnchor("编辑") { Href = WebUrl.MyVideoEdit(video.Guid) }%>
| 删除
<%= new HtmlAnchor("附件") { Href = WebUrl.MyVideoAttachmentList(video.Guid) }%> | <%= new HtmlAnchor("知识点") { Href = WebUrl.MyVideoTimeInfoList(video.Guid) }%> <%= new HtmlAnchor("教学环节") { Href = WebUrl.MyVideoSWList(video.Guid) }%> | <%= new HtmlAnchor("点评") { Href = WebUrl.MyVideoTimeInfoOtherList(video.Guid) }%> <%= new HtmlAnchor("ST") { Href = WebUrl.MyVideoSWPatternList(video.Guid) }%> <% if(SettingGroup.HasSubject) { %> | <%= new HtmlAnchor("到优课评比") { Href = WebUrl.MyVideoToSubject(video.Guid) }%> <% } %> <% if (video.ParentLesson != null) { %> <%= new HtmlAnchor("通修课") { Href = WebUrl.TextbookView(video.ParentLesson.ParentTextbook.Guid,video.ParentLesson.Guid),Target="_blank" }%> <% } %> <%= new HtmlText("SortNumber", video.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};VideoChangeSortNumberClient(this,'" + SetKey(video.Guid, video.Version) + "')", Lang = video.SortNumber.ToString(), Width = 50, Title = "修改当前视频的位置" }%> |