1
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
2
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
3
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
|
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
|
8
|
<head>
|
9
|
<title><s:text name="welcome_jsp_title"/></title>
|
10
|
|
11
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
12
|
|
13
|
<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/<s:property value="#application['webInterfaceLayoutManager'].cssFileName" />' rel="stylesheet" type="text/css" />
|
14
|
<link rel="shortcut icon" href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico' />
|
15
|
</head>
|
16
|
<body>
|
17
|
<div id="center">
|
18
|
<div id="wrapper">
|
19
|
<div class="wrapper_shadowleft">
|
20
|
<div class="wrapper_shadowright">
|
21
|
<div id="container">
|
22
|
<jsp:include page="/pages/banner.jsp" />
|
23
|
<jsp:include page="/pages/menu.jsp" />
|
24
|
|
25
|
<jsp:include page="/pages/search/simpleSearchForm.jsp"></jsp:include>
|
26
|
|
27
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewAnnouncements()">
|
28
|
<!-- Announcements Box -->
|
29
|
<div id="genericColumn" style="width:521px; ">
|
30
|
<b class="curved_top">
|
31
|
<b class="curved_t1"> </b>
|
32
|
<b class="curved_t2"> </b>
|
33
|
<b class="curved_t3"> </b>
|
34
|
<b class="curved_t4"> </b>
|
35
|
</b>
|
36
|
<div class="curved_container clearfix">
|
37
|
<div id="HomeSectionHdr">
|
38
|
<div class="news">
|
39
|
<!-- Announcement Title -->
|
40
|
<img src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/news31.gif' width="26px" height="22px"/> <s:text name="News"/>
|
41
|
</div>
|
42
|
</div>
|
43
|
|
44
|
<div class="announcements">
|
45
|
<s:if test="%{#request[@vs@TOP_ANNOUNCEMENTS] == null || #request[@vs@TOP_ANNOUNCEMENTS].size == 0}">
|
46
|
<p>
|
47
|
<s:text name="There_are_no_announcements"/>
|
48
|
</p>
|
49
|
</s:if>
|
50
|
<s:else>
|
51
|
<ul>
|
52
|
<s:iterator value="#request[@vs@TOP_ANNOUNCEMENTS]" var="announce">
|
53
|
<li>
|
54
|
<strong>
|
55
|
<s:date name="#announce.generationDate" format="dd MMM yyyy" />:
|
56
|
<s:property escape="false" value="#announce.title"/> -</strong>
|
57
|
<s:property escape="false" value="#announce.content"/>
|
58
|
</li>
|
59
|
</s:iterator>
|
60
|
</ul>
|
61
|
<p>
|
62
|
<s:if test="%{mustReadMore == true }">
|
63
|
<s:a href="AnnouncementsWelcome.action"><s:text name="View_all"/> <img align="absbottom" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/options_right.png' height="15" width="15"/></s:a>
|
64
|
</s:if>
|
65
|
</p>
|
66
|
</s:else>
|
67
|
</div> <!-- announcements -->
|
68
|
</div> <!-- "curved_container clearfix" -->
|
69
|
<b class="curved_bottom">
|
70
|
<b class="curved_b4"></b>
|
71
|
<b class="curved_b3"></b>
|
72
|
<b class="curved_b2"></b>
|
73
|
<b class="curved_b1"></b>
|
74
|
</b>
|
75
|
</div> <!-- genericColumn -->
|
76
|
<!-- /Announcements Box -->
|
77
|
</s:if>
|
78
|
|
79
|
<!-- Community Box -->
|
80
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCommunities()
|
81
|
&& #application['webInterfaceLayoutManager'].layout.isViewUserProfile()">
|
82
|
<div id="genericColumn" style="width:25%;">
|
83
|
<b class="curved_top">
|
84
|
<b class="curved_t1"> </b>
|
85
|
<b class="curved_t2"> </b>
|
86
|
<b class="curved_t3"> </b>
|
87
|
<b class="curved_t4"> </b>
|
88
|
</b>
|
89
|
<div class="curved_container clearfix">
|
90
|
<div id="HomeSectionHdr">
|
91
|
<div class="communities">
|
92
|
<!-- Community Title -->
|
93
|
<img src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/community4.gif' width="49px" height="22px"/>
|
94
|
<a href="ViewAllCommunities.action" id="menuCommunities">
|
95
|
<s:text name="Communities"/>
|
96
|
</a>
|
97
|
</div>
|
98
|
</div>
|
99
|
|
100
|
<div class="featured_content">
|
101
|
<s:if test="%{#request[@vs@TOP_COMMUNITIES] == null || #request[@vs@TOP_COMMUNITIES].size == 0}">
|
102
|
<p>
|
103
|
<s:text name="There_are_no_communities"/>
|
104
|
</p>
|
105
|
</s:if>
|
106
|
<s:else>
|
107
|
<s:iterator value="#request[@vs@TOP_COMMUNITIES]" id="community">
|
108
|
<s:url id="viewCommunity" action="ViewCommunity">
|
109
|
<s:param name="communityId" value="#community.resourceId"/>
|
110
|
</s:url>
|
111
|
<s:a href="%{viewCommunity}">
|
112
|
<s:property value="#community.name"/>
|
113
|
</s:a>
|
114
|
<br />
|
115
|
</s:iterator>
|
116
|
</s:else>
|
117
|
<p> </p>
|
118
|
|
119
|
<p>
|
120
|
<a href="ViewAllCommunities.action">
|
121
|
<s:text name="View_all"/>
|
122
|
</a>
|
123
|
<img align="absbottom" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/options_right.png' height="15" width="15"/>
|
124
|
</p>
|
125
|
|
126
|
</div>
|
127
|
|
128
|
<div class="featured_bottom" >
|
129
|
<a class="helpLink" href="Help.action?type=community">
|
130
|
<span>
|
131
|
<s:text name="Create_your_communities"/>
|
132
|
</span>
|
133
|
</a>
|
134
|
</div>
|
135
|
</div> <!-- curved container clear fix -->
|
136
|
<b class="curved_bottom">
|
137
|
<b class="curved_b4"></b>
|
138
|
<b class="curved_b3"></b>
|
139
|
<b class="curved_b2"></b>
|
140
|
<b class="curved_b1"></b>
|
141
|
</b>
|
142
|
</div> <!-- genericColumn -->
|
143
|
</s:if>
|
144
|
|
145
|
<!-- Collections Bar -->
|
146
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections()">
|
147
|
<div id="genericColumn" style="width:25%;">
|
148
|
<b class="curved_top">
|
149
|
<b class="curved_t1"> </b>
|
150
|
<b class="curved_t2"> </b>
|
151
|
<b class="curved_t3"> </b>
|
152
|
<b class="curved_t4"> </b>
|
153
|
</b>
|
154
|
<div class="curved_container clearfix ">
|
155
|
<div id="HomeSectionHdr">
|
156
|
<div class="collections">
|
157
|
<!-- Collction Title -->
|
158
|
<img src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/folders1.gif' width="28px" height="20px"/>
|
159
|
<a href="AllDRIVERCollections.action" id="menuCollections">
|
160
|
<s:text name="Collections" />
|
161
|
</a>
|
162
|
</div>
|
163
|
</div>
|
164
|
|
165
|
<div class="featured_content">
|
166
|
<s:if test="%{#request[@vs@TOP_COLLECTIONS] == null || #request[@vs@TOP_COLLECTIONS].size == 0}">
|
167
|
<p>
|
168
|
<s:text name="There_are_no_collections"/>
|
169
|
</p>
|
170
|
</s:if>
|
171
|
<s:else>
|
172
|
<s:iterator value="#request[@vs@TOP_COLLECTIONS]" id="collection">
|
173
|
<s:url id="viewCollection" action="AllDRIVERCollections">
|
174
|
<s:param name="collectionID" value="#collection.resourceId"/>
|
175
|
</s:url>
|
176
|
<s:a href="%{viewCollection}">
|
177
|
<s:property value="#collection.name"/>
|
178
|
</s:a>
|
179
|
<br />
|
180
|
</s:iterator>
|
181
|
</s:else>
|
182
|
<p> </p>
|
183
|
<p>
|
184
|
<a href="AllDRIVERCollections.action">
|
185
|
<s:text name="View_all"/>
|
186
|
</a>
|
187
|
<img align="absbottom" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/options_right.png' height="15" width="15"/>
|
188
|
</p>
|
189
|
|
190
|
</div>
|
191
|
|
192
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewUserProfile()">
|
193
|
<div class="featured_bottom" >
|
194
|
<a class="helpLink" href="Help.action?type=collection">
|
195
|
<span>
|
196
|
<s:text name="Create_your_collections"/>
|
197
|
</span>
|
198
|
</a>
|
199
|
</div>
|
200
|
</s:if>
|
201
|
</div> <!-- curved_container clearfix -->
|
202
|
<b class="curved_bottom">
|
203
|
<b class="curved_b4"></b>
|
204
|
<b class="curved_b3"></b>
|
205
|
<b class="curved_b2"></b>
|
206
|
<b class="curved_b1"></b>
|
207
|
</b>
|
208
|
</div> <!-- generic column -->
|
209
|
</s:if>
|
210
|
|
211
|
<s:action name="welcomeMessagePage" executeResult="true"/>
|
212
|
|
213
|
<div id="footer">
|
214
|
<s:action name="FooterPage" executeResult="true"/>
|
215
|
</div>
|
216
|
|
217
|
</div>
|
218
|
</div>
|
219
|
</div>
|
220
|
</div>
|
221
|
</div>
|
222
|
</body>
|
223
|
|
224
|
</html>
|