/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
- <?php /* Smarty version 2.6.9, created on 2005-07-08 06:02:02
- compiled from rtadmin/contexts.tpl */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- 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); ?>
- <?php $this->assign('pageTitle', "rt.contexts"); $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <ul class="menu">
- <li><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /editVersion/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.metadata"), $this);?>
- </a></li>
- <li class="current"><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /contexts/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.contexts"), $this);?>
- </a></li>
- </ul>
- <br />
- <table class="listing" width="100%">
- <tr><td class="headseparator" colspan="3"> </td></tr>
- <tr valign="top">
- <td class="heading" width="40%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.context.title"), $this);?>
- </td>
- <td class="heading" width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.context.abbrev"), $this);?>
- </td>
- <td class="heading" width="40%" align="right"> </td>
- </tr>
- <tr><td class="headseparator" colspan="3"> </td></tr>
- <?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(); ?>
- <tr valign="top">
- <td><?php echo $this->_tpl_vars['context']->getTitle(); ?>
- </td>
- <td><?php echo $this->_tpl_vars['context']->getAbbrev(); ?>
- </td>
- <td align="right"><a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /moveContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
- ?dir=u" class="action">↑</a> <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /moveContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
- ?dir=d" class="action">↓</a> <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /editContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.contexts.metadata"), $this);?>
- </a> <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /searches/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.searches"), $this);?>
- </a> <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /deleteContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- /<?php echo $this->_tpl_vars['context']->getContextId(); ?>
- " 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'));?>
- ')" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.delete"), $this);?>
- </a></td>
- </tr>
- <tr><td class="<?php if ($this->_tpl_vars['contexts']->eof()): ?>end<?php endif; ?>separator" colspan="3"></td></tr>
- <?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); ?>
- <?php if ($this->_tpl_vars['contexts']->wasEmpty()): ?>
- <tr valign="top">
- <td class="nodata" colspan="3"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.none"), $this);?>
- </td>
- </tr>
- <tr><td class="endseparator" colspan="3"></td></tr>
- <?php else: ?>
- <tr>
- <td align="left"><?php echo $this->_plugins['function']['page_info'][0][0]->smartyPageInfo(array('iterator' => $this->_tpl_vars['contexts']), $this);?>
- </td>
- <td colspan="2" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'contexts','iterator' => $this->_tpl_vars['contexts']), $this);?>
- </td>
- </tr>
- <?php endif; ?>
- </table>
- <br/>
- <a href="<?php echo $this->_tpl_vars['requestPageUrl']; ?>
- /createContext/<?php echo $this->_tpl_vars['version']->getVersionId(); ?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.contexts.createContext"), $this);?>
- </a><br/>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>