/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
- <?php /* Smarty version 2.6.12, created on 2006-02-03 13:26:41
- compiled from rtadmin/versions.tpl */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- 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); ?>
- <?php $this->assign('pageTitle', "rt.versions"); $_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);
- ?>
- <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.version.title"), $this);?>
- </td>
- <td class="heading" width="20%"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.version.locale"), $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' => '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(); ?>
- <tr valign="top">
- <td><?php echo ((is_array($_tmp=$this->_tpl_vars['version']->getTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
- </td>
- <td><?php echo ((is_array($_tmp=$this->_tpl_vars['version']->getLocale())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
- </td>
- <td align="right"><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'validateUrls','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.validateUrls.validate"), $this);?>
- </a> | <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'editVersion','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.metadata"), $this);?>
- </a> | <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'contexts','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.contexts"), $this);?>
- </a> | <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'exportVersion','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.export"), $this);?>
- </a> | <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'deleteVersion','path' => $this->_tpl_vars['version']->getVersionId()), $this);?>
- " 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'));?>
- ')" 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['versions']->eof()): ?>end<?php endif; ?>separator" colspan="3"></td></tr>
- <?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); ?>
- <?php if ($this->_tpl_vars['versions']->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['versions']), $this);?>
- </td>
- <td colspan="2" align="right"><?php echo $this->_plugins['function']['page_links'][0][0]->smartyPageLinks(array('name' => 'versions','iterator' => $this->_tpl_vars['versions']), $this);?>
- </td>
- </tr>
- <?php endif; ?>
- </table>
- <br/>
- <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'createVersion'), $this);?>
- " class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.createVersion"), $this);?>
- </a><br/>
- <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'restoreVersions'), $this);?>
- " 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'));?>
- ')" class="action"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.restoreVersions"), $this);?>
- </a>
- <br/>
- <br/>
- <form method="post" action="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'importVersion'), $this);?>
- " enctype="multipart/form-data">
- <input type="file" class="uploadField" name="versionFile" />
- <input type="submit" class="button" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "rt.admin.versions.importVersion"), $this);?>
- " />
- </form>
- <?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);
- ?>