4 <caption><h2>{% trans "Suspend user" %}</h2></caption>
7 <select name="bantype" id="bantype">
8 <option value="indefinitely">{% trans "Indefinitely" %}</option>
9 <option value="forxdays">{% trans "For X days" %}</option>
13 <tr id="forxdays" style="display: none">
15 {% trans "Suspend for" %}<input type="text" size="3" style="width: 30px; height: 1.2em; margin: 0 0.5em 0 0.5em; font-size: 1em;" name="forxdays" value="3" />{% trans "days" %}
20 <p><b>{% trans "Public message" %}:</b></p>
25 <textarea rows="3" name="publicmsg" cols="35"></textarea><br />
26 <small>{% trans "This message will be visible through the user activity log." %}</small>
31 <p><b>{% trans "Private message" %}:</b></p>
36 <textarea rows="3" name="privatemsg" cols="35"></textarea><br />
37 <small>{% trans "If set, only the suspended user will see this message." %}</small>
41 <script type="text/javascript">
42 $('#bantype').change(function() {
43 if ($(this).val() == 'forxdays') {
44 $('#forxdays').slideDown('fast');
46 $('#forxdays').slideUp('fast');