1 |
8025
|
natalia.ma
|
<%@ page contentType="text/html; charset=utf-8"%>
|
2 |
|
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
3 |
|
|
|
4 |
9938
|
katerina.i
|
|
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 |
12835
|
katerina.i
|
<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 |
13398
|
katerina.i
|
<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 |
12835
|
katerina.i
|
</s:a>
|
16 |
|
|
</s:if>
|
17 |
|
|
|
18 |
9938
|
katerina.i
|
<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 |
13398
|
katerina.i
|
<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 |
9938
|
katerina.i
|
</s:a>
|
25 |
|
|
</s:iterator>
|
26 |
12835
|
katerina.i
|
|
27 |
9938
|
katerina.i
|
|
28 |
|
|
|
29 |
|
|
</s:form>
|
30 |
|
|
</div>
|
31 |
|
|
</div>
|
32 |
|
|
|
33 |
8025
|
natalia.ma
|
<div id="topmenu">
|
34 |
|
|
<div class="left">
|
35 |
9938
|
katerina.i
|
<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 |
8025
|
natalia.ma
|
<s:if test="%{!#application['webInterfaceLayoutManager'].browseFields.isEmpty()}">
|
44 |
9938
|
katerina.i
|
<a href="browseData.action" id="menuBrowse">
|
45 |
|
|
<s:text name="Browse"/>
|
46 |
|
|
</a>
|
47 |
8025
|
natalia.ma
|
|
|
48 |
|
|
</s:if>
|
49 |
8288
|
katerina.i
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCommunities()
|
50 |
|
|
&& #application['webInterfaceLayoutManager'].layout.isViewUserProfile()">
|
51 |
9938
|
katerina.i
|
<a href="ViewAllCommunities.action" id="menuCommunities">
|
52 |
|
|
<s:text name="Communities"/>
|
53 |
|
|
</a>
|
54 |
8025
|
natalia.ma
|
|
|
55 |
|
|
</s:if>
|
56 |
|
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections()">
|
57 |
9938
|
katerina.i
|
<a href="AllDRIVERCollections.action" id="menuCollections">
|
58 |
|
|
<s:text name="Collections" />
|
59 |
|
|
</a>
|
60 |
8025
|
natalia.ma
|
</s:if>
|
61 |
|
|
</div>
|
62 |
9938
|
katerina.i
|
|
63 |
8025
|
natalia.ma
|
<div class="right">
|
64 |
8426
|
katerina.i
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewRepositories()">
|
65 |
13398
|
katerina.i
|
<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 |
9938
|
katerina.i
|
|
67 |
|
|
<a href="showRepositories.action">
|
68 |
|
|
<s:text name="Repositories" />
|
69 |
|
|
</a>
|
70 |
8426
|
katerina.i
|
</s:if>
|
71 |
8025
|
natalia.ma
|
</div>
|
72 |
9938
|
katerina.i
|
|
73 |
8025
|
natalia.ma
|
</div>
|
74 |
|
|
|
75 |
|
|
<p class="clear"> </p>
|