diff options
| author | Kashire <ashtonthecoder@gmail.com> | 2016-08-23 14:17:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-23 14:17:23 -0500 |
| commit | 60e849bad07255082cf6095d58e609f56f23c790 (patch) | |
| tree | 7c105584efca758d0c7b4b79a7e376e91fe23118 /templates/post_form.html | |
| parent | e4a6e62e9b184e7394902f38440171cb2a4fe4fb (diff) | |
Re-implimenting the spoiler button
potentially re-added the spoiler button.
Diffstat (limited to 'templates/post_form.html')
| -rw-r--r-- | templates/post_form.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index c7a94f8b..e6f201e6 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -52,6 +52,7 @@ <td> <input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off"> <input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" /> + <input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label> </td> </tr> {% endif %} @@ -66,6 +67,7 @@ {% 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))) %} {% if not (not config.field_disable_email 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 %}" /> + <input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label> <!-- General idea, but it might need those {% code %}--> {% endif %} {% endif %} </td> |
