diff options
author | friendica <info@friendica.com> | 2012-11-08 23:04:34 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-08 23:04:34 -0800 |
commit | 517c05700d67eeec8945dbcec3a99d19a9f1f71c (patch) | |
tree | 488859cbb7c392f57edc8bb98b42a03a94c4e803 /include | |
parent | 22841e15666a6678517cf7a1f8f8791dcd37e1a6 (diff) | |
download | volse-hubzilla-517c05700d67eeec8945dbcec3a99d19a9f1f71c.tar.gz volse-hubzilla-517c05700d67eeec8945dbcec3a99d19a9f1f71c.tar.bz2 volse-hubzilla-517c05700d67eeec8945dbcec3a99d19a9f1f71c.zip |
turn star into a feature
Diffstat (limited to 'include')
-rw-r--r-- | include/ItemObject.php | 2 | ||||
-rw-r--r-- | include/features.php | 25 |
2 files changed, 14 insertions, 13 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php index 2147b00b9..b91145906 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -256,7 +256,7 @@ class Item extends BaseObject { 'share' => $share, 'plink' => get_plink($item), 'edpost' => ((feature_enabled($conv->get_profile_owner(),'edit_posts')) ? $edpost : ''), - 'star' => $star, + '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 : ''), 'drop' => $drop, diff --git a/include/features.php b/include/features.php index 5711c22b6..2767f51e9 100644 --- a/include/features.php +++ b/include/features.php @@ -16,18 +16,19 @@ function get_features() { $arr = array( -array('multi_delete', t('Multiple Deletion'), t('Select and delete multiple posts/comments at once')), -array('expire', t('Content Expiration'), t('Remove old posts/comments after a period of time')), -array('commtag', t('Community Tagging'), t('Tag existing posts and share the links')), -array('categories', t('Post Categories'), t('Add categories to your channel postings')), -array('filing', t('Saved Folders'), t('Ability to file posts under easily remembered names')), -array('archives', t('Search by Date'), t('Select posts by date ranges')), -array('dislike', t('Dislike Posts'), t('Ability to dislike posts/comments')), -array('savedsearch', t('Saved Searches'), t('Save search terms for re-use')), -array('preview', t('Post Preview'), t('Preview posts and comments before publishing them')), -array('edit_posts', t('Edit Sent Posts'), t('Edit and correct posts and comments after sending')), -array('richtext', t('Richtext Editor'), t('Use richtext/visual editor where applicable')), -array('multi_profiles', t('Multiple Profiles'), t('Show different profiles to different connections/collections')), +array('multi_delete', t('Multiple Deletion'), t('Select and delete multiple posts/comments at once')), +array('expire', t('Content Expiration'), t('Remove old posts/comments after a period of time')), +array('commtag', t('Community Tagging'), t('Tag existing posts and share the links')), +array('categories', t('Post Categories'), t('Add categories to your channel postings')), +array('filing', t('Saved Folders'), t('Ability to file posts under easily remembered names')), +array('archives', t('Search by Date'), t('Select posts by date ranges')), +array('dislike', t('Dislike Posts'), t('Ability to dislike posts/comments')), +array('savedsearch', t('Saved Searches'), t('Save search terms for re-use')), +array('preview', t('Post Preview'), t('Preview posts and comments before publishing them')), +array('edit_posts', t('Edit Sent Posts'), t('Edit and correct posts and comments after sending')), +array('star_posts', t('Star Posts'), t('Ability to mark special posts with a star indicator')), +array('richtext', t('Richtext Editor'), t('Use richtext/visual editor where applicable')), +array('multi_profiles', t('Multiple Profiles'), t('Show different profiles to different connections/collections')), ); call_hooks('get_features',$arr); |