/ojs/ojs-2.1.1/cache/t_compile/%%BE^BE7^BE767151%%completed.tpl.php
PHP | 115 lines | 101 code | 14 blank | 0 comment | 30 complexity | aaa37e50bb131231cdcdbd998525cfde MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
- <?php /* Smarty version 2.6.12, created on 2006-07-17 16:34:33
- compiled from reviewer/completed.tpl */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- 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); ?>
- <table class="listing" width="100%">
- <tr><td colspan="6" class="headseparator"> </td></tr>
- <tr class="heading" valign="bottom">
- <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.id"), $this);?>
- </td>
- <td width="10%"><span class="disabled">MM-DD</span><br /><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.assigned"), $this);?>
- </td>
- <td width="10%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.sec"), $this);?>
- </td>
- <td width="35%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.title"), $this);?>
- </td>
- <td width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.review"), $this);?>
- </td>
- <td width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.editorDecision"), $this);?>
- </td>
- </tr>
- <tr><td colspan="6" class="headseparator"> </td></tr>
- <?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(); ?>
- <?php $this->assign('articleId', $this->_tpl_vars['submission']->getArticleId()); ?>
- <?php $this->assign('reviewId', $this->_tpl_vars['submission']->getReviewId()); ?>
- <tr valign="top">
- <td><?php echo $this->_tpl_vars['articleId']; ?>
- </td>
- <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'])); ?>
- </td>
- <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getSectionAbbrev())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
- </td>
- <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);?>
- " 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>
- <td>
- <?php if ($this->_tpl_vars['submission']->getDeclined()): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "sectionEditor.regrets"), $this);?>
- <?php else: ?>
- <?php $this->assign('recommendation', $this->_tpl_vars['submission']->getRecommendation()); ?>
- <?php if ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_ACCEPT): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.accept"), $this);?>
- <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.pendingRevisions"), $this);?>
- <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_HERE): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.resubmitHere"), $this);?>
- <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_ELSEWHERE): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.resubmitElsewhere"), $this);?>
- <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.decline"), $this);?>
- <?php elseif ($this->_tpl_vars['recommendation'] == SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "reviewer.article.decision.seeComments"), $this);?>
- <?php else: ?>
- —
- <?php endif; ?>
- <?php endif; ?>
- </td>
- <td>
- <?php if ($this->_tpl_vars['submission']->getCancelled() || $this->_tpl_vars['submission']->getDeclined()): ?>
- —
- <?php else: ?>
- <?php $this->assign('round', $this->_tpl_vars['submission']->getRound()); ?>
- <?php $this->assign('decisions', $this->_tpl_vars['submission']->getDecisions($this->_tpl_vars['round'])); ?>
- <?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);
- if ($this->_foreach['lastDecisionFinder']['total'] > 0):
- foreach ($_from as $this->_tpl_vars['decision']):
- $this->_foreach['lastDecisionFinder']['iteration']++;
- ?>
- <?php if (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_ACCEPT): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.accept"), $this);?>
- <?php elseif (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.pendingRevisions"), $this);?>
- <?php elseif (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_RESUBMIT): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.resubmit"), $this);?>
- <?php elseif (($this->_foreach['lastDecisionFinder']['iteration'] == $this->_foreach['lastDecisionFinder']['total']) && $this->_tpl_vars['decision']['decision'] == SUBMISSION_EDITOR_DECISION_DECLINE): ?>
- <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "editor.article.decision.decline"), $this);?>
- <?php endif; ?>
- <?php endforeach; else: ?>
- —
- <?php endif; unset($_from); ?>
- <?php endif; ?>
- </td>
- </tr>
- <tr>
- <td colspan="6" class="<?php if ($this->_tpl_vars['submissions']->eof()): ?>end<?php endif; ?>separator"> </td>
- </tr>
- <?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()): ?>
- <tr>
- <td colspan="6" class="nodata"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.noSubmissions"), $this);?>
- </td>
- </tr>
- <tr>
- <td colspan="6" class="endseparator"> </td>
- </tr>
- <?php else: ?>
- <tr>
- <td colspan="4" align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['submissions']), $this);?>
- </td>
- <td colspan="3" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'submissions','iterator' => $this->_tpl_vars['submissions']), $this);?>
- </td>
- </tr>
- <?php endif; ?>
- </table>