/ojs/ojs-2.1.1/cache/t_compile/%%40^409^40906566%%userProfile.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite · PHP · 130 lines · 123 code · 7 blank · 0 comment · 6 complexity · d0d6c6fa0dcaba0ba734e339eee33e37 MD5 · raw file

  1. <?php /* Smarty version 2.6.12, created on 2006-07-17 16:34:38
  2. compiled from sectionEditor/userProfile.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'sectionEditor/userProfile.tpl', 15, false),array('function', 'url', 'sectionEditor/userProfile.tpl', 43, false),array('function', 'icon', 'sectionEditor/userProfile.tpl', 44, false),array('modifier', 'escape', 'sectionEditor/userProfile.tpl', 15, false),array('modifier', 'to_array', 'sectionEditor/userProfile.tpl', 43, false),array('modifier', 'assign', 'sectionEditor/userProfile.tpl', 43, false),array('modifier', 'strip_unsafe_html', 'sectionEditor/userProfile.tpl', 65, false),array('modifier', 'nl2br', 'sectionEditor/userProfile.tpl', 65, false),array('modifier', 'date_format', 'sectionEditor/userProfile.tpl', 83, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "manager.people"); $_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. <h3><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.profile"), $this);?>
  11. : <?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getFullName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  12. </h3>
  13. <table class="data" width="100%">
  14. <tr valign="top">
  15. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.username"), $this);?>
  16. :</td>
  17. <td width="80%" class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getUsername())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  18. </td>
  19. </tr>
  20. <tr valign="top">
  21. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.firstName"), $this);?>
  22. :</td>
  23. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getFirstName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  24. </td>
  25. </tr>
  26. <tr valign="top">
  27. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.middleName"), $this);?>
  28. :</td>
  29. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getMiddleName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  30. </td>
  31. </tr>
  32. <tr valign="top">
  33. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.lastName"), $this);?>
  34. :</td>
  35. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getLastName())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  36. </td>
  37. </tr>
  38. <tr valign="top">
  39. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.affiliation"), $this);?>
  40. :</td>
  41. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getAffiliation())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  42. </td>
  43. </tr>
  44. <tr valign="top">
  45. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.email"), $this);?>
  46. :</td>
  47. <td class="value">
  48. <?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getEmail())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  49. <?php $this->assign('emailString', ($this->_tpl_vars['user']->getFullName())." <".($this->_tpl_vars['user']->getEmail()).">"); ?>
  50. <?php echo ((is_array($_tmp=$this->_plugins['function']['url'][0][0]->smartyUrl(array('page' => 'user','op' => 'email','to' => ((is_array($_tmp=$this->_tpl_vars['emailString'])) ? $this->_run_mod_handler('to_array', true, $_tmp) : $this->_plugins['modifier']['to_array'][0][0]->smartyToArray($_tmp)),'redirectUrl' => $this->_tpl_vars['currentUrl']), $this))) ? $this->_run_mod_handler('assign', true, $_tmp, 'url') : $this->_plugins['modifier']['assign'][0][0]->smartyAssign($_tmp, 'url'));?>
  51. <?php echo $this->_plugins['function']['icon'][0][0]->smartyIcon(array('name' => 'mail','url' => $this->_tpl_vars['url']), $this);?>
  52. </td>
  53. </tr>
  54. <tr valign="top">
  55. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.url"), $this);?>
  56. :</td>
  57. <td class="value"><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getUrl())) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
  58. "><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getUrl())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  59. </a></td>
  60. </tr>
  61. <tr valign="top">
  62. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.phone"), $this);?>
  63. :</td>
  64. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getPhone())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  65. </td>
  66. </tr>
  67. <tr valign="top">
  68. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.fax"), $this);?>
  69. :</td>
  70. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getFax())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  71. </td>
  72. </tr>
  73. <tr valign="top">
  74. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.interests"), $this);?>
  75. :</td>
  76. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getInterests())) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  77. </td>
  78. </tr>
  79. <tr valign="top">
  80. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.mailingAddress"), $this);?>
  81. :</td>
  82. <td class="value"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['user']->getMailingAddress())) ? $this->_run_mod_handler('strip_unsafe_html', true, $_tmp) : String::stripUnsafeHtml($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
  83. </td>
  84. </tr>
  85. <tr valign="top">
  86. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.biography"), $this);?>
  87. :</td>
  88. <td class="value"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['user']->getBiography())) ? $this->_run_mod_handler('strip_unsafe_html', true, $_tmp) : String::stripUnsafeHtml($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
  89. </td>
  90. </tr>
  91. <?php if ($this->_tpl_vars['profileLocalesEnabled']): ?>
  92. <tr valign="top">
  93. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.workingLanguages"), $this);?>
  94. :</td>
  95. <td class="value"><?php $_from = $this->_tpl_vars['user']->getLocales(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['workingLanguages'] = array('total' => count($_from), 'iteration' => 0);
  96. if ($this->_foreach['workingLanguages']['total'] > 0):
  97. foreach ($_from as $this->_tpl_vars['localeKey']):
  98. $this->_foreach['workingLanguages']['iteration']++;
  99. echo ((is_array($_tmp=$this->_tpl_vars['localeNames'][$this->_tpl_vars['localeKey']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); if (! ($this->_foreach['workingLanguages']['iteration'] == $this->_foreach['workingLanguages']['total'])): ?>; <?php endif; endforeach; endif; unset($_from); ?></td>
  100. </tr>
  101. <?php endif; ?>
  102. <tr valign="top">
  103. <td>&nbsp;</td>
  104. <td>&nbsp;</td>
  105. </tr>
  106. <tr valign="top">
  107. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.dateRegistered"), $this);?>
  108. :</td>
  109. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getDateRegistered())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['datetimeFormatLong']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['datetimeFormatLong'])); ?>
  110. </td>
  111. </tr>
  112. <tr valign="top">
  113. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.dateLastLogin"), $this);?>
  114. :</td>
  115. <td class="value"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getDateLastLogin())) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['datetimeFormatLong']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['datetimeFormatLong'])); ?>
  116. </td>
  117. </tr>
  118. </table>
  119. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  120. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  121. $this->_tpl_vars = $_smarty_tpl_vars;
  122. unset($_smarty_tpl_vars);
  123. ?>