title of preview button incorrect, fix ability to upload to webpages

This commit is contained in:
friendica
2015-03-30 19:41:42 -07:00
parent cff7696e98
commit d3c064cc34
4 changed files with 7 additions and 4 deletions

View File

@@ -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' => '',