/ojs/ojs-2.0.2-1/templates/t_compile/%%F8^F88^F88D9440%%management.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 118 lines · 111 code · 7 blank · 0 comment · 6 complexity · 78e719ab8a0961dfadad730d725687c1 MD5 · raw file

  1. <?php /* Smarty version 2.6.10, created on 2005-09-21 12:20:12
  2. compiled from author/submission/management.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'author/submission/management.tpl', 13, false),array('function', 'icon', 'author/submission/management.tpl', 52, false),array('modifier', 'escape', 'author/submission/management.tpl', 17, false),array('modifier', 'date_format', 'author/submission/management.tpl', 27, false),array('modifier', 'strip_unsafe_html', 'author/submission/management.tpl', 81, false),array('modifier', 'nl2br', 'author/submission/management.tpl', 81, false),)), $this); ?>
  5. <a name="submission"></a>
  6. <h3><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.submission"), $this);?>
  7. </h3>
  8. <table width="100%" class="data">
  9. <tr valign="top">
  10. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.authors"), $this);?>
  11. </td>
  12. <td width="80%" colspan="2" class="data"><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getAuthorString(false))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  13. </td>
  14. </tr>
  15. <tr valign="top">
  16. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.title"), $this);?>
  17. </td>
  18. <td width="80%" colspan="2" class="data"><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getArticleTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  19. </td>
  20. </tr>
  21. <tr valign="top">
  22. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.originalFile"), $this);?>
  23. </td>
  24. <td width="80%" colspan="2" class="data">
  25. <?php if ($this->_tpl_vars['submissionFile']): ?>
  26. <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  27. /downloadFile/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  28. /<?php echo $this->_tpl_vars['submissionFile']->getFileId(); ?>
  29. /<?php echo $this->_tpl_vars['submissionFile']->getRevision(); ?>
  30. " class="file"><?php echo ((is_array($_tmp=$this->_tpl_vars['submissionFile']->getFileName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  31. </a>&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['submissionFile']->getDateModified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatShort'])); ?>
  32. <?php else: ?>
  33. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.none"), $this);?>
  34. <?php endif; ?>
  35. </td>
  36. </tr>
  37. <tr valign="top">
  38. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.suppFilesAbbrev"), $this);?>
  39. </td>
  40. <td width="30%" class="value">
  41. <?php $_from = $this->_tpl_vars['suppFiles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['suppFiles'] = array('total' => count($_from), 'iteration' => 0);
  42. if ($this->_foreach['suppFiles']['total'] > 0):
  43. foreach ($_from as $this->_tpl_vars['suppFile']):
  44. $this->_foreach['suppFiles']['iteration']++;
  45. ?>
  46. <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  47. /editSuppFile/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  48. /<?php echo $this->_tpl_vars['suppFile']->getSuppFileId(); ?>
  49. " class="file"><?php echo ((is_array($_tmp=$this->_tpl_vars['suppFile']->getFileName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  50. </a>&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['suppFile']->getDateModified())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatShort']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatShort'])); ?>
  51. <br />
  52. <?php endforeach; else: ?>
  53. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.none"), $this);?>
  54. <?php endif; unset($_from); ?>
  55. </td>
  56. <td width="50%" class="value"><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  57. /addSuppFile/<?php echo $this->_tpl_vars['submission']->getArticleId(); ?>
  58. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.addSuppFile"), $this);?>
  59. </a></td>
  60. </tr>
  61. <tr>
  62. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.submitter"), $this);?>
  63. </td>
  64. <td colspan="2" class="value">
  65. <?php $this->assign('submitter', $this->_tpl_vars['submission']->getUser()); ?>
  66. <?php $this->assign('emailString', ($this->_tpl_vars['submitter']->getFullName())." <".($this->_tpl_vars['submitter']->getEmail()).">"); ?>
  67. <?php $this->assign('emailStringEscaped', ((is_array($_tmp=$this->_tpl_vars['emailString'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url'))); ?>
  68. <?php $this->assign('urlEscaped', ((is_array($_tmp=$this->_tpl_vars['currentUrl'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url'))); ?>
  69. <?php $this->assign('subjectEscaped', ((is_array($_tmp=$this->_tpl_vars['submission']->getArticleTitle())) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url'))); ?>
  70. <?php echo ((is_array($_tmp=$this->_tpl_vars['submitter']->getFullName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  71. <?php echo $this->_plugins['function']['icon'][0][0]->smartyIcon(array('name' => 'mail','url' => ($this->_tpl_vars['pageUrl'])."/user/email?to[]=".($this->_tpl_vars['emailStringEscaped'])."&amp;redirectUrl=".($this->_tpl_vars['urlEscaped'])."&amp;subject=".($this->_tpl_vars['subjectEscaped'])), $this);?>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.dateSubmitted"), $this);?>
  76. </td>
  77. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getDateSubmitted())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['datetimeFormatLong']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['datetimeFormatLong'])); ?>
  78. </td>
  79. </tr>
  80. <tr valign="top">
  81. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "section.section"), $this);?>
  82. </td>
  83. <td width="80%" colspan="2" class="data"><?php echo ((is_array($_tmp=$this->_tpl_vars['submission']->getSectionTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  84. </td>
  85. </tr>
  86. <tr valign="top">
  87. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.role.sectionEditor"), $this);?>
  88. </td>
  89. <?php $this->assign('editor', $this->_tpl_vars['submission']->getEditor()); ?>
  90. <td width="80%" colspan="2" class="data">
  91. <?php if ($this->_tpl_vars['editor']): ?>
  92. <?php $this->assign('emailString', ($this->_tpl_vars['editor']->getEditorFullName())." <".($this->_tpl_vars['editor']->getEditorEmail()).">"); ?>
  93. <?php $this->assign('emailStringEscaped', ((is_array($_tmp=$this->_tpl_vars['emailString'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url'))); ?>
  94. <?php $this->assign('urlEscaped', ((is_array($_tmp=$this->_tpl_vars['currentUrl'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url'))); ?>
  95. <?php $this->assign('subjectEscaped', ((is_array($_tmp=$this->_tpl_vars['submission']->getArticleTitle())) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url'))); ?>
  96. <?php echo ((is_array($_tmp=$this->_tpl_vars['editor']->getEditorFullName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  97. <?php echo $this->_plugins['function']['icon'][0][0]->smartyIcon(array('name' => 'mail','url' => ($this->_tpl_vars['pageUrl'])."/user/email?to[]=".($this->_tpl_vars['emailStringEscaped'])."&amp;redirectUrl=".($this->_tpl_vars['urlEscaped'])."&amp;subject=".($this->_tpl_vars['subjectEscaped'])), $this);?>
  98. <?php else: ?>
  99. <?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.noneAssigned"), $this);?>
  100. <?php endif; ?>
  101. </td>
  102. </tr>
  103. <?php if ($this->_tpl_vars['submission']->getCommentsToEditor()): ?>
  104. <tr valign="top">
  105. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.commentsToEditor"), $this);?>
  106. </td>
  107. <td width="80%" colspan="2" class="data"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['submission']->getCommentsToEditor())) ? $this->_run_mod_handler('strip_unsafe_html', true, $_tmp) : $this->_plugins['modifier']['strip_unsafe_html'][0][0]->smartyStripUnsafeHtml($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
  108. </td>
  109. </tr>
  110. <?php endif; ?>
  111. </table>