6  <script type="text/javascript">
 
   7    $(function(){ document.Form.subject.focus(); });
 
  10  <form action="fu.pl" method="post" name="Form" id="form">
 
  12   [%- IF SAVED_MESSAGE %]
 
  13   <p>[% SAVED_MESSAGE %]</p>
 
  16   <input type="hidden" name="id" value="[% HTML.escape(id) %]">
 
  17   <input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
 
  18   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
 
  19   <input type="hidden" name="POPUP_MODE" value="[% HTML.escape(POPUP_MODE) %]">
 
  24      <td valign="top">[% 'Follow-Up for user' | $T8 %]</td>
 
  26       <select name="created_for_user">
 
  27        [%- FOREACH row = EMPLOYEES %]
 
  28        <option value="[% HTML.escape(row.id) %]"[% IF created_for_user == row.id %] selected[% END %]>
 
  29         [%- IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
 
  37      <td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
 
  39        [% L.date_tag('follow_up_date', follow_up_date) %]
 
  43      <td valign="right">[% 'Subject' | $T8 %]</td>
 
  44      <td><input name="subject" value="[% HTML.escape(subject) %]" size="50"></td>
 
  48      <td valign="right" align="top">[% 'Body' | $T8 %]</td>
 
  49      <td align="top"><textarea cols="50" rows="10" name="body">[% HTML.escape(body) %]</textarea></td>
 
  56    <input type="hidden" name="action" value="dispatcher">
 
  57    <input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
 
  59    <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
 
  60    <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
 
  62    <input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
 
  65   [%- IF FOLLOW_UPS.size %]
 
  66   <hr height="3" noshade>
 
  68   <h2>[% 'Existing pending follow-ups for this item' | $T8 %]</h2>
 
  73      <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
 
  74      <th class="listheading">[% 'Subject' | $T8 %]</th>
 
  75      <th class="listheading">[% 'Created by' | $T8 %]</th>
 
  76      <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
 
  79     [%- FOREACH row = FOLLOW_UPS %]
 
  80     <tr class="listrow[% loop.count % 2 %]">
 
  81      <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
 
  82      <td valign="top"><a href="fu.pl?action=edit&id=[% HTML.escape(row.id) %][% IF POPUP_MODE %]&POPUP_MODE=1[% END %]">[% HTML.escape(row.subject) %]</a></td>
 
  83      <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
 
  84      <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
 
  92   [%- FOREACH row = LINKS %]
 
  93   <input type="hidden" name="trans_id_[% loop.count %]"   value="[% HTML.escape(row.trans_id) %]">
 
  94   <input type="hidden" name="trans_type_[% loop.count %]" value="[% HTML.escape(row.trans_type) %]">
 
  95   <input type="hidden" name="trans_info_[% loop.count %]" value="[% HTML.escape(row.trans_info) %]">
 
  98   <input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">