Index: dspace-jspui/dspace-jspui-webapp/src/main/webapp/layout/header-default.jsp =================================================================== --- dspace-jspui/dspace-jspui-webapp/src/main/webapp/layout/header-default.jsp (revision 4365) +++ dspace-jspui/dspace-jspui-webapp/src/main/webapp/layout/header-default.jsp Fri Oct 30 13:38:06 NZDT 2009 @@ -66,6 +66,19 @@ String osName = ConfigurationManager.getProperty("websvc.opensearch.shortname"); List parts = (List)request.getAttribute("dspace.layout.linkparts"); String extraHeadData = (String)request.getAttribute("dspace.layout.head"); + + boolean scopus = false; + String scopusDOI = ""; + String extraBody = ""; + if (request.getAttribute("scopus") != null) + { + scopus = ((Boolean)request.getAttribute("scopus")).booleanValue(); + if (scopus) + { + scopusDOI = (String)request.getAttribute("scopusDOI"); + extraBody = " onLoad=\"runSearch()\""; + } + } %> @@ -108,11 +121,41 @@ + +<% if (scopus) { %> + + + + + +<% } %> + <%-- HACK: leftmargin, topmargin: for non-CSS compliant Microsoft IE browser --%> <%-- HACK: marginwidth, marginheight: for non-CSS compliant Netscape browser --%> - + > <%-- DSpace top-of-page banner --%> <%-- HACK: width, border, cellspacing, cellpadding: for non-CSS compliant Netscape, Mozilla browsers --%> Index: dspace-jspui/dspace-jspui-webapp/src/main/webapp/display-item.jsp =================================================================== --- dspace-jspui/dspace-jspui-webapp/src/main/webapp/display-item.jsp (revision 3954) +++ dspace-jspui/dspace-jspui-webapp/src/main/webapp/display-item.jsp Fri Oct 30 12:43:36 NZDT 2009 @@ -107,6 +107,16 @@ title = "Item " + handle; } } + + boolean scopus = false; + DCValue[] doi = item.getDC("identifier", "doi", Item.ANY); + if (doi.length != 0) + { + request.setAttribute("scopus", true); + request.setAttribute("scopusDOI", doi[0].value); + scopus = true; + } + %> <%@page import="org.dspace.app.webui.servlet.MyDSpaceServlet"%> @@ -160,6 +170,15 @@ String displayStyle = (displayAll ? "full" : ""); %> + +<% + if (scopus) { +%> +
+<% + } +%> +