/ojs/ojs-2.1.1/cache/t_compile/%%F3^F32^F3218F1A%%siteMap.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 122 lines · 116 code · 6 blank · 0 comment · 15 complexity · 579c20d3a818c27945add0aea1114ffb MD5 · raw file

  1. <?php /* Smarty version 2.6.12, created on 2006-07-17 16:34:26
  2. compiled from about/siteMap.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'about/siteMap.tpl', 19, false),array('function', 'translate', 'about/siteMap.tpl', 19, false),array('modifier', 'count', 'about/siteMap.tpl', 21, false),array('modifier', 'escape', 'about/siteMap.tpl', 23, false),array('modifier', 'assign', 'about/siteMap.tpl', 43, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "about.siteMap"); $_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="plain">
  11. <li>
  12. <a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => 'index','page' => 'index','op' => 'index'), $this);?>
  13. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.home"), $this);?>
  14. </a><br/>
  15. <ul class="plain">
  16. <?php if (count($this->_tpl_vars['journals']) > 1 && ! $this->_tpl_vars['currentJournal']): ?>
  17. <?php $_from = $this->_tpl_vars['journals']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  18. foreach ($_from as $this->_tpl_vars['journal']):
  19. ?>
  20. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['journal']->getPath()),'page' => 'about','op' => 'siteMap'), $this);?>
  21. "><?php echo ((is_array($_tmp=$this->_tpl_vars['journal']->getTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  22. </a></li>
  23. <?php endforeach; endif; unset($_from); ?>
  24. <?php else: ?>
  25. <?php if (count($this->_tpl_vars['journals']) == 1): ?>
  26. <?php $this->assign('currentJournal', $this->_tpl_vars['journals'][0]); ?>
  27. <?php else: ?>
  28. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => 'index','page' => 'about','op' => 'siteMap'), $this);?>
  29. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "journal.journals"), $this);?>
  30. </a><br/>
  31. <ul class="plain">
  32. <?php $this->assign('onlyOneJournal', 1); ?>
  33. <?php endif; ?>
  34. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath())), $this);?>
  35. "><?php echo ((is_array($_tmp=$this->_tpl_vars['currentJournal']->getTitle())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  36. </a><br/>
  37. <ul class="plain">
  38. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'about'), $this);?>
  39. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.about"), $this);?>
  40. </a></li>
  41. <li>
  42. <?php if ($this->_tpl_vars['isUserLoggedIn']): ?>
  43. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'user'), $this);?>
  44. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.userHome"), $this);?>
  45. </a><br/>
  46. <ul class="plain">
  47. <?php $this->assign('currentJournalId', $this->_tpl_vars['currentJournal']->getJournalId()); ?>
  48. <?php $_from = $this->_tpl_vars['rolesByJournal'][$this->_tpl_vars['currentJournalId']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  49. foreach ($_from as $this->_tpl_vars['role']):
  50. ?>
  51. <?php echo ((is_array($_tmp=$this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => $this->_tpl_vars['role']->getRoleName()), $this))) ? $this->_run_mod_handler('assign', true, $_tmp, 'roleName') : $this->_plugins['modifier']['assign'][0][0]->smartyAssign($_tmp, 'roleName'));?>
  52. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => ($this->_tpl_vars['role']->getRolePath())), $this);?>
  53. "><?php echo $this->_tpl_vars['roleName']; ?>
  54. </a></li>
  55. <?php endforeach; endif; unset($_from); ?>
  56. </ul>
  57. </li>
  58. <?php else: ?>
  59. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'login'), $this);?>
  60. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.login"), $this);?>
  61. </a></li>
  62. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'register'), $this);?>
  63. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.register"), $this);?>
  64. </a></li>
  65. <?php endif; ?>
  66. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'search'), $this);?>
  67. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.search"), $this);?>
  68. </a><br />
  69. <ul class="plain">
  70. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'search','op' => 'authors'), $this);?>
  71. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.browseByAuthor"), $this);?>
  72. </a></li>
  73. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'search','op' => 'titles'), $this);?>
  74. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.browseByTitle"), $this);?>
  75. </a></li>
  76. </ul>
  77. </li>
  78. <li><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "issue.issues"), $this);?>
  79. <br/>
  80. <ul class="plain">
  81. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'issue','op' => 'current'), $this);?>
  82. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "journal.currentIssue"), $this);?>
  83. </a></li>
  84. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => ($this->_tpl_vars['currentJournal']->getPath()),'page' => 'issue','op' => 'archive'), $this);?>
  85. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.archives"), $this);?>
  86. </a></li>
  87. </ul>
  88. </li>
  89. </li>
  90. <?php $_from = $this->_tpl_vars['currentJournal']->getSetting('navItems'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  91. foreach ($_from as $this->_tpl_vars['navItem']):
  92. ?>
  93. <li><a href="<?php if ($this->_tpl_vars['navItem']['isAbsolute']): echo ((is_array($_tmp=$this->_tpl_vars['navItem']['url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); else: echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('page' => ""), $this); echo ((is_array($_tmp=$this->_tpl_vars['navItem']['url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); endif; ?>"><?php if ($this->_tpl_vars['navItem']['isLiteral']): echo ((is_array($_tmp=$this->_tpl_vars['navItem']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); else: echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => ((is_array($_tmp=$this->_tpl_vars['navItem']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp))), $this); endif; ?></a></li>
  94. <?php endforeach; endif; unset($_from); ?>
  95. </ul>
  96. </li>
  97. <?php if ($this->_tpl_vars['onlyOneJournal']): ?></ul></li><?php endif; ?>
  98. <?php endif; ?>
  99. </ul>
  100. </li>
  101. <?php if ($this->_tpl_vars['isSiteAdmin']): ?>
  102. <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => 'index','page' => $this->_tpl_vars['isSiteAdmin']->getRolePath()), $this);?>
  103. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => $this->_tpl_vars['isSiteAdmin']->getRoleName()), $this);?>
  104. </a></li>
  105. <?php endif; ?>
  106. <li><a href="http://pkp.sfu.ca/ojs"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.openJournalSystems"), $this);?>
  107. </a></li>
  108. <li><a href="javascript:openHelp('<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('journal' => 'index','page' => 'help'), $this);?>
  109. ')"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "help.help"), $this);?>
  110. </a></li>
  111. </ul>
  112. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  113. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  114. $this->_tpl_vars = $_smarty_tpl_vars;
  115. unset($_smarty_tpl_vars);
  116. ?>