template.xhtml
1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?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/tools" xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jsp/jstl/core"
>
<f:view locale="#{sessionHandler.locale}">
<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>
</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">© 2009 Stream Ry</div>
</div>
</div>
</h:body>
</f:view>
</html>