diff options
| author | czaks <marcin@6irc.net> | 2013-08-09 17:36:07 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-09 17:36:07 -0400 |
| commit | ef4cf16a7321d6ba6b36830c9d442e1cb4c74ac2 (patch) | |
| tree | 588d210c52d7525bce15b8e89149b22c3ce7dd2d | |
| parent | 890718f89f1adb39bf9bbbb3e10208f166f60908 (diff) | |
fix submit button not showing when topic disabled (after merge)
| -rw-r--r-- | templates/post_form.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index d7f5cadb..92aa325a 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -35,6 +35,10 @@ <input type="text" name="email" size="25" maxlength="40" autocomplete="off"> {% endif %} {{ antibot.html() }} + {% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %} + <input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />{% if config.spoiler_images %} <input id="spoiler" name="spoiler" type="checkbox"> <label for="spoiler">{% trans %}Spoiler Image{% endtrans %}</label> {% endif %} + {% endif %} + {{ antibot.html() }} </td> </tr>{% endif %} {% if not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr> |
