PageRenderTime 26ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/ojs/ojs-2.1.1/cache/t_compile/%%99^99A^99A58582%%createReviewerForm.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 154 lines | 145 code | 9 blank | 0 comment | 7 complexity | 488661fd1189689adcbe28dcbbe47d99 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php /* Smarty version 2.6.12, created on 2006-07-17 16:34:36
  2. compiled from sectionEditor/createReviewerForm.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'sectionEditor/createReviewerForm.tpl', 15, false),array('function', 'fieldLabel', 'sectionEditor/createReviewerForm.tpl', 21, false),array('function', 'translate', 'sectionEditor/createReviewerForm.tpl', 25, false),array('function', 'html_options', 'sectionEditor/createReviewerForm.tpl', 81, false),array('modifier', 'to_array', 'sectionEditor/createReviewerForm.tpl', 15, false),array('modifier', 'escape', 'sectionEditor/createReviewerForm.tpl', 23, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "sectionEditor.review.createReviewer"); $_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. <form method="post" action="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('op' => 'createReviewer','path' => ((is_array($_tmp=$this->_tpl_vars['articleId'])) ? $this->_run_mod_handler('to_array', true, $_tmp, 'create') : $this->_plugins['modifier']['to_array'][0][0]->smartyToArray($_tmp, 'create'))), $this);?>
  11. ">
  12. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  13. $this->_smarty_include(array('smarty_include_tpl_file' => "common/formErrors.tpl", 'smarty_include_vars' => array()));
  14. $this->_tpl_vars = $_smarty_tpl_vars;
  15. unset($_smarty_tpl_vars);
  16. ?>
  17. <table width="100%" class="data">
  18. <tr valign="top">
  19. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'username','required' => 'true','key' => "user.username"), $this);?>
  20. </td>
  21. <td class="value">
  22. <input type="text" name="username" id="username" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['username'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  23. " size="20" maxlength="32" class="textField" />
  24. <br />
  25. <span class="instruct"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.register.usernameRestriction"), $this);?>
  26. </span>
  27. </td>
  28. </tr>
  29. <tr valign="top">
  30. <td class="label">&nbsp;</td>
  31. <td class="value"><input type="checkbox" name="sendNotify" id="sendNotify" value="1"<?php if ($this->_tpl_vars['sendNotify']): ?> checked="checked"<?php endif; ?> /> <label for="sendNotify"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.people.createUserSendNotify"), $this);?>
  32. </label></td>
  33. </tr>
  34. <tr valign="top">
  35. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'firstName','required' => 'true','key' => "user.firstName"), $this);?>
  36. </td>
  37. <td class="value"><input type="text" name="firstName" id="firstName" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['firstName'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  38. " size="20" maxlength="40" class="textField" /></td>
  39. </tr>
  40. <tr valign="top">
  41. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'middleName','key' => "user.middleName"), $this);?>
  42. </td>
  43. <td class="value"><input type="text" name="middleName" id="middleName" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['middleName'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  44. " size="20" maxlength="40" class="textField" /></td>
  45. </tr>
  46. <tr valign="top">
  47. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'lastName','required' => 'true','key' => "user.lastName"), $this);?>
  48. </td>
  49. <td class="value"><input type="text" name="lastName" id="lastName" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['lastName'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  50. " size="20" maxlength="90" class="textField" /></td>
  51. </tr>
  52. <tr valign="top">
  53. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'initials','key' => "user.initials"), $this);?>
  54. </td>
  55. <td class="value"><input type="text" name="initials" id="initials" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['initials'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  56. " size="5" maxlength="5" class="textField" />&nbsp;&nbsp;<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.initialsExample"), $this);?>
  57. </td>
  58. </tr>
  59. <tr valign="top">
  60. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'affiliation','key' => "user.affiliation"), $this);?>
  61. </td>
  62. <td class="value"><input type="text" name="affiliation" id="affiliation" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['affiliation'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  63. " size="30" maxlength="90" class="textField" /></td>
  64. </tr>
  65. <tr valign="top">
  66. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'email','required' => 'true','key' => "user.email"), $this);?>
  67. </td>
  68. <td class="value"><input type="text" name="email" id="email" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['email'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  69. " size="30" maxlength="90" class="textField" /></td>
  70. </tr>
  71. <tr valign="top">
  72. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'userUrl','key' => "user.url"), $this);?>
  73. </td>
  74. <td class="value"><input type="text" name="userUrl" id="userUrl" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['userUrl'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  75. " size="30" maxlength="90" class="textField" /></td>
  76. </tr>
  77. <tr valign="top">
  78. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'phone','key' => "user.phone"), $this);?>
  79. </td>
  80. <td class="value"><input type="text" name="phone" id="phone" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['phone'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  81. " size="15" maxlength="24" class="textField" /></td>
  82. </tr>
  83. <tr valign="top">
  84. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'fax','key' => "user.fax"), $this);?>
  85. </td>
  86. <td class="value"><input type="text" name="fax" id="fax" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['fax'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  87. " size="15" maxlength="24" class="textField" /></td>
  88. </tr>
  89. <tr valign="top">
  90. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'interests','key' => "user.interests"), $this);?>
  91. </td>
  92. <td class="value"><input type="text" name="interests" id="interests" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['interests'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  93. " size="30" maxlength="255" class="textField" /></td>
  94. </tr>
  95. <tr valign="top">
  96. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'mailingAddress','key' => "common.mailingAddress"), $this);?>
  97. </td>
  98. <td class="value"><textarea name="mailingAddress" id="mailingAddress" rows="3" cols="40" class="textArea"><?php echo ((is_array($_tmp=$this->_tpl_vars['mailingAddress'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  99. </textarea></td>
  100. </tr>
  101. <tr valign="top">
  102. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'country','key' => "common.country"), $this);?>
  103. </td>
  104. <td class="value">
  105. <select name="country" id="country" class="selectMenu">
  106. <option value=""></option>
  107. <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['countries'],'selected' => $this->_tpl_vars['country']), $this);?>
  108. </select>
  109. </td>
  110. </tr>
  111. <tr valign="top">
  112. <td class="label"><?php echo $this->_plugins['function']['fieldLabel'][0][0]->smartyFieldLabel(array('name' => 'biography','key' => "user.biography"), $this);?>
  113. <br /><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.biography.description"), $this);?>
  114. </td>
  115. <td class="value"><textarea name="biography" id="biography" rows="5" cols="40" class="textArea"><?php echo ((is_array($_tmp=$this->_tpl_vars['biography'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  116. </textarea></td>
  117. </tr>
  118. <?php if ($this->_tpl_vars['profileLocalesEnabled'] && count ( $this->_tpl_vars['availableLocales'] ) > 1): ?>
  119. <tr valign="top">
  120. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "user.workingLanguages"), $this);?>
  121. </td>
  122. <td><?php $_from = $this->_tpl_vars['availableLocales']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  123. foreach ($_from as $this->_tpl_vars['localeKey'] => $this->_tpl_vars['localeName']):
  124. ?>
  125. <input type="checkbox" name="userLocales[]" id="userLocales-<?php echo $this->_tpl_vars['localeKey']; ?>
  126. " value="<?php echo $this->_tpl_vars['localeKey']; ?>
  127. "<?php if ($this->_tpl_vars['userLocales'] && in_array ( $this->_tpl_vars['localeKey'] , $this->_tpl_vars['userLocales'] )): ?> checked="checked"<?php endif; ?> /> <label for="userLocales-<?php echo $this->_tpl_vars['localeKey']; ?>
  128. "><?php echo $this->_tpl_vars['localeName']; ?>
  129. </label><br />
  130. <?php endforeach; endif; unset($_from); ?></td>
  131. </tr>
  132. <?php endif; ?>
  133. </table>
  134. <p><input type="submit" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.save"), $this);?>
  135. " class="button defaultButton" /> <input type="button" value="<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.cancel"), $this);?>
  136. " class="button" onclick="document.location.href='<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('path' => $this->_tpl_vars['articleId'],'escape' => false), $this);?>
  137. '" /></p>
  138. <p><span class="formRequired"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.requiredField"), $this);?>
  139. </span></p>
  140. </form>
  141. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  142. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  143. $this->_tpl_vars = $_smarty_tpl_vars;
  144. unset($_smarty_tpl_vars);
  145. ?>