aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editblock.php
diff options
context:
space:
mode:
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' => '',