Subversion Repositories WebE

Rev

Rev 18 | Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18 Rev 20
Line -... Line 1...
-
 
1
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
-
 
2
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-
 
3
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
-
 
4
-
 
5
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
-
 
6
<c:set var="requestURI" value="${pageContext.request.requestURI}" />
-
 
7
<c:set var="isUser" value="${fn:contains(requestURI, '/user/')}" />
-
 
8
<c:set var="isAdmin" value="${fn:contains(requestURI, '/admin/')}" />
-
 
9
1
<%@ page errorPage="ErrorHandler.jsp" %>
10
<%@ page pageEncoding="UTF-8" %>
-
 
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
 
12
-
 
13
<html xmlns="http://www.w3.org/1999/xhtml">
-
 
14
<head>
-
 
15
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
2
<%@ include file="html_head.jsp" %>
16
	<title>Ontologie - <decorator:title /></title>
-
 
17
	<link rel="stylesheet" type="text/css" href="${contextPath}/resources/css/main.css" />
-
 
18
</head>
-
 
19
<body>
3
20
4
	<%--  Only serves as a container for the different site elements!
21
	<%--  Only serves as a container for the different site elements!
5
	Do not write any text directly into the container div! --%>
22
	Do not write any text directly into the page-container div! --%>	
6
	<div id="page-container">
23
	<div id="page-container">
7
        <div id="header">
24
        <div id="header">
-
 
25
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="header">
-
 
26
				<tr>
-
 
27
					<td>
-
 
28
						&nbsp;
-
 
29
					</td>
-
 
30
					<td style="vertical-align:top;font-size:12pt;text-align:right;">
8
            <%@ include file="header.jsp" %>
31
						<div><strong>Semantic Web Project</strong><br />
-
 
32
						by Michael Moos<br />
-
 
33
						Thomas Lahn</div>
-
 
34
					</td>
-
 
35
					<td width="56" class="no_padding"><img src="${contextPath}/resources/images/ontology_logo.jpg" width="56" height="56" alt="logo" /></td>
-
 
36
				</tr>
-
 
37
			</table>            
9
        </div>
38
        </div>
10
        
39
        
-
 
40
        <!-- Load nav bars depending on the location -->
-
 
41
        <c:if test="${isUser}">
11
        <div id="navbar">
42
			<div id="navbar">
12
        	<%@ include file="user_nav.jsp" %>
43
	        	<%@ include file="/user/nav.jsp" %>
13
		</div>
44
			</div>        
-
 
45
        </c:if>
-
 
46
        <c:if test="${isAdmin}">
-
 
47
			<div id="navbar">
-
 
48
				<%@ include file="/admin/nav.jsp" %>
-
 
49
			</div>        
-
 
50
        </c:if>
14
        
51
        
-
 
52
        <!-- Content DIV loaded via decorator -->
15
        <div id="content">
53
        <div id="content">
16
        	<%@ include file="user_main.jsp" %>
54
        	<decorator:body />
17
        </div>
55
        </div>
-
 
56
        
18
    </div>
57
    </div>
19
	
-
 
20
</body>
58
</body>
21
</html>
59
</html>
22
60