forked from GithubBackups/vichan
Fix no country flag on post if forced anonymous
This commit is contained in:
parent
4e335db3e8
commit
39476e9bfa
@ -15,7 +15,7 @@
|
|||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="name" size="25" maxlength="35" autocomplete="off"> {% if config.allow_no_country and config.country_flags %}<input id="no_country" name="no_country" type="checkbox"> <label for="no_country">{% trans %}Don't show my flag{% endtrans %}</label>{% endif %}
|
<input type="text" name="name" size="25" maxlength="35" autocomplete="off">
|
||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
</td>
|
</td>
|
||||||
</tr>{% endif %}
|
</tr>{% endif %}
|
||||||
@ -144,12 +144,18 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% 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)) %}
|
{% 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))) or (config.allow_no_country and config.country_flags) %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
{% trans %}Flags{% endtrans %}
|
{% trans %}Flags{% endtrans %}
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
|
{% if config.allow_no_country and config.country_flags %}<div class="center">
|
||||||
|
<label for="no_country">{% trans %}No country flag{% endtrans %}</label>
|
||||||
|
<input title="No country flag" id="no_country" name="no_country" type="checkbox">
|
||||||
|
</div>{% endif %}
|
||||||
|
|
||||||
|
{% if mod %}
|
||||||
{% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}<div class="center">
|
{% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}<div class="center">
|
||||||
<label for="sticky">{% trans %}Sticky{% endtrans %}</label>
|
<label for="sticky">{% trans %}Sticky{% endtrans %}</label>
|
||||||
<input title="{% trans %}Sticky{% endtrans %}" type="checkbox" name="sticky" id="sticky"><br>
|
<input title="{% trans %}Sticky{% endtrans %}" type="checkbox" name="sticky" id="sticky"><br>
|
||||||
@ -162,6 +168,7 @@
|
|||||||
<label for="raw">{% trans %}Raw HTML{% endtrans %}</label><br>
|
<label for="raw">{% trans %}Raw HTML{% endtrans %}</label><br>
|
||||||
<input title="{% trans %}Raw HTML{% endtrans %}" type="checkbox" name="raw" id="raw">
|
<input title="{% trans %}Raw HTML{% endtrans %}" type="checkbox" name="raw" id="raw">
|
||||||
</div>{% endif %}
|
</div>{% endif %}
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user