aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-08 22:55:47 -0700
committerzotlabs <mike@macgirvin.com>2017-08-08 22:55:47 -0700
commitca11d7b9a76c41c7cea0dbec1befacb0ff182de2 (patch)
treeb341eae028b38707e2282ebd29632eaf74c8066c /view/tpl/jot.tpl
parenta7a73a5150e8da202b1ea84408434e284f4ceda2 (diff)
downloadvolse-hubzilla-ca11d7b9a76c41c7cea0dbec1befacb0ff182de2.tar.gz
volse-hubzilla-ca11d7b9a76c41c7cea0dbec1befacb0ff182de2.tar.bz2
volse-hubzilla-ca11d7b9a76c41c7cea0dbec1befacb0ff182de2.zip
support upload of files and attachments into comments. This has some repercussions when it comes to post permissions since the commenter will not know the distribution of the post. Basically the files will be uploaded with the commenter's default ACL. Most of the time this will do the right thing.
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index cf99ede42..39ba9e59b 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -1,4 +1,5 @@
<input id="invisible-wall-file-upload" type="file" name="files" style="visibility:hidden;position:absolute;top:-50;left:-50;width:0;height:0;" multiple>
+<input id="invisible-comment-upload" type="file" name="files" style="visibility:hidden;position:absolute;top:-50;left:-50;width:0;height:0;" multiple>
<form id="profile-jot-form" action="{{$action}}" method="post" class="acl-form" data-form_id="profile-jot-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
{{$mimeselect}}
{{$layoutselect}}