| 1 | <#-- |
|---|
| 2 | $HeadURL:: $ |
|---|
| 3 | $Id$ |
|---|
| 4 | |
|---|
| 5 | Copyright (c) 2007-2008 by Topaz, Inc. |
|---|
| 6 | http://topazproject.org |
|---|
| 7 | |
|---|
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 9 | you may not use this file except in compliance with the License. |
|---|
| 10 | You may obtain a copy of the License at |
|---|
| 11 | |
|---|
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 13 | |
|---|
| 14 | Unless required by applicable law or agreed to in writing, software |
|---|
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 17 | See the License for the specific language governing permissions and |
|---|
| 18 | limitations under the License. |
|---|
| 19 | --> |
|---|
| 20 | <#-- |
|---|
| 21 | The digg URL has to be different as digg appears to be picking up the redirect |
|---|
| 22 | from our internal DOI resolver and messing up the formating. |
|---|
| 23 | --> |
|---|
| 24 | <#assign docURL = "http://dx.plos.org/${articleInfoX.id?replace('info:doi/','')}" /> |
|---|
| 25 | <#assign jDocURL = freemarker_config.getJournalUrl(journalContext) + "/article/" + |
|---|
| 26 | articleInfoX.id?url /> |
|---|
| 27 | |
|---|
| 28 | <#assign publisher=""/> |
|---|
| 29 | <#if Request[freemarker_config.journalContextAttributeKey]?exists> |
|---|
| 30 | <#assign journalContext = Request[freemarker_config.journalContextAttributeKey].journal> |
|---|
| 31 | <#else> |
|---|
| 32 | <#assign journalContext = ""> |
|---|
| 33 | </#if> |
|---|
| 34 | <#list journalList as jour> |
|---|
| 35 | <#if (articleInfo.eIssn = jour.eIssn) && (jour.key != journalContext) > |
|---|
| 36 | <#assign publisher = "Published in <em><a href=\"" + freemarker_config.getJournalUrl(jour.key) |
|---|
| 37 | + "\">"+ jour.dublinCore.title + "</a></em>" /> |
|---|
| 38 | <#break/> |
|---|
| 39 | <#else> |
|---|
| 40 | <#if jour.key != journalContext> |
|---|
| 41 | <#assign jourAnchor = "<a href=\"" + freemarker_config.getJournalUrl(jour.key) + "\">"/> |
|---|
| 42 | <#if publisher?length gt 0> |
|---|
| 43 | <#assign publisher = publisher + ", " + jourAnchor + jour.dublinCore.title + "</a>" /> |
|---|
| 44 | <#else> |
|---|
| 45 | <#assign publisher = publisher + "Featured in " + jourAnchor + |
|---|
| 46 | jour.dublinCore.title + "</a>" /> |
|---|
| 47 | </#if> |
|---|
| 48 | </#if> |
|---|
| 49 | </#if> |
|---|
| 50 | </#list> |
|---|
| 51 | <div id="researchArticle" class="content"> |
|---|
| 52 | <a id="top" name="top" toc="top" title="Top"></a> |
|---|
| 53 | <@s.url id="thisPageURL" includeParams="get" includeContext="true" encode="false"/> |
|---|
| 54 | <@s.url id="feedbackURL" includeParams="none" namespace="/" action="feedbackCreate" |
|---|
| 55 | page="${thisPageURL?url}"/> |
|---|
| 56 | <div id="contentHeader"> |
|---|
| 57 | <p>Open Access</p> |
|---|
| 58 | <p id="articleType">${articleType.heading}</p> |
|---|
| 59 | </div> |
|---|
| 60 | <#if publisher != ""> |
|---|
| 61 | <div id="publisher"><p>${publisher}</p></div> |
|---|
| 62 | </#if> |
|---|
| 63 | <div id="retractionHtmlId" class="retractionHtmlId" style="display:none;"> |
|---|
| 64 | <p class="retractionHtmlId"><strong> Retraction:</strong> This article has been <em>retracted</em> due to the following: |
|---|
| 65 | <span id="retractionlist" class="retractionHtmlId"></span> |
|---|
| 66 | </p> |
|---|
| 67 | </div> |
|---|
| 68 | <div id="fch" class="fch" style="display:none;"> |
|---|
| 69 | <p class="fch"><strong> Formal Correction:</strong> |
|---|
| 70 | This article has been <em>formally corrected</em> to address the following errors.</p> |
|---|
| 71 | <ol id="fclist" class="fclist"></ol> |
|---|
| 72 | </div> |
|---|
| 73 | <div id="articleMenu"> |
|---|
| 74 | <ul> |
|---|
| 75 | <@s.url id="articleArticleRepXML" namespace="/article" action="fetchObjectAttachment" |
|---|
| 76 | includeParams="none" uri="${articleURI}"> |
|---|
| 77 | <@s.param name="representation" value="%{'XML'}"/> |
|---|
| 78 | </@s.url> |
|---|
| 79 | <li><a href="${articleArticleRepXML}" class="xml" |
|---|
| 80 | title="Download XML">Download Article XML</a></li> |
|---|
| 81 | <#if articleType.heading != 'Issue Image'> |
|---|
| 82 | <@s.url id="articleArticleRepPDF" namespace="/article" action="fetchObjectAttachment" |
|---|
| 83 | includeParams="none" uri="${articleURI}"> |
|---|
| 84 | <@s.param name="representation" value="%{'PDF'}"/> |
|---|
| 85 | </@s.url> |
|---|
| 86 | <li><a href="${articleArticleRepPDF}" class="pdf" |
|---|
| 87 | title="Download PDF">Download Article PDF</a></li> |
|---|
| 88 | </#if> |
|---|
| 89 | <@s.url id="articleCitationURL" namespace="/article" action="citationList" |
|---|
| 90 | includeParams="none" articleURI="${articleURI}" /> |
|---|
| 91 | <li><@s.a href="%{articleCitationURL}" cssClass="citation" |
|---|
| 92 | title="Download Citation">Download Citation</@s.a></li> |
|---|
| 93 | <@s.url id="emailArticleURL" namespace="/article" action="emailArticle" |
|---|
| 94 | articleURI="${articleURI}"/> |
|---|
| 95 | <li><@s.a href="%{emailArticleURL}" cssClass="email" |
|---|
| 96 | title="E-mail This Article to a Friend or Colleague">E-mail this Article</@s.a></li> |
|---|
| 97 | <li> |
|---|
| 98 | Bookmark this page: |
|---|
| 99 | <div id="socialBookmarks"> |
|---|
| 100 | <#-- StumbleUpon --> |
|---|
| 101 | <a href="http://www.stumbleupon.com/submit?url=${docURL?url}" target="_new"><img border=0 |
|---|
| 102 | src="http://cdn.stumble-upon.com/images/16x16_su_solid.gif" alt="StumbleUpon" |
|---|
| 103 | title="Add to StumbleUpon"></a> |
|---|
| 104 | <#-- for more info, see http://www.stumbleupon.com/buttons.php --> |
|---|
| 105 | <#-- Facebook --> |
|---|
| 106 | <script>function fbs_click() {u='${docURL}';t='${articleInfoX.title}'; |
|---|
| 107 | window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t=' + |
|---|
| 108 | encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436'); |
|---|
| 109 | return false;}</script><a href="http://www.facebook.com/share.php?u=${docURL?url}" |
|---|
| 110 | onclick="return fbs_click()"> |
|---|
| 111 | <img src="http://static.ak.fbcdn.net/images/share/facebook_share_icon.gif" |
|---|
| 112 | alt="Facebook" |
|---|
| 113 | title="Add to Facebook" /></a> |
|---|
| 114 | <!-- for mor info, see http://www.facebook.com/share_partners.php --> |
|---|
| 115 | <#-- Connotea --> |
|---|
| 116 | <script type="text/javascript"> |
|---|
| 117 | function bookmark_in_connotea(u) { |
|---|
| 118 | a=false; x=window; e=x.encodeURIComponent; d=document; |
|---|
| 119 | w=open('http://www.connotea.org/addpopup?continue=confirm&uri='+e(u), |
|---|
| 120 | 'add', 'width=600, height=400, scrollbars, resizable'); |
|---|
| 121 | void(x.setTimeout('w.focus()',200)); |
|---|
| 122 | } |
|---|
| 123 | </script> |
|---|
| 124 | <a style='cursor: pointer;' onclick='javascript:bookmark_in_connotea("${docURL}");'><img |
|---|
| 125 | src='${freemarker_config.getContext()}/images/icon_connotea_16x16.gif' |
|---|
| 126 | alt="Connotea" title="Add to Connotea"/></a> |
|---|
| 127 | <#-- See: http://www.connotea.org/wiki/AddToConnoteaButton --> |
|---|
| 128 | <#-- Citeulike --> |
|---|
| 129 | <a href="http://www.citeulike.org/posturl?url=${docURL?url}&title=${articleInfoX.title?url}" |
|---|
| 130 | target="_new"><img |
|---|
| 131 | src='${freemarker_config.getContext()}/images/icon_citeulike_16x16.gif' alt="CiteULike" |
|---|
| 132 | title="Add to CiteULike" /></a> |
|---|
| 133 | <#-- For more info see http://www.citeulike.org/faq/all.adp --> |
|---|
| 134 | <#-- Digg --> |
|---|
| 135 | <script type="text/javascript"> |
|---|
| 136 | digg_url = '${jDocURL}'; |
|---|
| 137 | digg_skin = 'icon'; |
|---|
| 138 | digg_title = '${articleInfoX.title?replace("'","\\'")?replace("\n","")?replace(" "," ")}'; |
|---|
| 139 | digg_bodytext = ''; |
|---|
| 140 | digg_topic = ''; |
|---|
| 141 | digg_media = 'news'; |
|---|
| 142 | digg_window = 'new'; |
|---|
| 143 | |
|---|
| 144 | </script> |
|---|
| 145 | <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> |
|---|
| 146 | <#-- for more info see http://digg.com/tools/integrate --> |
|---|
| 147 | </div> |
|---|
| 148 | </li> |
|---|
| 149 | <li><a href="#" onclick="window.print();return false;" class="print last" |
|---|
| 150 | title="Print this article">Print this Article</a></li> |
|---|
| 151 | </ul> |
|---|
| 152 | </div> |
|---|
| 153 | <@s.property value="transformedArticle" escape="false"/> |
|---|
| 154 | </div> |
|---|