PageRenderTime 52ms CodeModel.GetById 1ms RepoModel.GetById 1ms app.codeStats 0ms

/ojs/ojs-2.1.1/cache/t_compile/%%D5^D58^D58E5185%%completed.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 115 lines | 100 code | 15 blank | 0 comment | 13 complexity | ae1d1f3ee682e09f2118c4a9c342398c 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:28
  2. compiled from copyeditor/completed.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'copyeditor/completed.tpl', 20, false),array('function', 'html_options_translate', 'copyeditor/completed.tpl', 22, false),array('function', 'translate', 'copyeditor/completed.tpl', 25, false),array('function', 'html_select_date', 'copyeditor/completed.tpl', 34, false),array('function', 'print_issue_id', 'copyeditor/completed.tpl', 70, false),array('function', 'page_info', 'copyeditor/completed.tpl', 90, false),array('function', 'page_links', 'copyeditor/completed.tpl', 91, false),array('modifier', 'escape', 'copyeditor/completed.tpl', 28, false),array('modifier', 'date_format', 'copyeditor/completed.tpl', 58, false),array('modifier', 'truncate', 'copyeditor/completed.tpl', 60, false),array('modifier', 'strip_unsafe_html', 'copyeditor/completed.tpl', 61, false),array('block', 'iterate', 'copyeditor/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="8" 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="8" 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. <tr valign="top">
  55. <td><?php echo $this->_tpl_vars['articleId']; ?>
  56. </td>
  57. <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'])); ?>
  58. </td>
  59. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getSectionAbbrev())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  60. </td>
  61. <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)); ?>
  62. </td>
  63. <td><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submission','path' => $this->_tpl_vars['articleId']), $this);?>
  64. " 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, "...")); ?>
  65. </a></td>
  66. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getDateFinalCompleted())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?>
  67. </td>
  68. <td align="right">
  69. <?php $this->assign('status', $this->_tpl_vars['submission']->getStatus()); ?>
  70. <?php if ($this->_tpl_vars['status'] == STATUS_ARCHIVED): ?>
  71. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.archived"), $this);?>
  72. <?php elseif ($this->_tpl_vars['status'] == STATUS_QUEUED): ?>
  73. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.queued"), $this);?>
  74. <?php elseif ($this->_tpl_vars['status'] == STATUS_PUBLISHED): ?>
  75. <?php echo $this->_plugins['function']['print_issue_id'][0][0]->smartyPrintIssueId(array('articleId' => ($this->_tpl_vars['articleId'])), $this);?>
  76. <?php elseif ($this->_tpl_vars['status'] == STATUS_DECLINED): ?>
  77. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.declined"), $this);?>
  78. <?php endif; ?>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td colspan="7" class="<?php if ($this->_tpl_vars['submissions']->eof()): ?>end<?php endif; ?>separator">&nbsp;</td>
  83. </tr>
  84. <?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()): ?>
  85. <tr>
  86. <td colspan="7" class="nodata"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submissions.noSubmissions"), $this);?>
  87. </td>
  88. </tr>
  89. <tr>
  90. <td colspan="7" class="endseparator">&nbsp;</td>
  91. </tr>
  92. <?php else: ?>
  93. <tr>
  94. <td colspan="5" align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['submissions']), $this);?>
  95. </td>
  96. <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);?>
  97. </td>
  98. </tr>
  99. <?php endif; ?>
  100. </table>