%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Navigation.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Control.Navigation" %>
<% if (this.IsTopNav)
{ %>
-
<%= DefineEnum.主页.Define()%>
<%
if (prevParentGuid != "")
{
HasChildMenu(prevParentGuid, _TotoalMenu);
}
if (this._ListSecurityMenu != null && this._ListSecurityMenu.Count > 0)
{
foreach (var item in this._ListSecurityMenu
.OrderBy(l=>l.SortNumber)
.ToList())
{
//根据网页地址判断显示哪些出来
if (item.Name == Define.Get("Menu_网络评课管理")
&& SettingGroup.HasSubject == false)
{
continue;
}
else if (item.Name == Define.Get("Menu_教研互动管理")
&& SettingGroup.HasMeeting == false)
{
continue;
}
else if (item.Name == Define.Get("Menu_录制与直播管理")
&& SettingGroup.HasLive == false)
{
continue;
}
else if (item.Name == Define.Get("Menu_听课管理")
&& SettingGroup.HasLiveListen == false)
{
continue;
}
else if (item.Name == Define.Get("Menu_公开课管理")
&& SettingGroup.HasPublicClass == false)
{
continue;
}
else if (item.Name == Define.Get("Menu_数据日志")
&& SettingGroup.DataLog == false)
{
continue;
}
%>
<%
}%>
<%
}
%>
<% }
else
{ %>
<%
} %>