/ojs/ojs-2.1.0-1/cache/t_compile/%%29^29C^29C2266D%%submissionEventLogEntry.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 113 lines · 102 code · 11 blank · 0 comment · 3 complexity · 2a07369ecdc7fa9c14b7a929f3bcf85f MD5 · raw file

  1. <?php /* Smarty version 2.6.12, created on 2006-02-03 13:26:43
  2. compiled from sectionEditor/submissionEventLogEntry.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'sectionEditor/submissionEventLogEntry.tpl', 17, false),array('function', 'translate', 'sectionEditor/submissionEventLogEntry.tpl', 17, false),array('function', 'icon', 'sectionEditor/submissionEventLogEntry.tpl', 56, false),array('modifier', 'date_format', 'sectionEditor/submissionEventLogEntry.tpl', 41, false),array('modifier', 'to_array', 'sectionEditor/submissionEventLogEntry.tpl', 55, false),array('modifier', 'assign', 'sectionEditor/submissionEventLogEntry.tpl', 55, false),array('modifier', 'escape', 'sectionEditor/submissionEventLogEntry.tpl', 56, false),array('modifier', 'strip_unsafe_html', 'sectionEditor/submissionEventLogEntry.tpl', 64, false),array('modifier', 'nl2br', 'sectionEditor/submissionEventLogEntry.tpl', 64, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "submission.eventLog"); $_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->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submission','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  12. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.summary"), $this);?>
  13. </a></li>
  14. <?php if ($this->_tpl_vars['canReview']): ?><li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionReview','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  15. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.review"), $this);?>
  16. </a></li><?php endif; ?>
  17. <?php if ($this->_tpl_vars['canEdit']): ?><li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionEditing','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  18. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.editing"), $this);?>
  19. </a></li><?php endif; ?>
  20. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionHistory','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  21. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history"), $this);?>
  22. </a></li>
  23. </ul>
  24. <ul class="menu">
  25. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionEventLog','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  26. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionEventLog"), $this);?>
  27. </a></li>
  28. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionEmailLog','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  29. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionEmailLog"), $this);?>
  30. </a></li>
  31. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionNotes','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  32. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionNotes"), $this);?>
  33. </a></li>
  34. </ul>
  35. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  36. $this->_smarty_include(array('smarty_include_tpl_file' => "sectionEditor/submission/summary.tpl", 'smarty_include_vars' => array()));
  37. $this->_tpl_vars = $_smarty_tpl_vars;
  38. unset($_smarty_tpl_vars);
  39. ?>
  40. <div class="separator"></div>
  41. <h3><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.history.submissionEventLog"), $this);?>
  42. </h3>
  43. <table width="100%" class="data">
  44. <tr valign="top">
  45. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.id"), $this);?>
  46. </td>
  47. <td width="80%" class="value"><?php echo $this->_tpl_vars['logEntry']->getLogID(); ?>
  48. </td>
  49. </tr>
  50. <tr valign="top">
  51. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.date"), $this);?>
  52. </td>
  53. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['logEntry']->getDateLogged())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['datetimeFormatLong']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['datetimeFormatLong'])); ?>
  54. </td>
  55. </tr>
  56. <tr valign="top">
  57. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.event.logLevel"), $this);?>
  58. </td>
  59. <td class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => ($this->_tpl_vars['logEntry']->getLogLevelString())), $this);?>
  60. </td>
  61. </tr>
  62. <tr valign="top">
  63. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.type"), $this);?>
  64. </td>
  65. <td class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => $this->_tpl_vars['logEntry']->getAssocTypeLongString()), $this);?>
  66. </td>
  67. </tr>
  68. <tr valign="top">
  69. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.user"), $this);?>
  70. </td>
  71. <td class="value">
  72. <?php $this->assign('emailString', ($this->_tpl_vars['logEntry']->getUserFullName())." <".($this->_tpl_vars['logEntry']->getUserEmail()).">"); ?>
  73. <?php echo ((is_array($_tmp=$this->_plugins['function']['url'][0][0]->smartyUrl(array('page' => 'user','op' => 'email','to' => ((is_array($_tmp=$this->_tpl_vars['emailString'])) ? $this->_run_mod_handler('to_array', true, $_tmp) : $this->_plugins['modifier']['to_array'][0][0]->smartyToArray($_tmp)),'redirectUrl' => $this->_tpl_vars['currentUrl'],'subject' => $this->_tpl_vars['logEntry']->getEventTitle()), $this))) ? $this->_run_mod_handler('assign', true, $_tmp, 'url') : $this->_plugins['modifier']['assign'][0][0]->smartyAssign($_tmp, 'url'));?>
  74. <?php echo ((is_array($_tmp=$this->_tpl_vars['logEntry']->getUserFullName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  75. <?php echo $this->_plugins['function']['icon'][0][0]->smartyIcon(array('name' => 'mail','url' => $this->_tpl_vars['url']), $this);?>
  76. </td>
  77. </tr>
  78. <tr valign="top">
  79. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.event"), $this);?>
  80. </td>
  81. <td class="value">
  82. <strong><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => ((is_array($_tmp=$this->_tpl_vars['logEntry']->getEventTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp))), $this);?>
  83. </strong>
  84. <br /><br />
  85. <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['logEntry']->getMessage())) ? $this->_run_mod_handler('strip_unsafe_html', true, $_tmp) : String::stripUnsafeHtml($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
  86. </td>
  87. </tr>
  88. </table>
  89. <?php if ($this->_tpl_vars['isEditor']): ?>
  90. <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'clearSubmissionEventLog','path' => ((is_array($_tmp=$this->_tpl_vars['submission']->getArticleId())) ? $this->_run_mod_handler('to_array', true, $_tmp, $this->_tpl_vars['logEntry']->getLogId()) : $this->_plugins['modifier']['to_array'][0][0]->smartyToArray($_tmp, $this->_tpl_vars['logEntry']->getLogId()))), $this);?>
  91. " onclick="return confirm('<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.event.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' => "submission.event.deleteLogEntry"), $this);?>
  93. </a><br/>
  94. <?php endif; ?>
  95. <a class="action" href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'submissionEventLog','path' => $this->_tpl_vars['submission']->getArticleId()), $this);?>
  96. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.event.backToEventLog"), $this);?>
  97. </a>
  98. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  99. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  100. $this->_tpl_vars = $_smarty_tpl_vars;
  101. unset($_smarty_tpl_vars);
  102. ?>