2011-11-23 11:18:06 +01:00
< form name = "post" onsubmit = "return dopost(this);" enctype = "multipart/form-data" action = "{{ config.post_url }}" method = "post" >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2012-04-12 09:20:49 +02:00
{% if id %}< input type = "hidden" name = "thread" value = "{{ id }}" > {% endif %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2012-04-12 09:20:49 +02:00
< input type = "hidden" name = "board" value = "{{ board.uri }}" >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2013-08-03 23:42:34 +02:00
{% if current_page %}
< input type = "hidden" name = "page" value = "{{ current_page }}" >
{% endif %}
2012-04-12 09:20:49 +02:00
{% if mod %}< input type = "hidden" name = "mod" value = "1" > {% endif %}
2011-11-23 11:18:06 +01:00
< table >
2012-02-17 06:20:58 +01:00
{% if not config.field_disable_name or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}< tr >
2011-11-23 11:18:06 +01:00
< th >
{% trans %}Name{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
2012-08-26 19:06:21 +02:00
< input type = "text" name = "name" size = "25" maxlength = "35" autocomplete = "off" >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / td >
2011-11-23 11:24:06 +01:00
< / tr > {% endif %}
2012-02-17 06:20:58 +01:00
{% if not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}< tr >
2011-11-23 11:18:06 +01:00
< th >
{% trans %}Email{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
2013-08-08 21:30:05 +02:00
{% if config.field_email_selectbox %}
< select name = "email" id = "email_selectbox" autocomplete = "off" >
< option value = "" > < / option >
< option value = "sage" > sage< / option >
< option value = "noko" > noko< / option >
< / select >
{% else %}
2012-04-12 09:20:49 +02:00
< input type = "text" name = "email" size = "25" maxlength = "40" autocomplete = "off" >
2013-07-03 00:05:18 +02:00
{% endif %}
2013-08-08 21:30:05 +02:00
{{ antibot.html() }}
2013-08-09 23:36:07 +02:00
{% 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() }}
2011-11-23 11:18:06 +01:00
< / td >
2011-11-23 11:24:06 +01:00
< / tr > {% endif %}
2013-07-03 00:05:18 +02:00
{% 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 >
< th >
2011-11-23 11:18:06 +01:00
{% trans %}Subject{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
2012-04-12 09:20:49 +02:00
< 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 %}" / > {% if config.spoiler_images %} < input id = "spoiler" name = "spoiler" type = "checkbox" > < label for = "spoiler" > {% trans %}Spoiler Image{% endtrans %}< / label > {% endif %}
2011-11-23 11:18:06 +01:00
< / td >
< / tr >
2013-07-03 00:05:18 +02:00
{% endif %}
2011-11-23 11:18:06 +01:00
< tr >
< th >
{% trans %}Comment{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
< textarea name = "body" id = "body" rows = "5" cols = "35" > < / textarea >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2013-07-03 00:05:18 +02:00
{% 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 %}" / > {% if config.spoiler_images %} < input id = "spoiler" name = "spoiler" type = "checkbox" > < label for = "spoiler" > {% trans %}Spoiler Image{% endtrans %}< / label > {% endif %}
{% endif %}
{% endif %}
2011-11-23 11:18:06 +01:00
< / td >
< / tr >
{% if config.recaptcha %}
< tr >
< th >
{% trans %}Verification{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
2013-07-16 19:18:55 +02:00
< script type = "text/javascript" src = "//www.google.com/recaptcha/api/challenge?k={{ config.recaptcha_public }}" > < / script >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / td >
< / tr >
{% endif %}
< tr >
< th >
{% trans %}File{% endtrans %}
< / th >
< td >
2012-04-12 09:20:49 +02:00
< input type = "file" name = "file" >
2013-08-12 14:51:46 +02:00
{% if config.allow_upload_by_url %}
< br >
< div style = "float:none;text-align:left" >
< label for = "file_url" > {% trans %}Or URL{% endtrans %}< / label > :
< input style = "display:inline" type = "text" id = "file_url" name = "file_url" size = "35" >
< / div >
{% endif %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / td >
< / tr >
2013-08-09 00:15:59 +02:00
{% if config.oekaki %}
< tr id = "oekaki" >
< th >
{% trans %}Oekaki{% endtrans %}
< / th >
< td >
< canvas width = "500" height = "250" id = "cvs" style = "border:1px solid black;-webkit-user-select: none;-moz-user-select: none;" > lol what you looking at the source for nerd< / canvas >
< p > < button type = "button" id = "brushsize" > Brush size< / button > < input class = "color" id = "color" value = "000000" placeholder = "Color" / > < button type = "button" id = "text" > Set text< / button > < button type = "button" id = "clear" > Clear< / button > < button type = "button" id = "save" > Save< / button > < button type = "button" id = "load" > Load< / button > < br / >
< button type = "button" id = "eraser" > Toggle eraser< / button > < button type = "button" id = "getcolor" > Get color< / button > < button type = "button" id = "fill" > Fill< / button >
< / p > < p > < textarea id = "savebox" > < / textarea > < label > < input id = "confirm_oekaki" type = "checkbox" / > Use oekaki instead of file?< / label > < / p >
< img id = "saved" style = "display:none" >
< / td >
< / tr >
{% endif %}
2011-11-23 11:18:06 +01:00
{% if config.enable_embedding %}
< tr >
< th >
{% trans %}Embed{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
2012-04-12 09:20:49 +02:00
< input type = "text" name = "embed" size = "30" maxlength = "120" autocomplete = "off" >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / td >
< / tr >
{% endif %}
2013-07-31 05:36:46 +02:00
{% if mod and ((not id and post.mod|hasPermission(config.mod.sticky, board.uri)) or (not id and post.mod|hasPermission(config.mod.lock, board.uri)) or post.mod|hasPermission(config.mod.rawhtml, board.uri)) %}
2011-11-23 11:18:06 +01:00
< tr >
< th >
{% trans %}Flags{% endtrans %}
< / th >
< td >
2011-11-23 11:28:59 +01:00
{% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}< div >
2011-11-23 11:18:06 +01:00
< label for = "sticky" > {% trans %}Sticky{% endtrans %}< / label >
2012-04-12 09:20:49 +02:00
< input title = "{% trans %}Sticky{% endtrans %}" type = "checkbox" name = "sticky" id = "sticky" > < br >
2011-11-23 11:18:06 +01:00
< / div > {% endif %}
2011-11-23 11:28:59 +01:00
{% if not id and post.mod|hasPermission(config.mod.lock, board.uri) %}< div >
2012-04-12 09:20:49 +02:00
< label for = "lock" > {% trans %}Lock{% endtrans %}< / label > < br >
< input title = "{% trans %}Lock{% endtrans %}" type = "checkbox" name = "lock" id = "lock" >
2011-11-23 11:18:06 +01:00
< / div > {% endif %}
2011-11-23 11:28:59 +01:00
{% if post.mod|hasPermission(config.mod.rawhtml, board.uri) %}< div >
2012-04-12 09:20:49 +02:00
< label for = "raw" > {% trans %}Raw HTML{% endtrans %}< / label > < br >
< input title = "{% trans %}Raw HTML{% endtrans %}" type = "checkbox" name = "raw" id = "raw" >
2011-11-23 11:18:06 +01:00
< / div > {% endif %}
< / td >
< / tr >
{% endif %}
2012-02-17 06:20:58 +01:00
{% if not config.field_disable_password or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}< tr >
2011-11-23 11:18:06 +01:00
< th >
{% trans %}Password{% endtrans %}
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / th >
< td >
2012-04-12 09:20:49 +02:00
< input type = "password" name = "password" size = "12" maxlength = "18" autocomplete = "off" >
2011-11-23 11:18:06 +01:00
< span class = "unimportant" > {% trans %}(For file deletion.){% endtrans %}< / span >
2012-04-12 13:56:01 +02:00
{{ antibot.html() }}
2011-11-23 11:18:06 +01:00
< / td >
2011-11-23 11:24:06 +01:00
< / tr > {% endif %}
2011-11-23 11:18:06 +01:00
< / table >
2012-04-12 13:56:01 +02:00
{{ antibot.html(true) }}
< input type = "hidden" name = "hash" value = "{{ antibot.hash() }}" >
2011-11-23 11:18:06 +01:00
< / form >
< script type = "text/javascript" > { % r a w % }
rememberStuff();
{% endraw %}< / script >