aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-31 13:59:43 +0200
committerMario Vavti <mario@mariovavti.com>2017-03-31 13:59:43 +0200
commitd9ee8b2c32d3a5561c343bae23dc46820b02fa21 (patch)
tree97d40446380b78aa2024bd6c4123c9a278052a92 /view/tpl
parent614366e499eb5735673ebceb6814440f66968826 (diff)
parent89e3f3210f5d8ddd49386a5c16320c4d2b909906 (diff)
downloadvolse-hubzilla-d9ee8b2c32d3a5561c343bae23dc46820b02fa21.tar.gz
volse-hubzilla-d9ee8b2c32d3a5561c343bae23dc46820b02fa21.tar.bz2
volse-hubzilla-d9ee8b2c32d3a5561c343bae23dc46820b02fa21.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/channel_import.tpl5
-rwxr-xr-xview/tpl/item_import.tpl4
2 files changed, 2 insertions, 7 deletions
diff --git a/view/tpl/channel_import.tpl b/view/tpl/channel_import.tpl
index 2028d6181..baffe9b06 100755
--- a/view/tpl/channel_import.tpl
+++ b/view/tpl/channel_import.tpl
@@ -1,7 +1,7 @@
<h2>{{$title}}</h2>
<form action="import" method="post" enctype="multipart/form-data" id="import-channel-form">
-
+ <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<div id="import-desc" class="descriptive-paragraph">{{$desc}}</div>
<label for="import-filename" id="label-import-filename" class="import-label" >{{$label_filename}}</label>
@@ -40,7 +40,4 @@
<div id="import-submit-end" class="import-field-end"></div>
<div id="import-common-desc" class="descriptive-paragraph">{{$pleasewait}}</div>
-
-
</form>
-
diff --git a/view/tpl/item_import.tpl b/view/tpl/item_import.tpl
index 65de7fcaf..e976417e1 100755
--- a/view/tpl/item_import.tpl
+++ b/view/tpl/item_import.tpl
@@ -1,7 +1,7 @@
<h2>{{$title}}</h2>
<form action="import_items" method="post" enctype="multipart/form-data" id="import-channel-form">
-
+ <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<div id="import-desc" class="descriptive-paragraph">{{$desc}}</div>
<label for="import-filename" id="label-import-filename" class="import-label" >{{$label_filename}}</label>
@@ -10,6 +10,4 @@
<input type="submit" name="submit" id="import-submit-button" value="{{$submit}}" />
<div id="import-submit-end" class="import-field-end"></div>
-
</form>
-