<td colspan="4">
<table>
<tr>
+ [% Hook.process('before_selects_top') %]
[% IF Param('useclassification') %]
<td valign="top">
<table>
</table>
</td>
[% END %]
+ [% Hook.process('after_selects_top') %]
</tr>
</table>
</td>
[%# *** Comment URL Whiteboard Keywords *** %]
- [% FOREACH field = [
+ [% SET freetext_fields = [
{ name => "longdesc", description => "A <u>C</u>omment",
accesskey => 'c' },
{ name => "bug_file_loc", description => "The <u>U</u>RL",
accesskey => 'u' },
{ name => "status_whiteboard", description => "<u>W</u>hiteboard",
- accesskey => 'w' } ] %]
-
- [% UNLESS field.name == 'status_whiteboard' AND NOT Param('usestatuswhiteboard') %]
+ accesskey => 'w' }
+ ] %]
+
+ [% Hook.process('before_freetext_fields') %]
+ [% FOREACH field = freetext_fields %]
+ [% NEXT IF field.name == 'status_whiteboard'
+ AND NOT Param('usestatuswhiteboard')
+ %]
<tr>
<th align="right">
- <label for="[% field.name %]" accesskey="[% field.accesskey %]">[% field.description %]</label>:
+ <label for="[% field.name %]"
+ accesskey="[% field.accesskey %]">[% field.description %]</label>:
</th>
<td>
[% type = field.name _ "_type" %]
</td>
<td></td>
</tr>
- [% END %]
[% END %]
[% IF use_keywords %]
</td>
</tr>
[% END %]
+
+ [% Hook.process('after_freetext_fields') %]
</table>
<table>
<tr>
+ [% Hook.process('before_selects_bottom') %]
<td>
<table>
<tr>
</tr>
</table>
</td>
+ [% Hook.process('after_selects_bottom') %]
</tr>
</table>