aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-16 14:28:07 -0800
committerfriendica <info@friendica.com>2014-12-16 14:28:07 -0800
commit5b492110354f8cd647f03999de56f9f1643bcfd6 (patch)
tree1e6d0673db3c3a923d4bbbbea318049558bb1a94 /include/ItemObject.php
parent7bee4e5997804658f508a32d07ca4143d8afe629 (diff)
downloadvolse-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.php4
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'),