/ojs/ojs-2.0.1/templates/t_compile/%%4A^4A0^4A0EB5AC%%step5.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 84 lines · 75 code · 9 blank · 0 comment · 4 complexity · a1cf574c13130e73f6a6700eb86a35c8 MD5 · raw file

  1. <?php /* Smarty version 2.6.9, created on 2005-07-08 06:01:57
  2. compiled from author/submit/step5.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'author/submit/step5.tpl', 15, false),array('modifier', 'date_format', 'author/submit/step5.tpl', 41, false),array('modifier', 'escape', 'author/submit/step5.tpl', 52, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "author.submit.step5"); $_smarty_tpl_vars = $this->_tpl_vars;
  6. $this->_smarty_include(array('smarty_include_tpl_file' => "author/submit/submitHeader.tpl", 'smarty_include_vars' => array()));
  7. $this->_tpl_vars = $_smarty_tpl_vars;
  8. unset($_smarty_tpl_vars);
  9. ?>
  10. <p><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "author.submit.confirmationDescription",'journalTitle' => $this->_tpl_vars['journal']->getTitle()), $this);?>
  11. </p>
  12. <form method="post" action="<?php echo $this->_tpl_vars['pageUrl']; ?>
  13. /author/saveSubmit/<?php echo $this->_tpl_vars['submitStep']; ?>
  14. ">
  15. <input type="hidden" name="articleId" value="<?php echo $this->_tpl_vars['articleId']; ?>
  16. " />
  17. <h3><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "author.submit.filesSummary"), $this);?>
  18. </h3>
  19. <table class="listing" width="100%">
  20. <tr>
  21. <td colspan="5" class="headseparator">&nbsp;</td>
  22. </tr>
  23. <tr class="heading" valign="bottom">
  24. <td width="10%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.id"), $this);?>
  25. </td>
  26. <td width="35%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.originalFileName"), $this);?>
  27. </td>
  28. <td width="25%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.type"), $this);?>
  29. </td>
  30. <td width="20%"><nobr><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.fileSize"), $this);?>
  31. </nobr></td>
  32. <td width="10%"><nobr><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.dateUploaded"), $this);?>
  33. </nobr></td>
  34. </tr>
  35. <tr>
  36. <td colspan="5" class="headseparator">&nbsp;</td>
  37. </tr>
  38. <?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  39. foreach ($_from as $this->_tpl_vars['file']):
  40. ?>
  41. <tr valign="top">
  42. <td><?php echo $this->_tpl_vars['file']->getFileId(); ?>
  43. </td>
  44. <td><a class="file" href="<?php echo $this->_tpl_vars['pageUrl']; ?>
  45. /author/download/<?php echo $this->_tpl_vars['articleId']; ?>
  46. /<?php echo $this->_tpl_vars['file']->getFileId(); ?>
  47. "><?php echo $this->_tpl_vars['file']->getOriginalFileName(); ?>
  48. </a></td>
  49. <td><?php if (( $this->_tpl_vars['file']->getType() == 'supp' )): echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "article.suppFile"), $this); else: echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "author.submit.submissionFile"), $this); endif; ?></td>
  50. <td><?php echo $this->_tpl_vars['file']->getNiceFileSize(); ?>
  51. </td>
  52. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['file']->getDateUploaded())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateFormatTrunc']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateFormatTrunc'])); ?>
  53. </td>
  54. </tr>
  55. <?php endforeach; else: ?>
  56. <tr valign="top">
  57. <td colspan="5" class="nodata"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "author.submit.noFiles"), $this);?>
  58. </td>
  59. </tr>
  60. <?php endif; unset($_from); ?>
  61. </table>
  62. <div class="separator"></div>
  63. <p><input type="submit" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "author.submit.finishSubmission"), $this);?>
  64. " class="button defaultButton" /> <input type="button" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.cancel"), $this);?>
  65. " class="button" onclick="confirmAction('<?php echo $this->_tpl_vars['pageUrl']; ?>
  66. /author', '<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "author.submit.cancelSubmission"), $this))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));?>
  67. ')" /></p>
  68. <p><span class="formRequired"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.requiredField"), $this);?>
  69. </span></p>
  70. </form>
  71. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  72. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  73. $this->_tpl_vars = $_smarty_tpl_vars;
  74. unset($_smarty_tpl_vars);
  75. ?>