summaryrefslogtreecommitdiff
path: root/UI/am-userconfig.html
blob: c6ca2fbc0ddb0a1120cfc4c6720f1841399be3bf (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><th class="listtop"><?lsmb form.title ?></th></tr>
  7. <tr>
  8. <td>
  9. <table width="100%">
  10. <tr valign="top">
  11. <td>
  12. <table>
  13. <tr>
  14. <th align="right"><?lsmb text('Name') ?></th>
  15. <td><input name="name" size="20" value="<?lsmb user.name ?>" /></td>
  16. </tr>
  17. <tr>
  18. <th align="right"><?lsmb text('E-mail') ?></th>
  19. <td><input name="email" size="35" value="<?lsmb user.email ?>" /></td>
  20. </tr>
  21. <tr valign="top">
  22. <th align="right"><?lsmb text('Signature') ?></th>
  23. <td><textarea name="signature" rows="3" cols="35"><?lsmb user.signature ?></textarea></td>
  24. </tr>
  25. <tr>
  26. <th align="right"><?lsmb text('Phone') ?></th>
  27. <td><input name="tel" size="14" value="<?lsmb user.tel ?>" /></td>
  28. </tr>
  29. <tr>
  30. <th align="right"><?lsmb text('Fax') ?></th>
  31. <td><input name="fax" size="14" value="<?lsmb user.fax ?>" /></td>
  32. </tr>
  33. <tr>
  34. <th align="right"><?lsmb text('Company') ?></th>
  35. <td><input name="company" size="35" value="<?lsmb user.company ?>" /></td>
  36. </tr>
  37. <tr valign="top">
  38. <th align="right"><?lsmb text('Address') ?></th>
  39. <td><textarea name="address" rows="4" cols="35"><?lsmb user.address ?></textarea></td>
  40. </tr>
  41. </table>
  42. </td>
  43. <td>
  44. <table>
  45. <tr>
  46. <th align="right"><?lsmb text('Password') ?></th>
  47. <td><input type="password" name="new_password" size="10" value="<?lsmb user.password ?>" /></td>
  48. </tr>
  49. <tr>
  50. <th align="right"><?lsmb text('Confirm') ?></th>
  51. <td><input type="password" name="confirm_password" size="10" /></td>
  52. </tr>
  53. <tr>
  54. <th align="right"><?lsmb text('Date Format') ?></th>
  55. <td><?lsmb PROCESS select element_data=selects.dateformat ?></td>
  56. </tr>
  57. <tr>
  58. <th align="right"><?lsmb text('Number Format') ?></th>
  59. <td><?lsmb PROCESS select element_data=selects.numberformat ?></td>
  60. </tr>
  61. <tr>
  62. <th align="right"><?lsmb text('Dropdown Limit') ?></th>
  63. <td><input name="vclimit" size="10" value="<?lsmb user.vclimit ?>" /></td>
  64. </tr>
  65. <tr>
  66. <th align="right"><?lsmb text('Menu Width') ?></th>
  67. <td><input name="menuwidth" size="10" value="<?lsmb user.menuwidth ?>" /></td>
  68. </tr>
  69. <tr>
  70. <th align="right"><?lsmb text('Language') ?></th>
  71. <td><?lsmb PROCESS select element_data=selects.countrycode?></td>
  72. </tr>
  73. <tr>
  74. <th align="right"><?lsmb text('Session Timeout') ?></th>
  75. <td><input name="timeout" size="10" value="<?lsmb user.timeout ?>" /></td>
  76. </tr>
  77. <tr>
  78. <th align="right"><?lsmb text('Stylesheet') ?></th>
  79. <td><?lsmb PROCESS select element_data=selects.stylesheet?></td>
  80. </tr>
  81. <?lsmb IF selects.printer.defined ?>
  82. <tr>
  83. <th align="right"><?lsmb text('Printer') ?></th>
  84. <td><?lsmb PROCESS select element_data=selects.printer?></td>
  85. </tr>
  86. <?lsmb END ?>
  87. </table>
  88. </td>
  89. </tr>
  90. </table>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td><hr size="3" noshade="noshade" /></td>
  95. </tr>
  96. </table>
  97. <?lsmb FOREACH hidden IN hiddens.keys;
  98. PROCESS input element_data={
  99. type => 'hidden',
  100. name => hidden,
  101. value => hiddens.item(hidden)
  102. }; END ?>
  103. <button type="submit" class="submit" name="action" value="save_preferences"><?lsmb text('Save') ?></button>
  104. </form>
  105. </body>
  106. </html>