%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMenu.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMenu" %>
-
<%= new HtmlAnchor("我的首页") { Href = WebUrl.My(), Class = (this.CurrentCode == "My" ? "current" : "") }%>
<%
if (this.User.ParentUserType.VideoEnable)
{
%>
-
<%= new HtmlAnchor("我的视频") { Href = WebUrl.MyVideo() }%>
<%--- 我的视频
" id="collapse-video">
- ">
<%= new HtmlAnchor("我上传的") { Href = WebUrl.MyVideo() }%>
--%>
<%
}
%>
<%
if (this.User.ParentUserType.AlbumEnable)
{
%>
-
<%= new HtmlAnchor("我的专辑") { Href = WebUrl.MyAlbum() }%>
<%
}
%>
<%
if (this.User.ParentUserType.SubjectEnable
&& SettingGroup.HasSubject == true)
{
%>
- 我的优课评比
" id="collapse-subject">
- ">
<%= new HtmlAnchor("我发布的") { Href = WebUrl.MySubject() }%>
- ">
<%= new HtmlAnchor("我参与的") { Href = WebUrl.MySubjectParticipate() }%>
<%
if(CreateInstance.STUserDao.HasSTUser(this.User))
{
%>
- ">
<%= new HtmlAnchor("我的评审任务") { Href = WebUrl.MySubjectST() }%>
<%
}
%>
- ">
<%= new HtmlAnchor("我申请的") { Href = WebUrl.MySubjectSignup() }%>
<%
}
%>
<%
if (this.User.ParentUserType.MeetingEnable
&& SettingGroup.HasMeeting == true)
{
%>
- 我的教研
" id="collapse-meeting">
- ">
<%= new HtmlAnchor("我发布的") { Href = WebUrl.MyMeeting() }%>
- ">
<%= new HtmlAnchor("我参与的") { Href = WebUrl.MyMeetingParticipate() }%>
- ">
<%= new HtmlAnchor("我申请的") { Href = WebUrl.MyMeetingSignup() }%>
<%
}
%>
<%
if (this.User.ParentUserType.ApplicationEnable
&& SettingGroup.HasLive == true)
{
%>
- 我的直播
" id="collapse-live">
- ">
<%= new HtmlAnchor("申请录制") { Href = WebUrl.MyApplicationAdd() }%>
- ">
<%= new HtmlAnchor("直播列表") { Href = WebUrl.MyApplication() }%>
- ">
<%= new HtmlAnchor("录制视频") { Href = WebUrl.MyRecordVideo() }%>
- ">
<%= new HtmlAnchor("课表导入") { Href = WebUrl.MyApplicationInport() }%>
<%
}
%>
<%
if (CreateInstance.UserGroupDao.Count(l => l.ParentMasterUser == this.User) > 0)
{
%>
- 我的小组
" id="collapse-group">
- ">
<%= new HtmlAnchor("我的组成员") { Href = WebUrl.MyGroupUser() }%>
- ">
<%= new HtmlAnchor("组视频") { Href = WebUrl.MyGroupVideo() }%>
- ">
<%= new HtmlAnchor("组专辑") { Href = WebUrl.MyGroupAlbum() }%>
<%
if (SettingGroup.HasMeeting == true)
{
%>
- ">
<%= new HtmlAnchor("组教研") { Href = WebUrl.MyGroupMeeting() }%>
<%
}
%>
- ">
<%= new HtmlAnchor("组优课评比") { Href = WebUrl.MyGroupSubject() }%>
<%
if (SettingGroup.HasLive == true)
{
%>
- ">
<%= new HtmlAnchor("组直播") { Href = WebUrl.MyGroupApplication() }%>
<%
}
%>
<%
}
%>
- 我的信息
" id="collapse-my">
- ">
<%= new HtmlAnchor("个人信息") { Href = WebUrl.Basic() }%>
- ">
<%= new HtmlAnchor("修改密码") { Href = WebUrl.Password() }%>
<%
if (this.User.ParentUserType.IsManager == (int)AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum.是)
{
%>
- ">
<%= new HtmlAnchor("平台统计") { Href = WebUrl.MasterIndex() }%>
<%
}
%>