⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 toolbar.jsp

📁 一个jive论坛管理的源码 学习Jive源程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>

<%
/**
 *	$RCSfile: toolbar.jsp,v $
 *	$Revision: 1.1.1.1 $
 *	$Date: 2002/09/09 13:50:20 $
 */
%>

<%@ page
	import="com.jivesoftware.forum.*,
	        com.jivesoftware.forum.util.*"
%>

<%@ include file="global.jsp" %>

<%	////////////////
	// get parameters

	String tab = ParamUtils.getParameter(request,"tab");
	if( tab == null ) {
		tab = "global";
	}
%>

<html>
<head>
	<title>工具条</title>
	<link rel="stylesheet" href="style/global.css">
</head>

<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
      bgcolor="#dddddd" text="#000000" link="#0000ff" vlink="#0000ff" alink="#ff0000">

<table class="toolbarBg" cellpadding="0" cellspacing="0" border="0" height="100%">
	<td width="99%">
		<font face="verdana,arial,helvetica" size="-1">
		&nbsp;

		<%-- "Global" tab --%>
			<a href="sidebar.jsp?tree=system"
			   target="sidebar" class="toolbarLink"
			   title="Goto the Global menu"
			   onclick="location.href='toolbar.jsp?tab=global';"
			><%= (tab.equals("global"))?"<b>Global</b>":"Global" %></a>

		&nbsp;

		<%-- "Forums" tab --%>
			<a href="sidebar.jsp?tree=forum"
			   target="sidebar" class="toolbarLink"
			   title="Goto the Forums menu"
			   onclick="location.href='toolbar.jsp?tab=forums';"
			><%= (tab.equals("forums"))?"<b>Forums</b>":"Forums" %></a>

		&nbsp;

		<%-- "Rewards" tab --%>
			<a href="sidebar.jsp?tree=reward"
			   target="sidebar" class="toolbarLink"
			   title="Goto the Rewards menu"
			   onclick="location.href='toolbar.jsp?tab=rewards';"
			><%= (tab.equals("rewards"))?"<b>Rewards</b>":"Rewards" %></a>

		&nbsp;

		<%-- "watches" tab --%>
			<a href="sidebar.jsp?tree=watches"
			   target="sidebar" class="toolbarLink"
			   title="Goto the Watches menu"
			   onclick="location.href=watches.jsp?tab=watches';"
			><%= (tab.equals("watches"))?"<b>Watches</b>":"Watches" %></a>

		</font>
	</td>
	<td width="1%" nowrap>

		<%-- logout link --%>
		<%	// get the username %>
		<%	try { %>
		<%		 %>
		<%		UserManager manager = forumFactory.getUserManager(); %>
		<%		User user = manager.getUser(authToken.getUserID()); %>
			登录身份: <b><%= user.getUsername() %></b>
		<%	} catch( Exception ignored ) {} %>
		&nbsp;
		<a href="index.jsp?logout=true"
		 target="_top" class="toolbarLink"
		 title="Logout of the Jive Admin tool"
		><b>退出</b></a>

		&nbsp;
	</td>
</table>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -