template.xhtml 1.8 KB
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:tools="http://java.sun.com/jsf/composite/cditools"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jsp/jstl/core">

<f:view locale="#{sessionHandler.locale}">

	<f:metadata>
		<f:viewParam name="userid" value="#{userView.userid}" />
	</f:metadata>
	<ui:insert name="metadata" />
	<h:head>
		<link href="#{request.contextPath}/resources/style/stream10/intra_style.css" rel="stylesheet" type="text/css" />
		<meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
		<meta http-equiv="PRAGMA" content="NO-CACHE" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title><h:outputText value="#{i18n['global.eventname']}" /> - <h:outputText value="#{i18n[util.concat(thispage,'.header') ] }" /></title>
		<ui:insert name="headerdata" />
	</h:head>
	<h:body>
		<div id="topheader">
			<img src="#{request.contextPath}/resources/style/stream10/header.png" />
		</div>
		<div id="container">
			<div id="page">
				<div id="leftnav">
					<tools:isLoggedIn>
						<h1>#{sessionHandler.currentUser.nick}</h1>
					</tools:isLoggedIn>
					<ui:include src="menu.xhtml" />
					<hr />
					<tools:isLoggedIn>
						<ui:include src="sidebar-#{i18n[util.concat(thispage,'.pagegroup')]}.xhtml" />
					</tools:isLoggedIn>

					<ul>
						<li><tools:loginLogout /></li>
					</ul>
				</div>
				<div id="content">
					<h:messages globalOnly="true" />
					<ui:insert name="content" />
				</div>
				<div id="copyright">&copy; 2009 Stream Ry</div>
			</div>
		</div>
	</h:body>
</f:view>
</html>