aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editblock.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-30 19:41:42 -0700
committerfriendica <info@friendica.com>2015-03-30 19:41:42 -0700
commitd3c064cc345ac66a0c3ce2c79d566740b090be8c (patch)
tree67d66b96d012df5ce4263d7a08e8a5e6f37f2a31 /mod/editblock.php
parentcff7696e984576718f48bd9fcdd2ecff0e7d7d73 (diff)
downloadvolse-hubzilla-d3c064cc345ac66a0c3ce2c79d566740b090be8c.tar.gz
volse-hubzilla-d3c064cc345ac66a0c3ce2c79d566740b090be8c.tar.bz2
volse-hubzilla-d3c064cc345ac66a0c3ce2c79d566740b090be8c.zip
title of preview button incorrect, fix ability to upload to webpages
Diffstat (limited to 'mod/editblock.php')
-rw-r--r--mod/editblock.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/editblock.php b/mod/editblock.php
index cacb5c27d..73be6a9f3 100644
--- a/mod/editblock.php
+++ b/mod/editblock.php
@@ -146,6 +146,7 @@ function editblock_content(&$a) {
'$underline' => t('Underline'),
'$quote' => t('Quote'),
'$code' => t('Code'),
+ '$writefiles' => (perm_is_allowed($owner, get_observer_hash(), 'post_photos') || perm_is_allowed($owner, get_observer_hash(), 'write_storage')),
'$upload' => t('Upload photo'),
'$attach' => t('Attach file'),
'$weblink' => t('Insert web link'),
@@ -175,7 +176,7 @@ function editblock_content(&$a) {
'$acl' => '',
'$bang' => '',
'$profile_uid' => (intval($channel['channel_id'])),
- '$preview' => true, // ((feature_enabled($uid,'preview')) ? t('Preview') : ''),
+ '$preview' => t('Preview'),
'$jotplugins' => $jotplugins,
'$sourceapp' => $itm[0]['app'],
'$defexpire' => '',