3 <body onload="on_load()">
 
   5  <script type="text/javascript">
 
   8         Calendar.setup({ inputField : "date_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "date_from_trigger" });
 
   9         Calendar.setup({ inputField : "date_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "date_to_trigger" });
 
  10         document.Form.subject.focus();
 
  15  <div class="listtop">[% title %]</div>
 
  17  <form action="letter.pl" method="post" name="Form">
 
  18   <input type="hidden" name="nextsub" value="report">
 
  23      <th align='right'>[% 'Letternumber' | $T8 %]</th>
 
  24      <td><input name='letternumber' style='width:250px' value='[% letternumber %]'></th>
 
  27      <td align="right">[% 'Customer' | $T8 %]</td>
 
  29         [%- INCLUDE 'generic/multibox.html'
 
  31              style         = 'width:250px',
 
  36              limit         = myconfig_vclimit,
 
  39              force_textbox = limit_exceeded_all_customer
 
  40              onChange      = "document.getElementById('update_button').click();" -%]
 
  41 [%- IF myconfig_vclimit > ALL_CUSTOMERS.size %]
 
  42        <input type="hidden" name='selectcustomer' value="1">
 
  48      <td align="right">[% 'Contact' | $T8 %]</td>
 
  49      <td><input name="contact" style='width:250px'></td>
 
  53      <td align="right">[% 'Subject' | $T8 %]</td>
 
  54      <td><input name="subject" style='width:250px'></td>
 
  58      <td align="right">[% 'Body' | $T8 %]</td>
 
  59      <td><input name="body" style='width:250px'></td>
 
  63      <td align='right'>[% 'From' | $T8 %]</td>
 
  65       <input name="date_from" id="date_from" size="12">
 
  66       <input type="button" name="date_from_button" id="date_from_trigger" value="?">
 
  67       [% 'To (time)' | $T8 %]
 
  68       <input name="date_to" id="date_to" size="12">
 
  69       <input type="button" name="date_to_button" id="date_to_trigger" value="?">
 
  74      <td align="right">[% 'Include in Report' | $T8 %]</td>
 
  87    <input type="submit" name="action" value="[% 'Continue' | $T8 %]">