Bug 180692 - enter_bug shows keywords option even if keywords are disabled

r=bbaetz, a=justdave


git-svn-id: svn://10.0.0.236/trunk@138626 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
burnus%gmx.de 2003-02-27 21:13:30 +00:00
parent 8131544124
commit 2685032ca4
2 changed files with 14 additions and 10 deletions

View File

@ -356,6 +356,8 @@ $vars->{'group'} = \@groups;
$vars->{'default'} = \%default;
$vars->{'use_keywords'} = 1 if (@::legal_keywords);
my $format =
GetFormat("bug/create/create", $::FORM{'format'}, $::FORM{'ctype'});

View File

@ -193,16 +193,18 @@
</tr>
[% IF UserInGroup('editbugs') %]
<tr>
<td align="right" valign="top">
<strong>
<a href="describekeywords.cgi">Keywords</a>:
</strong>
</td>
<td colspan="3">
<input name="keywords" size="60" value=""> (optional)
</td>
</tr>
[% IF use_keywords %]
<tr>
<td align="right" valign="top">
<strong>
<a href="describekeywords.cgi">Keywords</a>:
</strong>
</td>
<td colspan="3">
<input name="keywords" size="60" value=""> (optional)
</td>
</tr>
[% END %]
<tr>
<td align="right">
<strong>Depends on:</strong>