From d3c064cc345ac66a0c3ce2c79d566740b090be8c Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Mar 2015 19:41:42 -0700 Subject: title of preview button incorrect, fix ability to upload to webpages --- mod/editblock.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/editblock.php') 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' => '', -- cgit v1.2.3