PageRenderTime 63ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/ojs/ojs-2.1.1/cache/t_compile/%%CE^CE6^CE60AA58%%completed.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 116 lines | 101 code | 15 blank | 0 comment | 13 complexity | d545f490e76b5c67944fcb3f110b37b5 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:30
  2. compiled from layoutEditor/completed.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'layoutEditor/completed.tpl', 20, false),array('function', 'html_options_translate', 'layoutEditor/completed.tpl', 22, false),array('function', 'translate', 'layoutEditor/completed.tpl', 25, false),array('function', 'html_select_date', 'layoutEditor/completed.tpl', 34, false),array('function', 'print_issue_id', 'layoutEditor/completed.tpl', 72, false),array('function', 'page_info', 'layoutEditor/completed.tpl', 91, false),array('function', 'page_links', 'layoutEditor/completed.tpl', 92, false),array('modifier', 'escape', 'layoutEditor/completed.tpl', 28, false),array('modifier', 'date_format', 'layoutEditor/completed.tpl', 60, false),array('modifier', 'truncate', 'layoutEditor/completed.tpl', 62, false),array('modifier', 'strip_unsafe_html', 'layoutEditor/completed.tpl', 63, false),array('block', 'iterate', 'layoutEditor/completed.tpl', 54, false),)), $this); ?>
  5. <?php if (! $this->_tpl_vars['dateFrom']): $this->assign('dateFrom', "--"); endif; ?>
  6. <?php if (! $this->_tpl_vars['dateTo']): $this->assign('dateTo', "--"); endif; ?>
  7. <form method="post" name="submit" action="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'index','path' => $this->_tpl_vars['pageToDisplay']), $this);?>
  8. ">
  9. <select name="searchField" size="1" class="selectMenu">
  10. <?php echo $this->_plugins['function']['html_options_translate'][0][0]->smartyHtmlOptionsTranslate(array('options' => $this->_tpl_vars['fieldOptions'],'selected' => $this->_tpl_vars['searchField']), $this);?>
  11. </select>
  12. <select name="searchMatch" size="1" class="selectMenu">
  13. <option value="contains"<?php if ($this->_tpl_vars['searchMatch'] == 'contains'): ?> selected="selected"<?php endif; ?>><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "form.contains"), $this);?>
  14. </option>
  15. <option value="is"<?php if ($this->_tpl_vars['searchMatch'] == 'is'): ?> selected="selected"<?php endif; ?>><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "form.is"), $this);?>
  16. </option>
  17. </select>
  18. <input type="text" size="15" name="search" class="textField" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['search'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  19. " />
  20. <br/>
  21. <select name="dateSearchField" size="1" class="selectMenu">
  22. <?php echo $this->_plugins['function']['html_options_translate'][0][0]->smartyHtmlOptionsTranslate(array('options' => $this->_tpl_vars['dateFieldOptions'],'selected' => $this->_tpl_vars['dateSearchField']), $this);?>
  23. </select>
  24. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.between"), $this);?>
  25. <?php echo smarty_function_html_select_date(array('prefix' => 'dateFrom','time' => $this->_tpl_vars['dateFrom'],'all_extra' => "class=\"selectMenu\"",'year_empty' => "",'month_empty' => "",'day_empty' => "",'start_year' => "-5",'end_year' => "+1"), $this);?>
  26. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.and"), $this);?>
  27. <?php echo smarty_function_html_select_date(array('prefix' => 'dateTo','time' => $this->_tpl_vars['dateTo'],'all_extra' => "class=\"selectMenu\"",'year_empty' => "",'month_empty' => "",'day_empty' => "",'start_year' => "-5",'end_year' => "+1"), $this);?>
  28. <br/>
  29. <input type="submit" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.search"), $this);?>
  30. " class="button" />
  31. </form>
  32. &nbsp;
  33. <table width="100%" class="listing">
  34. <tr><td colspan="7" class="headseparator">&nbsp;</td></tr>
  35. <tr class="heading" valign="bottom">
  36. <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.id"), $this);?>
  37. </td>
  38. <td width="5%"><span class="disabled">MM-DD</span><br /><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.assign"), $this);?>
  39. </td>
  40. <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.sec"), $this);?>
  41. </td>
  42. <td width="25%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.authors"), $this);?>
  43. </td>
  44. <td width="30%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.title"), $this);?>
  45. </td>
  46. <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.complete"), $this);?>
  47. </td>
  48. <td width="25%" align="right"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.status"), $this);?>
  49. </td>
  50. </tr>
  51. <tr><td colspan="7" class="headseparator">&nbsp;</td></tr>
  52. <?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(); ?>
  53. <?php $this->assign('articleId', $this->_tpl_vars['submission']->getArticleId()); ?>
  54. <?php $this->assign('layoutAssignment', $this->_tpl_vars['submission']->getLayoutAssignment()); ?>
  55. <tr valign="top">
  56. <td><?php echo $this->_tpl_vars['articleId']; ?>
  57. </td>
  58. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['layoutAssignment']->getDateNotified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?>
  59. </td>
  60. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getSectionAbbrev())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  61. </td>
  62. <td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['submission']->getAuthorString(true))) ? $this->_run_mod_handler('truncate', true, $_tmp, 40, "...") : smarty_modifier_truncate($_tmp, 40, "...")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  63. </td>
  64. <td><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submission','path' => $this->_tpl_vars['articleId']), $this);?>
  65. " class="action"><?php 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, "...")); ?>
  66. </a></td>
  67. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['layoutAssignment']->getDateCompleted())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?>
  68. </td>
  69. <td align="right">
  70. <?php $this->assign('status', $this->_tpl_vars['submission']->getStatus()); ?>
  71. <?php if ($this->_tpl_vars['status'] == STATUS_ARCHIVED): ?>
  72. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.archived"), $this);?>
  73. <?php elseif ($this->_tpl_vars['status'] == STATUS_QUEUED): ?>
  74. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.queued"), $this);?>
  75. <?php elseif ($this->_tpl_vars['status'] == STATUS_PUBLISHED): ?>
  76. <?php echo $this->_plugins['function']['print_issue_id'][0][0]->smartyPrintIssueId(array('articleId' => ($this->_tpl_vars['articleId'])), $this);?>
  77. <?php elseif ($this->_tpl_vars['status'] == STATUS_DECLINED): ?>
  78. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.declined"), $this);?>
  79. <?php endif; ?>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td colspan="7" 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="7" 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="7" 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'],'searchField' => $this->_tpl_vars['searchField'],'searchMatch' => $this->_tpl_vars['searchMatch'],'search' => $this->_tpl_vars['search'],'dateFromDay' => $this->_tpl_vars['dateFromDay'],'dateFromYear' => $this->_tpl_vars['dateFromYear'],'dateFromMonth' => $this->_tpl_vars['dateFromMonth'],'dateToDay' => $this->_tpl_vars['dateToDay'],'dateToYear' => $this->_tpl_vars['dateToYear'],'dateToMonth' => $this->_tpl_vars['dateToMonth']), $this);?>
  98. </td>
  99. </tr>
  100. <?php endif; ?>
  101. </table>