summaryrefslogtreecommitdiff
path: root/UI/rp-email.html
blob: 731b388337fa47f06066dd50265fd92af835a86d (plain)
  1. <?lsmb INCLUDE 'ui-header.html' ?>
  2. <?lsmb PROCESS elements.html ?>
  3. <body>
  4. <form method="post" action="<?lsmb form.script ?>">
  5. <table width="100%">
  6. <tr class="listtop">
  7. <th><?lsmb text('E-mail Statement to [_1]', form.${form.ct}) ?></th>
  8. </tr>
  9. <tr><td> </td></tr>
  10. <tr>
  11. <td>
  12. <table width="100%">
  13. <tr>
  14. <th align="right" nowrap="nowrap"><?lsmb text('E-mail') ?></th>
  15. <td><?lsmb PROCESS input element_data={name => 'email', size=> '30', value => form.email} ?></td>
  16. <th align="right" nowrap="nowrap"><?lsmb text('Cc') ?></th>
  17. <td><?lsmb PROCESS input element_data={name => 'cc', size=> '30', value => form.cc} ?></td>
  18. </tr>
  19. <tr>
  20. <th align="right" nowrap="nowrap"><?lsmb text('Subject') ?></th>
  21. <td><?lsmb PROCESS input element_data={name => 'subject', size=> '30', value => form.subject} ?></td>
  22. <?lsmb IF user.role == 'admin' OR user.role == 'manager' ?>
  23. <th align="right" nowrap="nowrap"><?lsmb text('Bcc') ?></th>
  24. <td><?lsmb PROCESS input element_data={name => 'bcc', size=> '30', value => form.bcc} ?></td><?lsmb
  25. ELSE ?><th> </th><td> </td><?lsmb
  26. END ?>
  27. </tr>
  28. </table>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td>
  33. <table width="100%">
  34. <tr>
  35. <th align="left" nowrap="nowrap"><?lsmb text('Message') ?></th>
  36. </tr>
  37. <tr>
  38. <td><?lsmb PROCESS textarea element_data={
  39. name =>'message',
  40. text => form.message,
  41. rows => '15',
  42. cols => '60',
  43. wrap => 'soft'} ?></td>
  44. </tr>
  45. </table>
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>
  50. <table>
  51. <tr>
  52. <td><?lsmb PROCESS select element_data=form.print.template ?></td>
  53. <td><?lsmb PROCESS select element_data=form.print.format ?></td>
  54. <td><?lsmb PROCESS select element_data=form.print.medium ?></td>
  55. <td><div style="width: 15em"><?lsmb PROCESS input element_data={
  56. name => 'read_receipt',
  57. type => 'checkbox',
  58. value => '1',
  59. label => text('Request read receipt'),
  60. } ?></div></td>
  61. </tr>
  62. </table>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td><hr size="3" noshade="noshade" /></td>
  67. </tr>
  68. </table>
  69. <?lsmb FOREACH hidden IN hiddens.keys;
  70. PROCESS input element_data={
  71. type => 'hidden',
  72. name => hidden,
  73. value => hiddens.item(hidden)
  74. }; END ?>
  75. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  76. </form>
  77. </body>
  78. </html>