Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\Header.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.Header" %> <% if (!string.IsNullOrEmpty(CreateInstance.DomainInfoDao.THIS().MinLogo)) { %> <% } %> <header id="top"> <div id="header"> <div class=" header-top "> <!-- container --> <div class="container"> <div class=" banner "> <!-- span16 --> <div class=" "> <a href="<%= WebUrl.Index() %>"> <%= new HtmlImg(SettingGroup.DomainInfoMaxLogo(CreateInstance.DomainInfoDao.THIS()), "")%> </a> <ul class="wellcome_tip"> <li style="" class="logpre"> <%= new HtmlAnchor("???") { Href= WebUrl.Signup()}%> | <%= new HtmlAnchor("???") { Href = "#login", ID="headerLogin", OnClick = "document.getElementById('frmMiniLogin').submit();return false;" }%> | <%= new HtmlAnchor("???") { Href= WebUrl.Help(), Target="_blank"}%> </li> <li class="logafter " style="display: none;">???, <%= new HtmlAnchor(this.UserName) { Href= WebUrl.My()}%> <%= new HtmlAnchor("???") { Href = WebUrl.Logout() }%> | <%= new HtmlAnchor("???") { Href= WebUrl.Help(), Target="_blank"}%></li> <%-- <li class="dropdown logafter" style="display: none;"><a data-toggle="dropdown" class="dropdown-toggle " href="#My" target="_blank">???, <span class="uname">??</span><b class="caret"></b></a> <ul class="dropdown-menu"> <li class="nav-header"><%= Define.Get("Client_??????")%></li> <li> <%= new HtmlAnchor("?????????" + new HtmlImg(SettingGroup.UserHeadPortrait(CreateInstance.UserDao.Get(this.UserCode)),"??????") { Class="avatar", Width=32, Height=32,OnError="try{this.src='"+Import.CSSFile("img/user_32.png")+"'}catch(ex){}"}) { Title="??????", Href= WebUrl.Basic() }%> </li> <li class="divider"></li> <% if (this.User != null && this.User.ParentUserType.HeadMasterEnable == false) { %> <li> <%= new HtmlAnchor("???") { Href = WebUrl.MyVideoUpload(), Target = "_blank", Title="??????" }%> </li> <% } %> <li> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href= WebUrl.My()}%> </li> <li class="divider"></li> <li> <%= new HtmlAnchor("???") { Href = WebUrl.Logout() }%> </li> </ul> </li>--%> </ul> <script type="text/javascript"> //?????????? if ($.cookie("UserCode<%= SettingGroup.CookieSuffix %>") != null && $.cookie("ParentCode<%= SettingGroup.CookieSuffix %>") != null) { $(".logpre").hide(); $(".logafter").show(); $(".logafter .uname").html($.cookie("UserName<%= SettingGroup.CookieSuffix %>")); $("#liHeaderMy").show(); } else { $(".logafter").hide(); $(".logpre").show(); } </script> </div> </div> </div> <div class=""> <div class=""> <!-- span16 --> <div class="navbar navbar-static-top"> <div class="navbar-inner"> <div class="container"> <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></a> <div class="nav-collapse"> <ul id="HeaderMenuData" class="nav"> </ul> <ul class="nav pull-right"> <li> <form id="frmMiniLogin" class="navbar-search " method="post" action="<%= WebUrl.Login() %>" style="display: none;"> <%= new HtmlHidden("SRC",Request.RawUrl) %> </form> </li> <li> <asp:PlaceHolder ID="HeaderSearch" runat="server" /> </li> </ul> </div> <!-- /.nav-collapse --> </div> </div> <!-- /navbar-inner --> </div> </div> </div> </div> </div> </header> <script type="text/javascript"> function GetHeaderData() { var params = "HeaderItem=<%= (int)this.HeaderItem %>&Local=<%= this.Local %>"; Global.HtmlControl('<%= ControlPath("/HeaderData")%>', params, null, function (json) { if (json != null) { $("#HeaderMenuData").prepend(json.Html); } }); } GetHeaderData(); </script> <div class="affix" style="width:100%;z-index: 8000;" data-spy="affix" data-offset-top="140" > <div class="flash_messages alert " style="display: none;" > <button type="button" class="close" data-dismiss="alert">×</button> <p>message-here</p> </div> </div> <script> $(document).ready(function () { $('.flash_messages').affix(); }); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de