Project

General

Profile

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

    
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
6
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7

    
8
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
9

    
10
    <head>
11
        <sx:head parseContent="true"/>
12
        <title><s:text name="documentDetails_jsp_title"/></title>
13

    
14
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15

    
16
        <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" />
17
        
18
        <script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/addthis/addthis.js"></script>
19
        
20
        <link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
21
        <link href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/Roar/Roar.css" rel="stylesheet" type="text/css" />
22
        <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>
23
        <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>
24
        <script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/Roar/Roar.js"></script>
25
        <script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/dropbox.js"></script>
26
        <script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/criteriaDisplay.js"></script>
27

    
28
		<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/LaTeXMathML.js"></script>
29

    
30
    </head>
31

    
32
    <body>
33
        <div id="center">
34
            <div id="wrapper">
35
                <div class="wrapper_shadowleft">
36
                    <div class="wrapper_shadowright">
37
                        <div id="container">
38
                            <jsp:include page="/pages/banner.jsp" />
39
                            <jsp:include page="/pages/menu.jsp" />
40

    
41
                            <div id="leftcolumn">
42
                                <s:action name="SearchFormPage" executeResult="true"/>
43
                            </div>
44

    
45
                            <div id="maincolumn2">
46
                                <div id="roarQueue_container"></div>
47
                                <b class="curved_top">
48
                                    <b class="curved_t1"></b>
49
                                    <b class="curved_t2"></b>
50
                                    <b class="curved_t3"></b>
51
                                    <b class="curved_t4"></b>
52
                                </b>
53
                                <div class="curved_container clearfix">
54
                                    <div class="featured_top maincolumn2_top">
55
                                    	<s:text name="Document_details"/>
56
                                    </div>
57
                                    <div class="searchresultsitem">
58
                                        <s:include value="/pages/search/results/html/document.jsp" />
59

    
60
										<div class="resultsField"> 
61
										
62
											<strong>Statistics: </strong>  <a id="toggle" href="#">Hide/Show Statistics</a>
63
											<div id="statistics-div" style="background-color:#F6F6F6; display: inline;">										
64
												<s:if test="%{showChart}">
65
													<s:url value="%{buttonUrl}" id="buttonSrc">
66
														<s:param name="pubdrid" value="#request[@vs@DOCUMENT].id"/>
67
													</s:url>
68
													
69
													<img src="<s:property value="%{buttonSrc}"/>"  
70
														 onerror="$('statistics').setStyle('display','none');$('no-statistics').setStyle('display','inline');"
71
														 style="display:none;"/>
72
													
73
											                          
74
											        <div id="stats">			
75
														<span id="statistics" style="background-color:#F6F6F6;">                                                        
76
															<s:url value="%{chartUrl}" id="imageSrc">
77
																<s:param name="pubdrid" value="#request[@vs@DOCUMENT].id"/>
78
															</s:url>
79
																
80
															<iframe src="<s:property value="%{imageSrc}"/>"> </iframe>
81
																
82
														</span>											
83
														<span id="no-statistics" style="display:none;">No statistics found for this document</span>											
84
														</div>
85
												</s:if>
86
											</div>
87
											
88
											<script type="text/javascript" language="javascript">
89
												var mySlide  = new Fx.Slide('stats');
90
													$('toggle').addEvent('click', function(e){
91
													e = new Event(e);
92
													mySlide.toggle();
93
													e.stop();
94
											
95
													return false;
96
												});
97
											</script>
98
										</div>
99
                                        <div class="document_info">
100
                                            <div class="right">
101
                                                <ul>
102
                                                    <s:if test="#application['webInterfaceLayoutManager'].layout.isViewUserProfile()">
103
                                                        <li class="libutton">
104
                                                            <s:if test="%{#session.user != null}">
105
                                                                <a class="ovalbutton" href="javascript:addDocumentToDropbox('<s:property value="#request[@vs@DOCUMENT].id"/>')">
106
                                                                    <span>Add to dropbox</span>
107
                                                                </a>
108
                                                            </s:if>
109
                                                            <s:else>
110
                                                                <a class="ovalbutton" href="Account.action">
111
                                                                    <span>Add to dropbox</span>
112
                                                                </a>
113
                                                            </s:else>
114
                                                        </li>
115
                                                    </s:if>
116
                                                    <li class="libutton">
117
                                                        <s:url id="driverLink" action="ShowDocument" forceAddSchemeHostAndPort="true">
118
                                                            <s:param name="id" value="#request[@vs@DOCUMENT].id"/>
119
                                                        </s:url>
120
                                                        <a 	href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4a6b55273785de8e"
121
                                                            onmouseover="return addthis_open(this, '',
122
                                                                '<s:property value="%{driverLink}" />',
123
                                                                '<s:property value="#request[@vs@DOCUMENT].title" />')"
124
                                                            onmouseout="addthis_close()"
125
                                                            onclick="return addthis_sendto()"
126
                                                            >
127
                                                            <img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/share.png" width="125" height="16" alt="Bookmark &amp; Share" />
128
                                                        </a>
129
                                                    </li>
130
                                                </ul>
131
                                            </div>
132
                                            <s:if test="%{#application['webInterfaceLayoutManager'].layout.isViewSimilarDocuments()}">
133
                                                <ul>
134
                                                    <li>
135
                                                        <s:url id="showSimilar" action="showSimilar">
136
                                                            <s:param name="page" value="1" />
137
                                                            <s:param name="size" value="#parameters['size']" />
138
                                                            <s:param name="id" value="#request[@vs@DOCUMENT].id"/>
139
                                                            <s:param name="referer">showSimilar</s:param>
140
                                                        </s:url>
141
                                                        <s:a href="%{showSimilar}">Similar Documents</s:a>
142
                                                    </li>
143
                                                    <li>
144
                                                        <s:url id="showRelated" action="showRelated">
145
                                                            <s:param name="page" value="1" />
146
                                                            <s:param name="size" value="#parameters['size']" />
147
                                                            <s:param name="id" value="#request[@vs@DOCUMENT].id"/>
148
                                                            <s:param name="referer">showRelated</s:param>
149
                                                        </s:url>
150
                                                        <s:a href="%{showRelated}">Users who viewed this item also viewed...</s:a>
151
                                                    </li>
152
                                                </ul>
153
                                            </s:if>
154
                                        </div>
155
                                    </div>
156
                                </div>                                                                                     							
157
									
158
                                <b class="curved_bottom">
159
                                    <b class="curved_b4"></b>
160
                                    <b class="curved_b3"></b>
161
                                    <b class="curved_b2"></b>
162
                                    <b class="curved_b1"></b>
163
                                </b>
164
                            </div>
165

    
166
                            <div id="footer">
167
                                <s:action name="FooterPage" executeResult="true"/>
168
                            </div>
169
                        </div>
170
                    </div>
171
                </div>
172
            </div>
173
        </div>
174
    </body>
175

    
176
</html>
(6-6/27)