3 [% USE HTML %]<body onload="on_load();">
5 <script type="text/javascript">
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 [% L.date_tag('follow_up_date', follow_up_date) %]
48 <td valign="right">[% 'Subject' | $T8 %]</td>
49 <td><input name="subject" value="[% HTML.escape(subject) %]" size="50"></td>
53 <td valign="right" align="top">[% 'Body' | $T8 %]</td>
54 <td align="top"><textarea cols="50" rows="10" name="body">[% HTML.escape(body) %]</textarea></td>
60 <input type="hidden" name="action" value="dispatcher">
61 <input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
63 <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
64 <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
67 <input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
72 [%- IF FOLLOW_UPS.size %]
73 <hr height="3" noshade>
75 <div class="listtop">[% 'Existing pending follow-ups for this item' | $T8 %]</div>
80 <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
81 <th class="listheading">[% 'Subject' | $T8 %]</th>
82 <th class="listheading">[% 'Created by' | $T8 %]</th>
83 <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
86 [%- FOREACH row = FOLLOW_UPS %]
87 <tr class="listrow[% loop.count % 2 %]">
88 <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
89 <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>
90 <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
91 <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
99 [%- FOREACH row = LINKS %]
100 <input type="hidden" name="trans_id_[% loop.count %]" value="[% HTML.escape(row.trans_id) %]">
101 <input type="hidden" name="trans_type_[% loop.count %]" value="[% HTML.escape(row.trans_type) %]">
102 <input type="hidden" name="trans_info_[% loop.count %]" value="[% HTML.escape(row.trans_info) %]">
105 <input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">