Project

General

Profile

1
<%@ page contentType="text/html; charset=utf-8"%>
2
<%@ taglib prefix="s" uri="/struts-tags"%>
3

    
4
&nbsp;
5
<div class="right">
6
		<div id="flags">
7
		<s:form theme="simple" action="changeLocale" name="ChangeLocaleForm">
8
			<s:hidden name="path" value="%{#request['javax.servlet.forward.servlet_path']}"/>
9
			<s:hidden name="parameter" value="%{#request['javax.servlet.forward.query_string']}"/>   
10
	        <s:hidden name="request_locale" />
11
		   	
12
		   	<s:if test="%{#application['webInterfaceLayoutManager'].layout.supportedLocales.size > 0}">
13
			   	<s:a href="#" onclick="javascript:document.ChangeLocaleForm.elements['request_locale'].value='%{#application['webInterfaceLayoutManager'].layout.defaultLocale}';document.ChangeLocaleForm.submit();">
14
			   		<img alt="flag" border="0" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/flags/<s:property value="%{#application['webInterfaceLayoutManager'].layout.defaultLocale.country.toLowerCase()}" />.png" width="16px" height="11px"/>
15
			   	</s:a>
16
			</s:if>
17
					   	
18
		   	<s:iterator value="#application['webInterfaceLayoutManager'].layout.supportedLocales" var="locale">	   	
19
			   	<s:url action="changeLocale" id="changeLocale">
20
					<s:param name="request_locale" value="#locale" />
21
				</s:url>
22
				<s:a href="#" onclick="javascript:document.ChangeLocaleForm.elements['request_locale'].value='%{#locale}';document.ChangeLocaleForm.submit();">	
23
					<img alt="flag" border="0" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/flags/<s:property value="%{#locale.country.toLowerCase()}"/>.png" width="16px" height="11px"/>
24
				</s:a>
25
			</s:iterator>
26
			
27
	
28
			&nbsp;
29
		</s:form>	
30
	</div>
31
</div>
32

    
33
<div id="topmenu">
34
	<div class="left">
35
		<a href="Welcome.action" id="menuHome">
36
			<s:text name="Home"/>
37
		</a>
38
		|
39
        <a href="advancedSearch.action">
40
        	<s:text name="Search"/> 
41
        </a> 
42
        |
43
		<s:if test="%{!#application['webInterfaceLayoutManager'].browseFields.isEmpty()}">
44
			<a href="browseData.action" id="menuBrowse">
45
				<s:text name="Browse"/>
46
			</a>
47
			|
48
		</s:if>
49
		<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCommunities()
50
		 				&& #application['webInterfaceLayoutManager'].layout.isViewUserProfile()">
51
			<a href="ViewAllCommunities.action" id="menuCommunities">
52
				<s:text name="Communities"/>
53
			</a>
54
			|
55
		</s:if>
56
		<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections()">
57
			<a href="AllDRIVERCollections.action" id="menuCollections">
58
				<s:text name="Collections" />
59
			</a>
60
		</s:if>
61
	</div>
62
	
63
	<div class="right">
64
		<s:if test="#application['webInterfaceLayoutManager'].layout.isViewRepositories()">
65
			<img border="0" width="20" height="20" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/repositoriesDots_reverse.png' alt="Repositories"/>
66
			
67
			<a href="showRepositories.action">
68
				<s:text name="Repositories" />	
69
			</a>
70
		</s:if>
71
	</div>
72
	
73
</div>
74

    
75
<p class="clear"> </p>
(4-4/8)