">
*<%= Define.Get("Application_所属用户").HtmlEncode() %>:
|
<%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_Application"], this.ViewData["_Application.ParentUser.TrueName"] + "[" + this.ViewData["_Application.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmApplication [name=ParentUser]","Edit");" }%>
<%= new HtmlHidden("ParentUser", this.ViewData["_Application.ParentUser.Guid"])%>
[<%= DefineEnum.选择.Define() %>] [<%= DefineEnum.清空.Define() %>]
<%= new HtmlYKTip("ParentUser") %>
|
">
<%= Define.Get("Application_RecordEquipmentDomainName_平台名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Application.ParentRecordEquipment.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Application_RecordEquipmentDomainCode_平台编码").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Application.ParentRecordEquipment.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
<%
if (Has(this.ViewData["_Application"]) == false)
{
%>
">
*<%= Define.Get("Application_授课地点").HtmlEncode() %>:
|
<%
foreach (var recordEquipment in this.ListRecordEquipment)
{
%>
<%
}
%>
<%= new HtmlYKTip("ParentRecordEquipment") %>
|
<%
}
else
{
%>
">
<%= Define.Get("Application_授课地点").HtmlEncode() %>:
|
<%= new HtmlText("ParentRecordEquipmentName", Has(this.ViewData["_Application.ParentRecordEquipment"]) ? this.ViewData["_Application.ParentRecordEquipment.Name"] : (this.RecordEquipment != null ? this.RecordEquipment.Name : "")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", Disabled = Has(this.ViewData["_Application"]) }%>
<%
if (Has(this.ViewData["_Application"]) == false)
{
%>
<%= new HtmlHidden("ParentRecordEquipment", Has(this.ViewData["_Application.ParentRecordEquipment"]) ? this.ViewData["_Application.ParentRecordEquipment.Guid"] : (this.RecordEquipment != null ? this.RecordEquipment.Guid : "")) { OnChange = "GetTimeRange();" }%>
[<%= DefineEnum.选择.Define() %>] [<%= DefineEnum.清空.Define() %>]
<%= new HtmlYKTip("ParentRecordEquipment") %>
<%
}
%>
|
<%
}
%>
">
*<%= Define.Get("Application_直播日期").HtmlEncode() %>:
|
<%= new HtmlText("ApplicationDate", this.ViewData["_Application.ApplicationDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date ", ReadOnly = Has(this.ViewData["_Application"]), Disabled = Has(this.ViewData["_Application"]), OnChange = "GetTimeRange();" }%>
<%= new HtmlYKTip("ApplicationDate") %>
|
<%
if (Has(this.ViewData["_Application"]))
{
%>
">
<%= Define.Get("Application_开始时间").HtmlEncode()%>:
|
<%= new HtmlText("StartTime", this.ViewData["_Application.StartTime"].ToDateTimeN().ToTime()) { Class = "ipt-t ipt-t-dft time" }%>
|
">
<%= Define.Get("Application_结束时间").HtmlEncode()%>:
|
<%= new HtmlText("EndTime", this.ViewData["_Application.EndTime"].ToDateTimeN().ToTime()) { Class = "ipt-t ipt-t-dft time " }%>
|
<%
}
else
{
%>
">
*<%= Define.Get("ApplicationTimeSetting_直播时间段").HtmlEncode()%>:
|
请先选择上面的所属用户、授课教室和录制日期
|
<%
}
%>
">
*<%= Define.Get("Application_标题").HtmlEncode() %>:
|
<%= new HtmlText("Title", this.ViewData["_Application.Title"], 200) { Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("Title") %>
|
">
*<%= Define.Get("Application_主讲人").HtmlEncode() %>:
|
<%= new HtmlText("Speaker", this.ViewData["_Application.Speaker"], 200) { Class = "ipt-t ipt-t-dft " }%>
|
">
*<%= Define.Get("Application_所属学科").HtmlEncode() %>:
|
<%= new HtmlText("ParentCategory_Name",this.Category == null ? "" : this.Category.Name) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmApplication [name='ParentCategory']","Edit");" }%>
<%= new HtmlHidden("ParentCategory", this.Category == null ? "" : this.Category.Guid)%>
[<%= DefineEnum.选择.Define() %>] [<%= DefineEnum.清空.Define() %>]
<%= new HtmlYKTip("ParentCategory") %>
|
">
<%= Define.Get("Application_所属年级").HtmlEncode() %>:
|
<%= new HtmlText("ParentGrade_Name", IN(this.ViewData["_Application"], this.ViewData["_Application.ParentGrade.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%>
<%= new HtmlHidden("ParentGrade", this.ViewData["_Application.ParentGrade.Guid"])%>
[<%= DefineEnum.选择.Define() %>]
[<%= DefineEnum.清空.Define() %>]
|
">
<%= Define.Get("Application_LessonTextbookName_课本名称").HtmlEncode() %>:
|
<%= new HtmlText(null, this.ViewData["_Application.ParentLesson.ParentTextbook.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%>
|
">
<%= Define.Get("Application_直播片头").HtmlEncode() %>:
|
<%= new HtmlText("ParentBeginCredits_Code", IN(this.ViewData["_Application"], this.ViewData["_Application.ParentBeginCredits.Code"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%>
<%= new HtmlHidden("ParentBeginCredits", this.ViewData["_Application.ParentBeginCredits.Guid"])%>
[<%= DefineEnum.选择.Define() %>]
[<%= DefineEnum.清空.Define() %>]
|
">
<%= Define.Get("Application_直播片尾").HtmlEncode() %>:
|
<%= new HtmlText("ParentEndCredits_Code", IN(this.ViewData["_Application"], this.ViewData["_Application.ParentEndCredits.Code"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%>
<%= new HtmlHidden("ParentEndCredits", this.ViewData["_Application.ParentEndCredits.Guid"])%>
[<%= DefineEnum.选择.Define() %>]
[<%= DefineEnum.清空.Define() %>]
|
">
<%= Define.Get("Application_封面").HtmlEncode() %>:
|
<%= new HtmlHidden("Cover", ViewData["_Application.Cover"])%>
<%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%>
[<%= DefineEnum.删除.Define() %>] ','0','<%= SettingGroup.ApplicationUploadPath %>','','960', '540')">[<%= DefineEnum.图片上传.Define() %>]
|
">
<%= Define.Get("Application_观看密码").HtmlEncode() %>:
|
<%= new HtmlText("ViewPassword", this.ViewData["_Application.ViewPassword"], 32) { Class = "ipt-t ipt-t-dft " }%>
|
">
<%= Define.Get("Application_专辑名称").HtmlEncode() %>:
|
<%
var album = this.ViewData["_Application.AlbumName"];
if (album != null && this.ListAlbum.Select(l => l.Name).Contains(album))
{
%>
<%= new HtmlText("", this.ViewData["_Application.AlbumName"], 64) { ID = "AlbumText", Class = "ipt-t ipt-t-dft " }.Style(new { display="none" })%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID="AlbumSelect", Option = this.ListAlbum,DefaultSelectValue = "", SelectedValue= this.ViewData["_Application.AlbumName"], OnChange="ChangeAlbumText(this)" }.InsertOption("我要输入...","change",this.ListAlbum.Count).InsertOption("::选择::", "", 0)%>
<%
}
else if (album != null && album != "" && this.ListAlbum.Select(l => l.Name).Contains(album) == false)
{
%>
<%= new HtmlText("", this.ViewData["_Application.AlbumName"], 64) { ID = "AlbumText", Class = "ipt-t ipt-t-dft " }%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID = "AlbumSelect", Option = this.ListAlbum, DefaultSelectValue = "", SelectedValue = this.ViewData["_Application.AlbumName"], OnChange = "ChangeAlbumText(this)" }.InsertOption("我要输入...", "change", this.ListAlbum.Count).InsertOption("::选择::", "", 0).Style(new { display="none"})%>
<%
}
else if (album == null || album == "")
{
%>
<%= new HtmlText("", this.ViewData["_Application.AlbumName"], 64) { ID = "AlbumText", Class = "ipt-t ipt-t-dft " }.Style(new { display="none" })%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID="AlbumSelect", Option = this.ListAlbum,DefaultSelectValue = "", SelectedValue= this.ViewData["_Application.AlbumName"], OnChange="ChangeAlbumText(this)" }.InsertOption("我要输入...","change",this.ListAlbum.Count).InsertOption("::选择::", "", 0)%>
<%
}
%>
<%--<%= new HtmlText("", this.ViewData["_Application.AlbumName"], 64) { Class = "ipt-t ipt-t-dft ", ID="AlbumText" }.Style(new { display="none" })%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID="AlbumSelect", Option = this.ListAlbum,DefaultSelectValue= this.ViewData["_Application.AlbumName"], OnChange="ChangeAlbumText(this)" }.InsertOption("我要输入...","change",this.ListAlbum.Count).InsertOption("::选择::", "", 0)%>--%>
|
">
<%= Define.Get("Application_是否对外公开").HtmlEncode() %>:
|
">
<%= new HtmlRadio("Share", this.ViewData["_Application.Share"].ToInt(-1) == 0, 0, null) { ID = "Application_Share_0", Checked = (this.ViewData["_Application.Share"].ToIntN() == 0 ? true : false) }.Style(new { Width = "auto" })%>
<%--<%= new HtmlRadio("Share", this.ViewData["_Application.Share"].ToInt(-1) == 1, 1, null) { ID = "Application_Share_1" }.Style(new { Width = "auto" })%>
--%>
<%= new HtmlRadio("Share", this.ViewData["_Application.Share"].ToInt(-1) == 2, 2, null) { ID = "Application_Share_2" , Checked = ((this.ViewData["_Application.Share"].ToIntN() == 2 || this.ViewData["_Application"]==null) ? true : false) }.Style(new { Width = "auto" })%>
<%= new HtmlYKTip("Share") %>
|
">
<%= Define.Get("Application_需要登录观看").HtmlEncode() %>:
|
<%= new HtmlCheckBox("NeetLoginToLive", this.ViewData["_Application.NeetLoginToLive"], true, false) { Class = ""}%>
|
">
<%= Define.Get("Application_是否发布高清视频").HtmlEncode() %>:
|
<%= new HtmlCheckBox("IsHDVideo", this.ViewData["_Application.IsHDVideo"], true, false) { Class = "", DefaultChecked = false}%>
|
">
<%= Define.Get("Application_是否发布预约通知").HtmlEncode() %>:
|
<%= new HtmlCheckBox("IsPubNotice", this.ViewData["_Application.IsPubNotice"], true, false) { Class = "", DefaultChecked = false}%>
|
">
<%= Define.Get("Application_申请说明").HtmlEncode() %>:
|
<%= new HtmlTextArea("Description", this.ViewData["_Application.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
|
">
<%= Define.Get("Application_到场人数").HtmlEncode() %>:
|
<%= new HtmlText("NumberOfPeople", this.ViewData["_Application.NumberOfPeople"]) { Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("NumberOfPeople") %>
|
">
<%= Define.Get("Application_直播下载信息").HtmlEncode() %>:
|
<%= new HtmlTextArea("DownloadMessage", this.ViewData["_Application.DownloadMessage"], 256) { Class = "ipt-t ipt-t-dft width400 height100"}%>
|
<%
if (Has(this.ViewData["_Application.ParentDealUser"]) == true)
{
%>
">
<%= Define.Get("Application_审批用户").HtmlEncode()%>:
|
<%= new HtmlText("DealUserGuid", this.ViewData["_Application.ParentDealUser.UserName"], 32) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft " }%>
<%= new HtmlYKTip("ParentDealUser")%>
|
">
<%= Define.Get("Application_审批日期").HtmlEncode()%>:
|
<%= new HtmlText("DealTime", this.ViewData["_Application.DealTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%>
<%= new HtmlYKTip("DealTime")%>
|
">
<%= Define.Get("Application_审批说明").HtmlEncode() %>:
|
<%= new HtmlTextArea("DealRemark", this.ViewData["_Application.DealRemark"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
|
<%
}
%>
<%
if (Has(this.ViewData["_Application"]) == true
&& this.ViewData["_Application.ConfirmRemark"] != null)
{
%>
">
<%= Define.Get("签到说明").HtmlEncode()%>:
|
<%= new HtmlTextArea("ConfirmRemark", this.ViewData["_Application.ConfirmRemark"], 2000) { Class = "ipt-t ipt-t-dft width400 height100" }%>
|
<%
}
else if (Has(this.ViewData["_Application"]) == true
&& this.ViewData["_Application.Stauts"].ToInt() != (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.批准)
{
%>
">
<%= Define.Get("签到说明").HtmlEncode()%>:
|
<%= new HtmlTextArea("ConfirmRemark", this.ViewData["_Application.ConfirmRemark"], 2000) { Class = "ipt-t ipt-t-dft width400 height100" }%>
|
|
<%= new HtmlButton("Send", "ConfirmApp", "ConfirmApp(this);") { Class = "hidden" }%>
<%= Define.Get("签到").HtmlEncode()%>
|
<%
}
%>
<%
if (Has(this.ViewData["_Application"]) == true)
{
%>
<%
}
%>