*授课地点: |
<%= new HtmlSelect("ParentRecordEquipment", "Name", "Guid", "Guid") { Option = this.ListRecordEquipment,DefaultSelectValue= ViewData.Val("ParentRecordEquipment.Guid", this.Application) }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentRecordEquipment")%>
|
<%
if (this.Application == null)
{
%>
*直播日期: |
<%= new HtmlText("ApplicationDate", ViewData.Val("ApplicationDate", this.Application).ToDateTimeN().ToAutoShortDate()) { OnChange = "GetTimeRange();" }%>
<%= new HtmlYKTip("ApplicationDate") %>
|
*直播时间段: |
请先选择授课地点和直播日期
|
<%
}
else
{
%>
*开始时间: |
<%= new HtmlText("StartTime", ViewData.Val("StartTime", this.Application).ToDateTimeN().ToAutoShortDate()) { Class = "" }%>
<%= new HtmlYKTip("StartTime") %>
|
*结束时间: |
<%= new HtmlText("EndTime", ViewData.Val("EndTime", this.Application).ToDateTimeN().ToAutoShortDate()) { Class = " " }%>
<%= new HtmlYKTip("EndTime") %>
|
<%
}
%>
*年级: |
<%= new HtmlSelect("ParentGrade", "Name", "Guid", "Guid") { Option = this.ListAllGrade, DefaultSelectValue = ViewData.Val("ParentGrade.Guid", this.Application), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
|
<%
if (CreateInstance.ConfigDao.ApplicationLessonTag() != null)
{
%>
*学科: |
<%= new HtmlSelect("Category", "Name", "Guid", "Guid") { Option = this.ListAllCategory, DefaultSelectValue = "", OnChange = "GetTextbook();", SelectedValue = ViewData.Val("=>_ListApplicationCategory[0].Guid", this.Application) }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("Category") { }%>
|
*出版社: |
<%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", SelectedValue = ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Guid", this.Application), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentPress") { }%>
|
*课本: |
|
*课元课: |
|
<%
}
//如果这里是要有单元课的话,那么他这里肯定是只能选择一个学科
%>
*观看权限: |
<%= new HtmlRadio("Share", 0, null) { ID = "Application_Share_0", Checked=(ViewData.Val("Share", this.Application).ToIntN()==0) }.Style(new { Width = "auto" })%>
<%= new HtmlRadio("Share", 1, null) { ID = "Application_Share_1", Checked=(ViewData.Val("Share", this.Application).ToIntN()==1) }.Style(new { Width = "auto" })%>
<%= new HtmlRadio("Share", true , 2, null) { ID = "Application_Share_2", Checked=(ViewData.Val("Share", this.Application).ToIntN()==2) }.Style(new { Width = "auto" })%>
<%= new HtmlYKTip("Share") %>
|
<%= CreateInstance.ConfigDao.ApplicationTitleTag("*") %>标题: |
<%= new HtmlText("Title", ViewData.Val("Title", this.Application), 200) { }%>
<%= new HtmlYKTip("Title") %>
|
<%= CreateInstance.ConfigDao.ApplicationCoverTag("*") %>直播封面: |
|
<%= CreateInstance.ConfigDao.ApplicationSpeakerTag("*") %>主讲人: |
<%= new HtmlText("Speaker", ViewData.Val("Speaker", this.Application), 200) { }%>
<%= new HtmlYKTip("Speaker")%>
|
<%= CreateInstance.ConfigDao.ApplicationAlbumNameTag("*") %>专辑名称: |
<%= new HtmlText("AlbumName", ViewData.Val("AlbumName", this.Application), 64) { }%>
<%= new HtmlYKTip("AlbumName")%>
|
<%= CreateInstance.ConfigDao.ApplicationViewPasswordTag("*") %>观看密码: |
<%= new HtmlText("ViewPassword", ViewData.Val("ViewPassword", this.Application), 200) { }%>
<%= new HtmlYKTip("ViewPassword")%>
|
*到场人数: |
<%= new HtmlText("NumberOfPeople", 1) { Class = "ipt-t ipt-t-dft " }%><%--不显示到场人数--%>
<%= new HtmlYKTip("NumberOfPeople") %>
|
<%= CreateInstance.ConfigDao.ApplicationDescriptionTag("*") %>申请说明: |
<%= new HtmlTextArea("Description", ViewData.Val("Description", this.Application), 2000)%>
<%= new HtmlYKTip("Description") %>
|
<%= CreateInstance.ConfigDao.ApplicationChannelTag("*") %>课程分类: |
<%
for (var i = 0; i <= this.ListAllChannel.Count - 1; i++)
{
var channel = this.ListAllChannel[i];
string parentChannelGuid = "";
if (channel.ParentChannel != null)
{
parentChannelGuid = channel.ParentChannel.Guid;
%>
-
<%= new HtmlCheckBox("Channel", CreateInstance.ApplicationChannelDao.Count(l=>l.ParentApplication== this.Application
&& l.ParentChannel== channel)>0, channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelItem ChannelItemChannel" + parentChannelGuid, Lang = channel.ParentChannel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
else
{
%>
-
<%= new HtmlCheckBox("Channel", CreateInstance.ApplicationChannelDao.Count(l=>l.ParentApplication== this.Application
&& l.ParentChannel== channel)>0 , channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelMaster ChannelMaster" + channel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
}
%>
|
<%
if (CreateInstance.ConfigDao.ApplicationLessonTag() == null)
{
//如果有课表的话,这一个肯定是单选的
%>
<%= CreateInstance.ConfigDao.ApplicationChannelTag("*") %>所属学科: |
<%
for (var i = 0; i <= this.ListAllCategory.Count - 1; i++)
{
var category = this.ListAllCategory[i];
string parentCategoryGuid = "";
if (category.ParentCategory != null)
{
parentCategoryGuid = category.ParentCategory.Guid;
%>
-
<%= new HtmlRadio("Category", CreateInstance.ApplicationCategoryDao.Count(l => l.ParentApplication == this.Application
&& l.ParentCategory == category) > 0, category.Guid, "") { ID = "Category" + category.Guid, Class = "CategoryItem CategoryItemCategory" + parentCategoryGuid, Lang = category.ParentCategory.Guid, }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Category" + category.Guid, category.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Category")%>
<%
}
%>
<%
}
else
{
%>
-
<%= new HtmlRadio("Category", CreateInstance.ApplicationCategoryDao.Count(l => l.ParentApplication == this.Application
&& l.ParentCategory == category) > 0, category.Guid, "") { ID = "Category" + category.Guid, Class = "CategoryMaster CategoryMaster" + category.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Category" + category.Guid, category.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Category")%>
<%
}
%>
<%
}
}
%>
|
<%
}
%>
|
<%= new HtmlHidden("Key", this.KEY)%>
<%= new HtmlHidden("ParentUser", this.User.Guid)%>
<%= new HtmlSubmit("提交", "ApplicationEdit",this.Application==null? "ApplicationAddClient(this);":"ApplicationEditClient(this);").Style(new { Width = "100px" })%>
|