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) %]">
23 <td valign="top">[% 'Follow-Up for user' | $T8 %]</td>
25 <select name="created_for_user">
26 [%- FOREACH row = EMPLOYEES %]
27 <option value="[% HTML.escape(row.id) %]"[% IF created_for_user == row.id %] selected[% END %]>
28 [%- IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
36 <td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
38 [% L.date_tag('follow_up_date', follow_up_date) %]
42 <td valign="right">[% 'Subject' | $T8 %]</td>
43 <td><input name="subject" value="[% HTML.escape(subject) %]" size="50"></td>
47 <td valign="right" align="top">[% 'Body' | $T8 %]</td>
48 <td align="top"><textarea cols="50" rows="10" name="body">[% HTML.escape(body) %]</textarea></td>
54 <input type="hidden" name="action" value="dispatcher">
55 <input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
57 <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
58 <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
60 <input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
63 [%- IF FOLLOW_UPS_PENDING.size %]
64 <hr height="3" noshade>
66 <h2>[% 'Existing pending follow-ups for this item' | $T8 %]</h2>
70 <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
71 <th class="listheading">[% 'Subject' | $T8 %]</th>
72 <th class="listheading">[% 'Created by' | $T8 %]</th>
73 <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
76 [%- FOREACH row = FOLLOW_UPS_PENDING %]
77 <tr class="listrow[% loop.count % 2 %]">
78 <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
79 <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>
80 <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
81 <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
87 [%- IF FOLLOW_UPS_DONE.size %]
88 <hr height="3" noshade>
90 <h2>[% 'Existing finished follow-ups for this item' | $T8 %]</h2>
94 <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
95 <th class="listheading">[% 'Subject' | $T8 %]</th>
96 <th class="listheading">[% 'Created by' | $T8 %]</th>
97 <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
100 [%- FOREACH row = FOLLOW_UPS_DONE %]
101 <tr class="listrow[% loop.count % 2 %]">
102 <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
103 <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>
104 <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
105 <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
113 [%- FOREACH row = LINKS %]
114 <input type="hidden" name="trans_id_[% loop.count %]" value="[% HTML.escape(row.trans_id) %]">
115 <input type="hidden" name="trans_type_[% loop.count %]" value="[% HTML.escape(row.trans_type) %]">
116 <input type="hidden" name="trans_info_[% loop.count %]" value="[% HTML.escape(row.trans_info) %]">
119 <input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">