Project

General

Profile

1
<%@ taglib prefix="s" uri="/struts-tags"%>
2
<%@ page contentType="text/html; charset=UTF-8"%>
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6

    
7

    
8
	<head>
9
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
		<title>DRIVER Communities</title>
11
		<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" />
12
		<link href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/SimpleTabs.css" rel="stylesheet" type="text/css" />
13
		<link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
14
		<!--[if IE 6]>
15
			<link href="css/driver_search_ie6.css" rel="stylesheet" type="text/css" />
16
		<![endif]-->
17
		<!--
18
		MB - ADD mootools here: new version
19
		-->
20
		<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3-core.js"></script>
21
		<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3.1-more.js"></script>
22
		<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/smarthoverbox.js"></script>
23
	</head>
24
	<body onload="resetAdd();">
25
		<div id="center">
26
			<div id="wrapper">
27
				<div class="wrapper_shadowleft">
28
					<div class="wrapper_shadowright">
29
						<div id="container">
30
							<jsp:include page="/pages/banner.jsp" />
31
							<jsp:include page="/pages/menu.jsp" />
32
							<p class="clear" />
33
							<div id="leftcolumn">
34
								<b class="curved_top">
35
									<b class="curved_t1"></b>
36
									<b class="curved_t2"></b>
37
									<b class="curved_t3"></b>
38
									<b class="curved_t4"></b>
39
								</b>
40
                                 <div class="curved_container clearfix">
41
                                    <div class="featured_top leftcolumn_top">Communities</div>
42
                                    <s:if test="%{displayMyDriverMenu}">
43
                                        <jsp:include page="/pages/community/myCommunitiesMenu.jsp" />
44
                                    </s:if>
45
                                    <s:else>
46
                                        <s:set name="action" value="%{'ViewCommunity.action'}"/>
47
                                        <jsp:include page="/pages/community/allCommunitiesMenu.jsp" />									
48
                                    </s:else>
49
                                 </div>
50
								<b class="curved_bottom">
51
									<b class="curved_b4"></b>
52
									<b class="curved_b3"></b>
53
									<b class="curved_b2"></b>
54
									<b class="curved_b1"></b>
55
								</b>
56
							</div>
57
							<div id="maincolumn2">
58
                            	<div id="communityPage">
59
								<b class="curved_top">
60
									<b class="curved_t1"></b>
61
									<b class="curved_t2"></b>
62
									<b class="curved_t3"></b>
63
									<b class="curved_t4"></b>
64
								</b>
65
								<div class="curved_container clearfix">
66
									<div class="featured_top communityPage_top">
67
                                    	<img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/communities.png" alt="DRIVER Communities" width="16" height="16" class="absmiddle" />
68
										&nbsp;
69
										<a href="ViewCommunity.action?communityId=<s:property value="communityId" /><s:if test="%{displayMyDriverMenu}">&amp;displayMyDriverMenu=true</s:if><s:if test="%{initialLetter != null}">&amp;initialLetter=<s:property value="initialLetter" /></s:if>">
70
											<s:property value="community.name" />
71
										</a>
72
									</div>
73
                                    <s:set name="selectedTab" value="%{3}"/>
74
									<jsp:include page="/pages/community/tabsMenu.jsp" />
75
									<div class="tab-wrapper clearfix">
76
                                        <div class="communitySubmenu">
77
                                        	Add community collection
78
                                        </div>
79
										<div class="mydriveritem col1">
80
											<table >
81
												<form id="addCommunityCollectionAction" action="AddCommunityCollection2.action" method="POST">
82
													<input type="hidden" id="addCommunityCollectionActionCommunityId" name="communityId" value='<s:property value="communityId" />' />
83
													<tr align="left">
84
														<td class="searchresults4title" width="150">Collection</td>
85
														<td class="searchresults4text">
86
															<select id="addCommunityCollectionActionCollection" name="collectionId" class="smallfont">
87
																<s:iterator value="availableCollections">
88
																	<option value="<s:property value="resourceId" />">
89
																		<s:property value="name" />
90
																	</option>
91
																</s:iterator>
92
															</select>
93
														</td>
94
													</tr>
95
													<tr align="left">
96
														<td class="searchresults4title"></td>
97
														<td class="searchresults4text">
98
															<input type="submit" id="addCommunityCollectionActionAdd" value="Add" class="button" />
99
														</td>
100
													</tr>
101
												</form>
102
												<tr align="center">
103
													<td colspan="2" class="searchresults4text">&nbsp;</td>
104
												</tr>
105
											</table>
106
										</div>
107
									</div>
108
								
109
								</div>
110
								<b class="curved_bottom">
111
									<b class="curved_b4"></b>
112
									<b class="curved_b3"></b>
113
									<b class="curved_b2"></b>
114
									<b class="curved_b1"></b>
115
								</b>
116
							</div>
117
							<div id="footer">
118
                                <s:action name="FooterPage" executeResult="true"/>
119
                            </div>
120
						</div>
121
					</div>
122
				</div>
123
			</div>
124
		</div>
125
	</body>
126
</html>
(2-2/22)