Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\Control\My\MyMenu.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMenu.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMenu" %> <div class="app-sidebar "> <div class="control_panel vertical-nav"> <div class="banner"> <div class="avatar"> <% if (CreateInstance.UserDao.Get(this.UserCode).HeadPortrait !=null) { //?????? %> <div class="min-video-photo"><%= new HtmlAnchor(new HtmlImg(SettingGroup.UserHeadPortrait(CreateInstance.UserDao.Get(this.UserCode)),"??????") { Class="avatar", Width=80, Height=80, OnErrorImg=SettingGroup.DefauteUserImg}) { Title="??????", Href= WebUrl.Basic() }%></div> <% } else { //???????? %> <div class="min-video-photo"><%= new HtmlAnchor( new HtmlImg(SettingGroup.DefauteUserImg, "??????") { ID = "imgHeadPortrait",Class="avatar", Width=80, Height=80 }) { Title="??????", Href= WebUrl.Basic() }%></div> <% } %> <div class="my_name"> <i class="icon-white icon-user"></i><%= new HtmlAnchor(this.User.TrueName) { Target = "_blank", Href = WebUrl.Show(this.User.ParentDomain.Code, this.User.UserName), Title = this.User.ParentDomain.Name , Suffix="..", TextLength=11, Class="text-white" }%> <%= new HtmlAnchor("[???]") { Href = WebUrl.Logout(),Class="text-white" }%> <br /> <i class="icon icon-envelope"></i><%= new HtmlAnchor("???("+CreateInstance.MessageDao.Count(this.User)+")") { Href= WebUrl.MyMessage() }%><br /> </div> </div> </div> <ul class="nav nav-list"> <li class="<%= this.MyMenuItem ==MyMenuItem.My ? "active" : "" %>"> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title= Define.Get("Client_??????"), Href = WebUrl.My() }%> </li> <li class="<%= this.MyMenuItem == MyMenuItem.PublicClassEnable ? "active" : "" %>"> <%= new HtmlAnchor("??????") {Title="??????", Href= WebUrl.MyPublicClass() }%> </li> <li class="<%= this.MyMenuItem == MyMenuItem.VideoEnable ? "active" : "" %>"> <%= new HtmlAnchor("??????") {Title="??????", Href= WebUrl.MyVideo() }%> </li> <%-- <% if (this.User.ParentUserType.StudentEbable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.StudentEbable ? "active" : "" %>"> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title=Define.Get("Client_??????"),Href = WebUrl.MyStudentAsk() }%> </li> <% } %>--%> <% if (this.User.ParentUserType.ApplicationEnable) { %> <li class="<%= this.MyMenuItem == MyMenuItem.ApplicationEnable ? "active" : "" %>"> <%= new HtmlAnchor("????????") { Title="????????", Href= WebUrl.MyApplication() }%> </li> <% } %> <% if (this.User.ParentUserType.TeacherEbable) { %> <li class="<%= this.MyMenuItem == MyMenuItem.ShiXunWork ? "active" : "" %>"> <%= new HtmlAnchor("?????????") { Title="?????????",Href= WebUrl.MyShiXunWork() }%> </li> <li class="<%= this.MyMenuItem == MyMenuItem.InstructorEnable ? "active" : "" %>"> <%= new HtmlAnchor("?????????") { Title="?????????",Href= WebUrl.MySubject() }%> </li> <% } else if (this.User.ParentUserType.InstructorEnable) { %> <li class="<%= this.MyMenuItem == MyMenuItem.ShiXunWork ? "active" : "" %>"> <%= new HtmlAnchor("??????") { Title="??????",Href= WebUrl.MyShiXunWork() }%> </li> <li class="<%= this.MyMenuItem == MyMenuItem.InstructorEnable ? "active" : "" %>"> <%= new HtmlAnchor("??????") { Title="??????",Href= WebUrl.MySubject() }%> </li> <li class="<%= this.MyMenuItem == MyMenuItem.STScoreType ? "active" : "" %>"> <%= new HtmlAnchor("?????????") { Title="?????????",Href= WebUrl.MySTScoreType() }%> </li> <% } %> <% if (this.User.ParentUserType.TeacherEbable) { %> <li class="<%= this.MyMenuItem == MyMenuItem.GrowUp ? "active" : "" %>"> <%= new HtmlAnchor("??????") {Title="???", Href= WebUrl.MyRecordSubject() }%> </li> <% } %> <% if (this.User.ParentUserType.DomainMaster) { %> <li class="<%= this.MyMenuItem == MyMenuItem.DomainMaster ? "active" : "" %>"> <%= new HtmlAnchor(Define.Get("Client_?????????")) { Title=Define.Get("Client_?????????"),Href= WebUrl.MyDomainVideoManager() }%> </li> <% } %> <%-- <li class="<%= this.MyMenuItem == MyMenuItem.MyCollect ? "active" : "" %>"> <%= new HtmlAnchor(Define.Get("Client_??????")) { Title=Define.Get("Client_??????"), Href= WebUrl.MyCollect() }%> </li>--%> </ul> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de