2 [% USE HTML %]<body onload="on_load();">
 
   4  <script type="text/javascript">
 
   7         Calendar.setup({ inputField : "follow_up_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_trigger" });
 
   8         document.Form.subject.focus();
 
  13  <form action="fu.pl" method="post" name="Form">
 
  15   [%- IF SAVED_MESSAGE %]
 
  16   <p>[% SAVED_MESSAGE %]</p>
 
  19   <div class="listtop">[% title %]</div>
 
  21   <input type="hidden" name="id" value="[% HTML.escape(id) %]">
 
  22   <input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
 
  23   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
 
  24   <input type="hidden" name="POPUP_MODE" value="[% HTML.escape(POPUP_MODE) %]">
 
  29      <td valign="top">[% 'Follow-Up for user' | $T8 %]</td>
 
  31       <select name="created_for_user">
 
  32        [%- FOREACH row = EMPLOYEES %]
 
  33        <option value="[% HTML.escape(row.id) %]"[% IF created_for_user == row.id %] selected[% END %]>
 
  34         [%- IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
 
  42      <td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
 
  44       <input name="follow_up_date" id="follow_up_date" value="[% HTML.escape(follow_up_date) %]" size="12">
 
  45       <input type="button" name="follow_up_date_button" id="follow_up_date_trigger" value="?">
 
  49      <td valign="right">[% 'Subject' | $T8 %]</td>
 
  50      <td><input name="subject" value="[% HTML.escape(subject) %]" size="50"></td>
 
  54      <td valign="right" align="top">[% 'Body' | $T8 %]</td>
 
  55      <td align="top"><textarea cols="50" rows="10" name="body">[% HTML.escape(body) %]</textarea></td>
 
  61    <input type="hidden" name="action" value="dispatcher">
 
  62    <input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
 
  64    <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
 
  65    <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
 
  68    <input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
 
  73   [%- IF FOLLOW_UPS.size %]
 
  74   <hr height="3" noshade>
 
  76   <div class="listtop">[% 'Existing pending follow-ups for this item' | $T8 %]</div>
 
  81      <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
 
  82      <th class="listheading">[% 'Subject' | $T8 %]</th>
 
  83      <th class="listheading">[% 'Created by' | $T8 %]</th>
 
  84      <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
 
  87     [%- FOREACH row = FOLLOW_UPS %]
 
  88     <tr class="listrow[% loop.count % 2 %]">
 
  89      <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
 
  90      <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>
 
  91      <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
 
  92      <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
 
 100   [%- FOREACH row = LINKS %]
 
 101   <input type="hidden" name="trans_id_[% loop.count %]"   value="[% HTML.escape(row.trans_id) %]">
 
 102   <input type="hidden" name="trans_type_[% loop.count %]" value="[% HTML.escape(row.trans_type) %]">
 
 103   <input type="hidden" name="trans_info_[% loop.count %]" value="[% HTML.escape(row.trans_info) %]">
 
 106   <input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">