/ojs/ojs-2.0.1/templates/t_compile/%%AB^ABE^ABE61EE5%%contexts.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 90 lines · 84 code · 6 blank · 0 comment · 2 complexity · a91a3ec38137cc2ade61af45df0a9245 MD5 · raw file

  1. <?php /* Smarty version 2.6.9, created on 2005-07-08 06:02:02
  2. compiled from rtadmin/contexts.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'rtadmin/contexts.tpl', 16, false),array('function', 'page_info', 'rtadmin/contexts.tpl', 45, false),array('function', 'page_links', 'rtadmin/contexts.tpl', 46, false),array('block', 'iterate', 'rtadmin/contexts.tpl', 30, false),array('modifier', 'escape', 'rtadmin/contexts.tpl', 34, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "rt.contexts"); $_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. /editVersion/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  13. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.metadata"), $this);?>
  14. </a></li>
  15. <li class="current"><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  16. /contexts/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  17. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.contexts"), $this);?>
  18. </a></li>
  19. </ul>
  20. <br />
  21. <table class="listing" width="100%">
  22. <tr><td class="headseparator" colspan="3">&nbsp;</td></tr>
  23. <tr valign="top">
  24. <td class="heading" width="40%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.context.title"), $this);?>
  25. </td>
  26. <td class="heading" width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.context.abbrev"), $this);?>
  27. </td>
  28. <td class="heading" width="40%" align="right">&nbsp;</td>
  29. </tr>
  30. <tr><td class="headseparator" colspan="3">&nbsp;</td></tr>
  31. <?php $this->_tag_stack[] = array('iterate', array('from' => 'contexts','item' => 'context')); $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(); ?>
  32. <tr valign="top">
  33. <td><?php echo $this->_tpl_vars['context']->getTitle(); ?>
  34. </td>
  35. <td><?php echo $this->_tpl_vars['context']->getAbbrev(); ?>
  36. </td>
  37. <td align="right"><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  38. /moveContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  39. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  40. ?dir=u" class="action">&uarr;</a>&nbsp;<a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  41. /moveContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  42. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  43. ?dir=d" class="action">&darr;</a>&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  44. /editContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  45. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  46. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.contexts.metadata"), $this);?>
  47. </a>&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  48. /searches/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  49. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  50. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.searches"), $this);?>
  51. </a>&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  52. /deleteContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  53. /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
  54. " onclick="return confirm('<?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.contexts.confirmDelete"), $this))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript'));?>
  55. ')" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.delete"), $this);?>
  56. </a></td>
  57. </tr>
  58. <tr><td class="<?php if ($this->_tpl_vars['contexts']->eof()): ?>end<?php endif; ?>separator" colspan="3"></td></tr>
  59. <?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); ?>
  60. <?php if ($this->_tpl_vars['contexts']->wasEmpty()): ?>
  61. <tr valign="top">
  62. <td class="nodata" colspan="3"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.none"), $this);?>
  63. </td>
  64. </tr>
  65. <tr><td class="endseparator" colspan="3"></td></tr>
  66. <?php else: ?>
  67. <tr>
  68. <td align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['contexts']), $this);?>
  69. </td>
  70. <td colspan="2" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'contexts','iterator' => $this->_tpl_vars['contexts']), $this);?>
  71. </td>
  72. </tr>
  73. <?php endif; ?>
  74. </table>
  75. <br/>
  76. <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
  77. /createContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
  78. " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.contexts.createContext"), $this);?>
  79. </a><br/>
  80. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  81. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  82. $this->_tpl_vars = $_smarty_tpl_vars;
  83. unset($_smarty_tpl_vars);
  84. ?>