Adding support for multiple file upload using URLs, previously only one URL was supported. Also removes duplicate slack reporting merge.

This commit is contained in:
Benjamin Southall 2017-03-20 20:19:03 +09:00
parent 5ee7954f95
commit 47273d6887
2 changed files with 21 additions and 41 deletions

View file

@ -121,7 +121,10 @@
{% if config.allow_upload_by_url %}
<div style="float:none;text-align:left" id="upload_url">
<label for="file_url">{% trans %}Or URL{% endtrans %}</label>:
<input style="display:inline" type="text" id="file_url" name="file_url" size="35">
{% for counter in 1..config.max_images %}
<input style="display:inline" type="text" id="file_url{{ counter }}" name="file_url{{ counter }}" size="35">
</br>
{% endfor %}
</div>
{% endif %}
{{ antibot.html() }}