fix label of preview button

This commit is contained in:
marijus 2014-12-17 10:01:22 +01:00
parent dfb15e4a7b
commit e1999ada58
2 changed files with 2 additions and 2 deletions

View File

@ -635,7 +635,7 @@ class Item extends BaseObject {
'$edimg' => t('Image'),
'$edurl' => t('Link'),
'$edvideo' => t('Video'),
'$preview' => true, // ((feature_enabled($conv->get_profile_owner(),'preview')) ? t('Preview') : ''),
'$preview' => t('Preview'), // ((feature_enabled($conv->get_profile_owner(),'preview')) ? t('Preview') : ''),
'$indent' => $indent,
'$feature_encrypt' => ((feature_enabled($conv->get_profile_owner(),'content_encrypt')) ? true : false),
'$encrypt' => t('Encrypt text'),

View File

@ -1099,7 +1099,7 @@ function status_editor($a,$x,$popup=false) {
$jotplugins = '';
$jotnets = '';
$preview = true;
$preview = t('Preview');
// $preview = ((feature_enabled($x['profile_uid'],'preview')) ? t('Preview') : '');
if(x($x,'nopreview'))
$preview = '';