aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
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 /Zotlabs/Lib/ThreadItem.php
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 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 9ee16480a..a705e3c2b 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -735,6 +735,7 @@ class ThreadItem {
'$edquote' => t('Quote'),
'$edcode' => t('Code'),
'$edimg' => t('Image'),
+ '$edatt' => t('Attach File'),
'$edurl' => t('Insert Link'),
'$edvideo' => t('Video'),
'$preview' => t('Preview'), // ((feature_enabled($conv->get_profile_owner(),'preview')) ? t('Preview') : ''),