summaryrefslogtreecommitdiff
path: root/UI/rp-email.html
blob: 2dc5e61d060e1028170cfa16251bc3ad9a0f535f (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 height="5"><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. value => 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. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td><hr size="3" noshade="noshade" /></td>
  61. </tr>
  62. </table>
  63. <?lsmb FOREACH hidden IN hiddens.keys;
  64. PROCESS input element_data={
  65. type => 'hidden',
  66. name => hidden,
  67. value => hiddens.item(hidden)
  68. }; END ?>
  69. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  70. </form>
  71. </body>
  72. </html>