title of preview button incorrect, fix ability to upload to webpages
This commit is contained in:
@@ -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' => '',
|
||||
|
||||
Reference in New Issue
Block a user