4 <script type="text/javascript">
5 $(function(){ document.Form.subject.focus(); });
8 <form action="fu.pl" method="post" name="Form">
10 [%- IF SAVED_MESSAGE %]
11 <p>[% SAVED_MESSAGE %]</p>
14 <div class="listtop">[% title %]</div>
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>
55 <input type="hidden" name="action" value="dispatcher">
56 <input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
58 <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
59 <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
62 <input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
67 [%- IF FOLLOW_UPS.size %]
68 <hr height="3" noshade>
70 <div class="listtop">[% 'Existing pending follow-ups for this item' | $T8 %]</div>
75 <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
76 <th class="listheading">[% 'Subject' | $T8 %]</th>
77 <th class="listheading">[% 'Created by' | $T8 %]</th>
78 <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
81 [%- FOREACH row = FOLLOW_UPS %]
82 <tr class="listrow[% loop.count % 2 %]">
83 <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
84 <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>
85 <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
86 <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
94 [%- FOREACH row = LINKS %]
95 <input type="hidden" name="trans_id_[% loop.count %]" value="[% HTML.escape(row.trans_id) %]">
96 <input type="hidden" name="trans_type_[% loop.count %]" value="[% HTML.escape(row.trans_type) %]">
97 <input type="hidden" name="trans_info_[% loop.count %]" value="[% HTML.escape(row.trans_info) %]">
100 <input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">