/ojs/ojs-2.1.0-1/cache/t_compile/%%D3^D39^D39A46D0%%versions.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 85 lines · 77 code · 8 blank · 0 comment · 2 complexity · bbb41129e325284706b70d138aa31752 MD5 · raw file

  1. <?php /* Smarty version 2.6.12, created on 2006-02-03 13:26:41
  2. compiled from rtadmin/versions.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'rtadmin/versions.tpl', 20, false),array('function', 'url', 'rtadmin/versions.tpl', 29, false),array('function', 'page_info', 'rtadmin/versions.tpl', 40, false),array('function', 'page_links', 'rtadmin/versions.tpl', 41, false),array('block', 'iterate', 'rtadmin/versions.tpl', 25, false),array('modifier', 'escape', 'rtadmin/versions.tpl', 27, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "rt.versions"); $_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. <br/>
  11. <table class="listing" width="100%">
  12. <tr><td class="headseparator" colspan="3">&nbsp;</td></tr>
  13. <tr valign="top">
  14. <td class="heading" width="40%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.version.title"), $this);?>
  15. </td>
  16. <td class="heading" width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.version.locale"), $this);?>
  17. </td>
  18. <td class="heading" width="40%" align="right">&nbsp;</td>
  19. </tr>
  20. <tr><td class="headseparator" colspan="3">&nbsp;</td></tr>
  21. <?php $this->_tag_stack[] = array('iterate', array('from' => 'versions','item' => 'version')); $_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(); ?>
  22. <tr valign="top">
  23. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['version']->getTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  24. </td>
  25. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['version']->getLocale())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  26. </td>
  27. <td align="right"><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'validateUrls','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
  28. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.validateUrls.validate"), $this);?>
  29. </a>&nbsp;|&nbsp;<a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'editVersion','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
  30. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.metadata"), $this);?>
  31. </a>&nbsp;|&nbsp;<a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'contexts','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
  32. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.contexts"), $this);?>
  33. </a>&nbsp;|&nbsp;<a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'exportVersion','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
  34. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.export"), $this);?>
  35. </a>&nbsp;|&nbsp;<a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'deleteVersion','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
  36. " onclick="return confirm('<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.confirmDelete"), $this))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));?>
  37. ')" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.delete"), $this);?>
  38. </a></td>
  39. </tr>
  40. <tr><td class="<?php if ($this->_tpl_vars['versions']->eof()): ?>end<?php endif; ?>separator" colspan="3"></td></tr>
  41. <?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); ?>
  42. <?php if ($this->_tpl_vars['versions']->wasEmpty()): ?>
  43. <tr valign="top">
  44. <td class="nodata" colspan="3"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.none"), $this);?>
  45. </td>
  46. </tr>
  47. <tr><td class="endseparator" colspan="3"></td></tr>
  48. <?php else: ?>
  49. <tr>
  50. <td align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['versions']), $this);?>
  51. </td>
  52. <td colspan="2" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'versions','iterator' => $this->_tpl_vars['versions']), $this);?>
  53. </td>
  54. </tr>
  55. <?php endif; ?>
  56. </table>
  57. <br/>
  58. <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'createVersion'), $this);?>
  59. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.createVersion"), $this);?>
  60. </a><br/>
  61. <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'restoreVersions'), $this);?>
  62. " onclick="return confirm('<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.confirmRestore"), $this))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));?>
  63. ')" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.restoreVersions"), $this);?>
  64. </a>
  65. <br/>
  66. <br/>
  67. <form method="post" action="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'importVersion'), $this);?>
  68. " enctype="multipart/form-data">
  69. <input type="file" class="uploadField" name="versionFile" />
  70. <input type="submit" class="button" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.importVersion"), $this);?>
  71. " />
  72. </form>
  73. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  74. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  75. $this->_tpl_vars = $_smarty_tpl_vars;
  76. unset($_smarty_tpl_vars);
  77. ?>