Commit 973bac6e authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 296887: Do not display the quip entry field when quip_list_entry_control is…

Bug 296887: Do not display the quip entry field when quip_list_entry_control is set to 'closed' - Patch by Alfred Karl Kornel <kornel.1@osu.edu> r=LpSolit a=myk
parent 9138d899
...@@ -57,22 +57,32 @@ ...@@ -57,22 +57,32 @@
<p>[% approved.size %] quips approved and [% unapproved.size %] quips unapproved</p> <p>[% approved.size %] quips approved and [% unapproved.size %] quips unapproved</p>
[% END %] [% END %]
<p> <p>
[% terms.Bugzilla %] will pick a random quip for the headline on each [% terms.bug %] list, and [% terms.Bugzilla %] will pick a random quip for the headline on each
you can extend the quip list. Type in something clever or funny or boring [% terms.bug %] list.
</p>
[% IF Param("quip_list_entry_control") != "closed" %]
<p>
You can extend the quip list. Type in something clever or funny or boring
(but not obscene or offensive, please) and bonk on the button. (but not obscene or offensive, please) and bonk on the button.
[% IF Param("quip_list_entry_control") == "moderated" AND !user.groups.admin %] [% IF Param("quip_list_entry_control") == "moderated" AND !user.groups.admin %]
Note that your quip has to be approved before it is used. Note that your quip has to be approved before it is used.
[% END %] [% END %]
</p> </p>
<form method="post" action="quips.cgi"> <form method="post" action="quips.cgi">
<input type="hidden" name="action" value="add"> <input type="hidden" name="action" value="add">
<input size="80" name="quip"> <input size="80" name="quip">
<p> <p>
<input type="submit" value="Add This Quip"> <input type="submit" value="Add This Quip">
</p> </p>
</form> </form>
[% ELSE %]
<p>No new entries may be submitted at this time.
</p>
[% END %]
[% IF show_quips %] [% IF show_quips %]
[% IF !UserInGroup('admin') %] [% IF !UserInGroup('admin') %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment