diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-12 22:51:46 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-12 22:51:46 +1000 |
| commit | 0de0bc6ceb2c56256bf87724572055297dae76af (patch) | |
| tree | 56e44e86247aa5b18a4e82ca38af13c5dcab3c17 /templates/post_form.html | |
| parent | a7a93ece3d96acb24c589662f49d28675c83c913 (diff) | |
Optional: Allow uploading by URL
Diffstat (limited to 'templates/post_form.html')
| -rw-r--r-- | templates/post_form.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index 4d7a37b7..7c8894c1 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -73,6 +73,13 @@ </th> <td> <input type="file" name="file"> + {% 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 %} {{ antibot.html() }} </td> </tr> |
