PageRenderTime 104ms CodeModel.GetById 26ms RepoModel.GetById 2ms app.codeStats 0ms

/ojs/ojs-2.1.1/cache/t_compile/%%BE^BE7^BE767151%%completed.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 115 lines | 101 code | 14 blank | 0 comment | 30 complexity | aaa37e50bb131231cdcdbd998525cfde MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php /* Smarty version 2.6.12, created on 2006-07-17 16:34:33
  2. compiled from reviewer/completed.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'reviewer/completed.tpl', 15, false),array('function', 'url', 'reviewer/completed.tpl', 31, false),array('function', 'page_info', 'reviewer/completed.tpl', 91, false),array('function', 'page_links', 'reviewer/completed.tpl', 92, false),array('block', 'iterate', 'reviewer/completed.tpl', 23, false),array('modifier', 'date_format', 'reviewer/completed.tpl', 29, false),array('modifier', 'escape', 'reviewer/completed.tpl', 30, false),array('modifier', 'strip_unsafe_html', 'reviewer/completed.tpl', 31, false),array('modifier', 'truncate', 'reviewer/completed.tpl', 31, false),)), $this); ?>
  5. <table class="listing" width="100%">
  6. <tr><td colspan="6" class="headseparator">&nbsp;</td></tr>
  7. <tr class="heading" valign="bottom">
  8. <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.id"), $this);?>
  9. </td>
  10. <td width="10%"><span class="disabled">MM-DD</span><br /><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.assigned"), $this);?>
  11. </td>
  12. <td width="10%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.sec"), $this);?>
  13. </td>
  14. <td width="35%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.title"), $this);?>
  15. </td>
  16. <td width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.review"), $this);?>
  17. </td>
  18. <td width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.editorDecision"), $this);?>
  19. </td>
  20. </tr>
  21. <tr><td colspan="6" class="headseparator">&nbsp;</td></tr>
  22. <?php $this->_tag_stack[] = array('iterate', array('from' => 'submissions','item' => 'submission')); $_block_repeat=true;$this->_plugins['block']['iterate'][0][0]->smartyIterate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
  23. <?php $this->assign('articleId', $this->_tpl_vars['submission']->getArticleId()); ?>
  24. <?php $this->assign('reviewId', $this->_tpl_vars['submission']->getReviewId()); ?>
  25. <tr valign="top">
  26. <td><?php echo $this->_tpl_vars['articleId']; ?>
  27. </td>
  28. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getDateNotified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?>
  29. </td>
  30. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getSectionAbbrev())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  31. </td>
  32. <td><?php if (! $this->_tpl_vars['submission']->getDeclined()): ?><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submission','path' => $this->_tpl_vars['reviewId']), $this);?>
  33. " class="action"><?php endif; echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['submission']->getArticleTitle())) ? $this->_run_mod_handler('strip_unsafe_html', true, $_tmp) : String::stripUnsafeHtml($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 60, "...") : smarty_modifier_truncate($_tmp, 60, "...")); if (! $this->_tpl_vars['submission']->getDeclined()): ?></a><?php endif; ?></td>
  34. <td>
  35. <?php if ($this->_tpl_vars['submission']->getDeclined()): ?>
  36. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "sectionEditor.regrets"), $this);?>
  37. <?php else: ?>
  38. <?php $this->assign('recommendation', $this->_tpl_vars['submission']->getRecommendation()); ?>
  39. <?php if ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_ACCEPT): ?>
  40. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.accept"), $this);?>
  41. <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS): ?>
  42. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.pendingRevisions"), $this);?>
  43. <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_HERE): ?>
  44. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.resubmitHere"), $this);?>
  45. <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_ELSEWHERE): ?>
  46. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.resubmitElsewhere"), $this);?>
  47. <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE): ?>
  48. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.decline"), $this);?>
  49. <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS): ?>
  50. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.seeComments"), $this);?>
  51. <?php else: ?>
  52. &mdash;
  53. <?php endif; ?>
  54. <?php endif; ?>
  55. </td>
  56. <td>
  57. <?php if ($this->_tpl_vars['submission']->getCancelled() || $this->_tpl_vars['submission']->getDeclined()): ?>
  58. &mdash;
  59. <?php else: ?>
  60. <?php $this->assign('round', $this->_tpl_vars['submission']->getRound()); ?>
  61. <?php $this->assign('decisions', $this->_tpl_vars['submission']->getDecisions($this->_tpl_vars['round'])); ?>
  62. <?php $_from = $this->_tpl_vars['decisions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['lastDecisionFinder'] = array('total' => count($_from), 'iteration' => 0);
  63. if ($this->_foreach['lastDecisionFinder']['total'] > 0):
  64. foreach ($_from as $this->_tpl_vars['decision']):
  65. $this->_foreach['lastDecisionFinder']['iteration']++;
  66. ?>
  67. <?php if (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_ACCEPT): ?>
  68. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.accept"), $this);?>
  69. <?php elseif (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS): ?>
  70. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.pendingRevisions"), $this);?>
  71. <?php elseif (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_RESUBMIT): ?>
  72. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.resubmit"), $this);?>
  73. <?php elseif (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_DECLINE): ?>
  74. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.decline"), $this);?>
  75. <?php endif; ?>
  76. <?php endforeach; else: ?>
  77. &mdash;
  78. <?php endif; unset($_from); ?>
  79. <?php endif; ?>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td colspan="6" class="<?php if ($this->_tpl_vars['submissions']->eof()): ?>end<?php endif; ?>separator">&nbsp;</td>
  84. </tr>
  85. <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $this->_plugins['block']['iterate'][0][0]->smartyIterate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); if ($this->_tpl_vars['submissions']->wasEmpty()): ?>
  86. <tr>
  87. <td colspan="6" class="nodata"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.noSubmissions"), $this);?>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td colspan="6" class="endseparator">&nbsp;</td>
  92. </tr>
  93. <?php else: ?>
  94. <tr>
  95. <td colspan="4" align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['submissions']), $this);?>
  96. </td>
  97. <td colspan="3" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'submissions','iterator' => $this->_tpl_vars['submissions']), $this);?>
  98. </td>
  99. </tr>
  100. <?php endif; ?>
  101. </table>