header.jsp
来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· JSP 代码 · 共 85 行
JSP
85 行
<%/** * $RCSfile: header.jsp,v $ * $Revision: 1.5 $ * $Date: 2002/05/03 17:41:27 $ */%><%@ page import="com.jivesoftware.forum.*, com.jivesoftware.forum.util.SkinUtils, com.jivesoftware.forum.util.ParamUtils"%><% // This page is the header page included on all the pages. It defines // CSS, the body tags, and the HTML header at the top of every page. // Modify the HTML below to change the look of your forums. // Set the content type and character encoding response.setContentType("text/html; charset=" + JiveGlobals.getCharacterEncoding()); // Note: the recommended way to set the character encoding on the request // is to enable the SetCharacterEncodingFilter Servlet 2.3 filter in the // web.xml file. See the default web.xml that ships with Jive Forums for // more information.%><html><head> <title><%= title %></title> <meta http-equiv="content-type" content="text/html; charset=<%= JiveGlobals.getCharacterEncoding() %>"> <style type="text/css"> PRE { font-size : 9pt; } A { font-weight : bold; text-decoration : none; } A:hover { text-decoration : underline; } </style></head><body bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.bgColor") %>" text="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>" link="<%= JiveGlobals.getJiveProperty("skin.default.linkColor") %>" vlink="<%= JiveGlobals.getJiveProperty("skin.default.vLinkColor") %>" alink="<%= JiveGlobals.getJiveProperty("skin.default.aLinkColor")%>"><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.headerBorderColor") %>" cellpadding="1" cellspacing="0" border="0" width="100%"><tr><td><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.headerBgColor") %>" cellpadding="6" cellspacing="0" border="0" width="100%"><tr> <% if (!"false".equals(JiveGlobals.getJiveProperty("skin.default.useDefaultHeaderImage"))) { // Show the default logo if the locale is English if ("en".equals(locale.getLanguage())) { %> <td><a href="index.jsp"><img src="images/logo.gif" width="300" height="38" border="0"></a></td> <% } else { // Try to load an image based on the locale information: %> <td><a href="index.jsp"><img src="images/logo_<%= locale.getLanguage() %>.gif" width="300" height="38" border="0"></a></td> <% } %> <% } else { // Display a custom header image: %> <td><a href="index.jsp"><%= JiveGlobals.getJiveProperty("skin.default.headerLogo") %></a></td> <% } %></tr></table></td></tr></table><%-- spacer table --%><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><img src="images/blank.gif" width="1" height="10" border="0"></td></tr></table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?