diff options
author | friendica <info@friendica.com> | 2014-12-16 14:28:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-12-16 14:28:07 -0800 |
commit | 5b492110354f8cd647f03999de56f9f1643bcfd6 (patch) | |
tree | 1e6d0673db3c3a923d4bbbbea318049558bb1a94 /include/ItemObject.php | |
parent | 7bee4e5997804658f508a32d07ca4143d8afe629 (diff) | |
download | volse-hubzilla-5b492110354f8cd647f03999de56f9f1643bcfd6.tar.gz volse-hubzilla-5b492110354f8cd647f03999de56f9f1643bcfd6.tar.bz2 volse-hubzilla-5b492110354f8cd647f03999de56f9f1643bcfd6.zip |
edit and preview removed from additional features and turned into core functionality (always enabled).
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r-- | include/ItemObject.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php index 6f177b606..68d037722 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -292,7 +292,7 @@ class Item extends BaseObject { 'share' => $share, 'rawmid' => $item['mid'], 'plink' => get_plink($item), - 'edpost' => ((feature_enabled($conv->get_profile_owner(),'edit_posts')) ? $edpost : ''), + 'edpost' => true, // ((feature_enabled($conv->get_profile_owner(),'edit_posts')) ? $edpost : ''), 'star' => ((feature_enabled($conv->get_profile_owner(),'star_posts')) ? $star : ''), 'tagger' => ((feature_enabled($conv->get_profile_owner(),'commtag')) ? $tagger : ''), 'filer' => ((feature_enabled($conv->get_profile_owner(),'filing')) ? $filer : ''), @@ -635,7 +635,7 @@ class Item extends BaseObject { '$edimg' => t('Image'), '$edurl' => t('Link'), '$edvideo' => t('Video'), - '$preview' => ((feature_enabled($conv->get_profile_owner(),'preview')) ? t('Preview') : ''), + '$preview' => true, // ((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'), |