You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {literal}
  2. <script language="JavaScript" src="calendar.js" type="text/javascript"></script>
  3. {/literal}
  4. <div id="edit_form">
  5. <form name="edit-vacation" method="post" action=''>
  6. <input class="flat" type="hidden" name="token" value="{$smarty.session.PFA_token|escape:"url"}" />
  7. <table>
  8. <tr>
  9. <th colspan="3">{$PALANG.pUsersVacation_welcome}</th>
  10. </tr>
  11. {if !$authentication_has_role.user}
  12. <tr>
  13. <td class="label"><label>{$PALANG.pLogin_username}:</label></td>
  14. <td><em>{$tUseremail}</em></td>
  15. <td>&nbsp;</td>
  16. </tr>
  17. {/if}
  18. <tr>
  19. <td class="label"><label>{$PALANG.pUsersVacation_activefrom}:</label></td>
  20. <td><input class="flat readonly" name="fActiveFrom" value="{$tActiveFrom}" readonly="readonly" />
  21. {literal}
  22. <script language="JavaScript" type="text/javascript">
  23. new tcal ({
  24. 'formname': 'edit-vacation',
  25. 'controlname': 'fActiveFrom'
  26. });
  27. </script>
  28. {/literal}
  29. </td>
  30. <td>&nbsp;</td>
  31. </tr>
  32. <tr>
  33. <td class="label"><label>{$PALANG.pUsersVacation_activeuntil}:</label></td>
  34. <td><input class="flat readonly" name="fActiveUntil" value="{$tActiveUntil}" readonly="readonly" />
  35. {literal}
  36. <script language="JavaScript" type="text/javascript">
  37. new tcal ({
  38. 'formname': 'edit-vacation',
  39. 'controlname': 'fActiveUntil'
  40. });
  41. </script>
  42. {/literal}
  43. </td>
  44. <td>&nbsp;</td>
  45. </tr>
  46. <tr>
  47. <td class="label"><label>{$PALANG.pVacation_reply_type}:</label></td>
  48. <td>
  49. <select class="flat" name="fInterval_Time">
  50. {html_options options=$select_options selected=$tInterval_Time}
  51. </select>
  52. </td>
  53. <td>&nbsp;</td>
  54. </tr>
  55. <tr>
  56. <td class="label"><label>{$PALANG.subject}:</label></td>
  57. <td><textarea class="flat" rows="3" cols="60" name="fSubject" >{$tSubject}</textarea></td>
  58. <td>&nbsp;</td>
  59. </tr>
  60. <tr>
  61. <td class="label"><label>{$PALANG.message}:</label></td>
  62. <td><textarea class="flat" rows="10" cols="60" name="fBody" >{$tBody}</textarea></td>
  63. <td>&nbsp;</td>
  64. </tr>
  65. <tr>
  66. <td>&nbsp;</td>
  67. <td colspan="2">
  68. <input class="button" type="submit" name="fChange" value="{$PALANG.pEdit_vacation_set}" />
  69. <input class="button" type="submit" name="fBack" value="{$PALANG.pEdit_vacation_remove}" />
  70. <input class="button" type="submit" name="fCancel" value="{$PALANG.exit}" />
  71. </td>
  72. </tr>
  73. </table>
  74. </form>
  75. </div>