PageRenderTime 26ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/ojs/ojs-2.0.1/templates/t_compile/%%6C^6C6^6C6DAB8F%%submissionEmailLog.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 135 lines | 126 code | 9 blank | 0 comment | 5 complexity | f7058a719b14daafdf458b5d9cfbb4aa MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php /* Smarty version 2.6.9, created on 2005-07-08 06:02:04
  2. compiled from sectionEditor/submissionEmailLog.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'sectionEditor/submissionEmailLog.tpl', 17, false),array('function', 'page_info', 'sectionEditor/submissionEmailLog.tpl', 68, false),array('function', 'page_links', 'sectionEditor/submissionEmailLog.tpl', 69, false),array('block', 'iterate', 'sectionEditor/submissionEmailLog.tpl', 46, false),array('modifier', 'date_format', 'sectionEditor/submissionEmailLog.tpl', 48, false),array('modifier', 'truncate', 'sectionEditor/submissionEmailLog.tpl', 50, false),array('modifier', 'escape', 'sectionEditor/submissionEmailLog.tpl', 50, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "submission.emailLog"); $_smarty_tpl_vars = $this->_tpl_vars;
  6. $this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
  7. $this->_tpl_vars = $_smarty_tpl_vars;
  8. unset($_smarty_tpl_vars);
  9. ?>
  10. <ul class="menu">
  11. <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  12. /submission/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  13. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.summary"), $this);?>
  14. </a></li>
  15. <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  16. /submissionReview/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  17. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.review"), $this);?>
  18. </a></li>
  19. <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  20. /submissionEditing/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  21. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.editing"), $this);?>
  22. </a></li>
  23. <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  24. /submissionHistory/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  25. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history"), $this);?>
  26. </a></li>
  27. </ul>
  28. <ul class="menu">
  29. <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  30. /submissionEventLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  31. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionEventLog"), $this);?>
  32. </a></li>
  33. <li class="current"><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  34. /submissionEmailLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  35. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionEmailLog"), $this);?>
  36. </a></li>
  37. <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  38. /submissionNotes/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  39. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionNotes"), $this);?>
  40. </a></li>
  41. </ul>
  42. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  43. $this->_smarty_include(array('smarty_include_tpl_file' => "sectionEditor/submission/summary.tpl", 'smarty_include_vars' => array()));
  44. $this->_tpl_vars = $_smarty_tpl_vars;
  45. unset($_smarty_tpl_vars);
  46. ?>
  47. <div class="separator"></div>
  48. <h3><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionEmailLog"), $this);?>
  49. </h3>
  50. <table width="100%" class="listing">
  51. <tr><td class="headseparator" colspan="6">&nbsp;</td></tr>
  52. <tr valign="top" class="heading">
  53. <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.date"), $this);?>
  54. </td>
  55. <td width="5%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.type"), $this);?>
  56. </td>
  57. <td width="25%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "email.sender"), $this);?>
  58. </td>
  59. <td width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "email.recipients"), $this);?>
  60. </td>
  61. <td><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.subject"), $this);?>
  62. </td>
  63. <td width="60" align="right"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.action"), $this);?>
  64. </td>
  65. </tr>
  66. <tr><td class="headseparator" colspan="6">&nbsp;</td></tr>
  67. <?php $this->_tag_stack[] = array('iterate', array('from' => 'emailLogEntries','item' => 'logEntry')); $this->_plugins['block']['iterate'][0][0]->smartyIterate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);while ($_block_repeat) { ob_start(); ?>
  68. <tr valign="top">
  69. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['logEntry']->getDateSent())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?>
  70. </td>
  71. <td><?php echo $this->_tpl_vars['logEntry']->getAssocTypeString(); ?>
  72. </td>
  73. <td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['logEntry']->getFrom())) ? $this->_run_mod_handler('truncate', true, $_tmp, 40, "...") : smarty_modifier_truncate($_tmp, 40, "...")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  74. </td>
  75. <td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['logEntry']->getRecipients())) ? $this->_run_mod_handler('truncate', true, $_tmp, 40, "...") : smarty_modifier_truncate($_tmp, 40, "...")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  76. </td>
  77. <td><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['logEntry']->getSubject())) ? $this->_run_mod_handler('truncate', true, $_tmp, 60, "...") : smarty_modifier_truncate($_tmp, 60, "...")); ?>
  78. </strong></td>
  79. <td align="right"><?php if ($this->_tpl_vars['logEntry']->getAssocType()): ?><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  80. /submissionEmailLogType/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  81. /<?php echo $this->_tpl_vars['logEntry']->getAssocType(); ?>
  82. /<?php echo $this->_tpl_vars['logEntry']->getAssocId(); ?>
  83. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.related"), $this);?>
  84. </a>&nbsp;<?php endif; ?><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  85. /submissionEmailLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  86. /<?php echo $this->_tpl_vars['logEntry']->getLogId(); ?>
  87. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.view"), $this);?>
  88. </a><?php if ($this->_tpl_vars['isEditor']): ?>&nbsp;<a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  89. /clearSubmissionEmailLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  90. /<?php echo $this->_tpl_vars['logEntry']->getLogId(); ?>
  91. " onclick="return confirm('<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.email.confirmDeleteLogEntry"), $this))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));?>
  92. ')" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.delete"), $this);?>
  93. </a><?php endif; ?></td>
  94. </tr>
  95. <tr valign="top">
  96. <td colspan="6" class="<?php if ($this->_tpl_vars['emailLogEntries']->eof()): ?>end<?php endif; ?>separator">&nbsp;</td>
  97. </tr>
  98. <?php $_block_content = ob_get_contents(); ob_end_clean(); echo $this->_plugins['block']['iterate'][0][0]->smartyIterate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat=false); } array_pop($this->_tag_stack); if ($this->_tpl_vars['emailLogEntries']->wasEmpty()): ?>
  99. <tr valign="top">
  100. <td colspan="6" class="nodata"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.noLogEntries"), $this);?>
  101. </td>
  102. </tr>
  103. <tr valign="top">
  104. <td colspan="6" class="endseparator">&nbsp;</td>
  105. </tr>
  106. <?php else: ?>
  107. <tr>
  108. <td colspan="3" align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['emailLogEntries']), $this);?>
  109. </td>
  110. <td colspan="3" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'emailLogEntries','iterator' => $this->_tpl_vars['emailLogEntries']), $this);?>
  111. </td>
  112. </tr>
  113. <?php endif; ?>
  114. </table>
  115. <?php if ($this->_tpl_vars['isEditor']): ?>
  116. <a class="action" href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  117. /clearSubmissionEmailLog/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  118. " onclick="return confirm('<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.email.confirmClearLog"), $this))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));?>
  119. ')"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.clearLog"), $this);?>
  120. </a>
  121. <?php endif; ?>
  122. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  123. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  124. $this->_tpl_vars = $_smarty_tpl_vars;
  125. unset($_smarty_tpl_vars);
  126. ?>