PageRenderTime 40ms CodeModel.GetById 7ms RepoModel.GetById 0ms app.codeStats 0ms

/ojs/ojs-2.0.2-1/templates/t_compile/%%1B^1B2^1B258F23%%rt.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 239 lines | 217 code | 22 blank | 0 comment | 33 complexity | 27ed93fb2c6fda6888637a949946dd20 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php /* Smarty version 2.6.10, created on 2005-09-21 12:20:18
  2. compiled from rt/rt.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'rt/rt.tpl', 19, false),array('modifier', 'truncate', 'rt/rt.tpl', 44, false),array('function', 'translate', 'rt/rt.tpl', 40, false),array('function', 'html_options_translate', 'rt/rt.tpl', 123, false),)), $this); ?>
  5. <?php echo '<?xml'; ?>
  6. version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  8. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  9. <html>
  10. <head>
  11. <title><?php echo ((is_array($_tmp=$this->_tpl_vars['issue']->getFirstAuthor(true))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  12. </title>
  13. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['defaultCharset']; ?>
  14. " />
  15. <meta name="description" content="" />
  16. <meta name="keywords" content="" />
  17. <link rel="stylesheet" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
  18. /styles/common.css" type="text/css" />
  19. <link rel="stylesheet" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
  20. /styles/articleView.css" type="text/css" />
  21. <?php $_from = $this->_tpl_vars['stylesheets']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  22. foreach ($_from as $this->_tpl_vars['cssFile']):
  23. ?>
  24. <link rel="stylesheet" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
  25. /styles/<?php echo $this->_tpl_vars['cssFile']; ?>
  26. " type="text/css" />
  27. <?php endforeach; endif; unset($_from); ?>
  28. <?php if ($this->_tpl_vars['pageStyleSheet']): ?>
  29. <link rel="stylesheet" href="<?php echo $this->_tpl_vars['publicFilesDir']; ?>
  30. /<?php echo $this->_tpl_vars['pageStyleSheet']['uploadName']; ?>
  31. " type="text/css" />
  32. <?php endif; ?>
  33. <script type="text/javascript" src="<?php echo $this->_tpl_vars['baseUrl']; ?>
  34. /js/general.js"></script>
  35. </head>
  36. <body>
  37. <div id="container">
  38. <div id="main" style="width: 150px; font-size: 0.7em; padding-top: 1.5em; padding-left: 1em">
  39. <h5><?php echo ((is_array($_tmp=$this->_tpl_vars['journal']->getSetting('journalInitials'))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  40. <br /><?php echo ((is_array($_tmp=$this->_tpl_vars['issue']->getIssueIdentification())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  41. </h5>
  42. <p><a href="<?php echo $this->_tpl_vars['pageUrl']; ?>
  43. /issue/view/<?php echo ((is_array($_tmp=$this->_tpl_vars['issue']->getBestIssueId($this->_tpl_vars['journal']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  44. " target="_parent" class="rtAction"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "issue.toc"), $this);?>
  45. </a></p>
  46. <div class="rtSeparator"></div>
  47. <h6><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['article']->getArticleTitle())) ? $this->_run_mod_handler('truncate', true, $_tmp, 20) : smarty_modifier_truncate($_tmp, 20)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  48. </h6>
  49. <p><i><?php echo ((is_array($_tmp=$this->_tpl_vars['article']->getAuthorString(true))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  50. </i></p>
  51. <div class="rtSeparator"></div>
  52. <br />
  53. <h5><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.readingTools"), $this);?>
  54. </h5>
  55. <?php if ($this->_tpl_vars['journalRt'] && $this->_tpl_vars['journalRt']->getVersion()): ?>
  56. <div class="rtBlock">
  57. <span class="rtSubtitle"><?php if ($this->_tpl_vars['section'] && $this->_tpl_vars['section']->getIdentifyType()): echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.forThis",'identifyType' => ((is_array($_tmp=$this->_tpl_vars['section']->getIdentifyType())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp))), $this); else: echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.peerReviewed"), $this); endif; ?></span>
  58. <ul>
  59. <?php if ($this->_tpl_vars['galley'] && ! $this->_tpl_vars['section']->getAbstractsDisabled()): ?><li><a href="<?php echo $this->_tpl_vars['pageUrl']; ?>
  60. /article/view/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  61. " target="_parent"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.abstract"), $this);?>
  62. </a></li><?php endif; ?>
  63. <?php if ($this->_tpl_vars['journalRt']->getAuthorBio()): ?><li><a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  64. /rt/bio/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  65. /<?php echo $this->_tpl_vars['galleyId']; ?>
  66. ');"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.authorBio"), $this);?>
  67. </a></li><?php endif; ?>
  68. <?php if ($this->_tpl_vars['journalRt']->getCaptureCite()): ?><li><a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  69. /rt/captureCite/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  70. /<?php echo $this->_tpl_vars['galleyId']; ?>
  71. ');"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.captureCitation"), $this);?>
  72. </a></li><?php endif; ?>
  73. <?php if ($this->_tpl_vars['journalRt']->getViewMetadata()): ?><li><a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  74. /rt/metadata/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  75. /<?php echo $this->_tpl_vars['galleyId']; ?>
  76. ');"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.viewMetadata"), $this);?>
  77. </a></li><?php endif; ?>
  78. <?php if ($this->_tpl_vars['journalRt']->getSupplementaryFiles() && $this->_tpl_vars['article']->getSuppFiles()): ?><li><a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  79. /rt/suppFiles/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  80. /<?php echo $this->_tpl_vars['galleyId']; ?>
  81. ');"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.suppFiles"), $this);?>
  82. </a></li><?php endif; ?>
  83. <?php if ($this->_tpl_vars['journalRt']->getPrinterFriendly()): ?><li><a href="<?php if (! $this->_tpl_vars['galley'] || $this->_tpl_vars['galley']->isHtmlGalley()): ?>javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  84. /rt/printerFriendly/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  85. /<?php echo $this->_tpl_vars['galleyId']; ?>
  86. ');<?php else: echo $this->_tpl_vars['pageUrl']; ?>
  87. /article/download/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  88. /<?php echo $this->_tpl_vars['galley']->getFileId(); endif; ?>"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.printVersion"), $this);?>
  89. </a></li><?php endif; ?>
  90. <?php if ($this->_tpl_vars['journalRt']->getDefineTerms()): ?>
  91. <?php $_from = $this->_tpl_vars['version']->getContexts(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  92. foreach ($_from as $this->_tpl_vars['context']):
  93. ?>
  94. <?php if ($this->_tpl_vars['context']->getDefineTerms()): ?>
  95. <li><a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  96. /rt/context/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  97. /<?php echo $this->_tpl_vars['galleyId']; ?>
  98. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  99. ');"><?php echo ((is_array($_tmp=$this->_tpl_vars['context']->getTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  100. </a></li>
  101. <?php endif; ?>
  102. <?php endforeach; endif; unset($_from); ?>
  103. <?php endif; ?>
  104. <?php if ($this->_tpl_vars['journalRt']->getEmailOthers()): ?>
  105. <li>
  106. <?php if ($this->_tpl_vars['isUserLoggedIn']): ?>
  107. <a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  108. /rt/emailColleague/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  109. /<?php echo $this->_tpl_vars['galleyId']; ?>
  110. ');"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.colleague"), $this);?>
  111. </a>
  112. <?php else: ?>
  113. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.colleague"), $this);?>
  114. &nbsp;*
  115. <?php $this->assign('needsLoginNote', 1); ?>
  116. <?php endif; ?>
  117. </li>
  118. <?php endif; ?>
  119. <?php if ($this->_tpl_vars['journalRt']->getAddComment() && $this->_tpl_vars['postingAllowed']): ?>
  120. <li><a href="<?php echo $this->_tpl_vars['pageUrl']; ?>
  121. /comment/add/<?php echo $this->_tpl_vars['article']->getArticleId(); ?>
  122. /<?php echo $this->_tpl_vars['galleyId']; ?>
  123. " target="_parent"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.addComment"), $this);?>
  124. </a></li>
  125. <?php elseif (! $this->_tpl_vars['postingDisabled']): ?>
  126. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.addComment"), $this);?>
  127. &nbsp;*
  128. <?php $this->assign('needsLoginNote', 1); ?>
  129. <?php endif; ?>
  130. <?php if ($this->_tpl_vars['journalRt']->getEmailAuthor()): ?>
  131. <li>
  132. <?php if ($this->_tpl_vars['isUserLoggedIn']): ?>
  133. <a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  134. /rt/emailAuthor/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  135. /<?php echo $this->_tpl_vars['galleyId']; ?>
  136. ');"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.emailAuthor"), $this);?>
  137. </a>
  138. <?php else: ?>
  139. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.emailAuthor"), $this);?>
  140. &nbsp;*
  141. <?php $this->assign('needsLoginNote', 1); ?>
  142. <?php endif; ?>
  143. </li>
  144. <?php endif; ?>
  145. </ul>
  146. </div>
  147. <br />
  148. <?php endif; ?>
  149. <div class="rtBlock">
  150. <span class="rtSubtitle"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.relatedItems"), $this);?>
  151. </span>
  152. <ul>
  153. <?php $_from = $this->_tpl_vars['version']->getContexts(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  154. foreach ($_from as $this->_tpl_vars['context']):
  155. ?>
  156. <?php if (! $this->_tpl_vars['context']->getDefineTerms()): ?>
  157. <li><a href="javascript:openRTWindow('<?php echo $this->_tpl_vars['pageUrl']; ?>
  158. /rt/context/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  159. /<?php echo $this->_tpl_vars['galleyId']; ?>
  160. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  161. ');"><?php echo ((is_array($_tmp=$this->_tpl_vars['context']->getTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  162. </a></li>
  163. <?php endif; ?>
  164. <?php endforeach; endif; unset($_from); ?>
  165. </ul>
  166. </div>
  167. <br />
  168. <div class="rtBlock">
  169. <span class="rtSubtitle"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.thisJournal"), $this);?>
  170. </span>
  171. <form method="get" action="<?php echo $this->_tpl_vars['pageUrl']; ?>
  172. /search/results" target="_parent">
  173. <table>
  174. <tr>
  175. <td><input type="text" id="query" name="query" size="15" maxlength="255" value="" class="textField" /></td>
  176. </tr>
  177. <tr>
  178. <td><select name="searchField" size="1" class="selectMenu">
  179. <?php echo $this->_plugins['function']['html_options_translate'][0][0]->smartyHtmlOptionsTranslate(array('options' => $this->_tpl_vars['articleSearchByOptions']), $this);?>
  180. </select></td>
  181. </tr>
  182. <tr>
  183. <td><input type="submit" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.search"), $this);?>
  184. " class="button" /></td>
  185. </tr>
  186. </table>
  187. </form>
  188. </div>
  189. <div class="rtSeparatorThin"></div>
  190. <?php if ($this->_tpl_vars['galley']): ?>
  191. <?php if ($this->_tpl_vars['galley']->isHtmlGalley()): ?>
  192. <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  193. /viewArticle/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  194. /<?php echo $this->_tpl_vars['galleyId']; ?>
  195. " target="_parent" class="rtAction"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.close"), $this);?>
  196. </a>
  197. <?php elseif ($this->_tpl_vars['galley']->isPdfGalley()): ?>
  198. <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  199. /viewPDFInterstitial/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  200. /<?php echo $this->_tpl_vars['galleyId']; ?>
  201. " target="_parent" class="rtAction"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.close"), $this);?>
  202. </a>
  203. <?php else: ?>
  204. <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  205. /viewDownloadInterstitial/<?php echo ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
  206. /<?php echo $this->_tpl_vars['galleyId']; ?>
  207. " target="_parent" class="rtAction"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.close"), $this);?>
  208. </a>
  209. <?php endif; endif; ?>
  210. <?php if ($this->_tpl_vars['needsLoginNote']): ?>
  211. <p><i style="font-size: 0.9em"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.email.needLogin",'pageUrl' => $this->_tpl_vars['pageUrl']), $this);?>
  212. </i></p>
  213. <?php endif; ?>
  214. </div>
  215. </div>
  216. </body>
  217. </html>