aboutsummaryrefslogtreecommitdiffstats
path: root/include/features.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/features.php')
-rw-r--r--include/features.php75
1 files changed, 21 insertions, 54 deletions
diff --git a/include/features.php b/include/features.php
index 46f19fc50..5584ba3e4 100644
--- a/include/features.php
+++ b/include/features.php
@@ -71,34 +71,36 @@ function get_features($filtered = true, $level = (-1)) {
$arr = [
- 'access_control' => [
- t('Access Control and Permissions'),
+ 'calendar' => [
- [
- 'permcats',
- t('Permission Categories'),
- t('Create custom connection permission limits'),
- false,
- get_config('feature_lock','permcats'),
- feature_level('permcats',2),
- ],
+ t('CalDAV'),
[
- 'access_tokens',
- t('Access Tokens'),
- t('Create access tokens so that non-members can access private content.'),
+ 'cal_first_day',
+ t('Start calendar week on Monday'),
+ t('Default is Sunday'),
false,
- get_config('feature_lock','access_tokens'),
- feature_level('access_tokens',2),
- ],
+ get_config('feature_lock','cal_first_day')
+ ]
],
+ 'connections' => [
- // Item tools
- 'tools' => [
+ t('Connections'),
- t('Post/Comment Tools'),
+ [
+ 'connfilter',
+ t('Connection Filtering'),
+ t('Filter incoming posts from connections based on keywords/content'),
+ false,
+ get_config('feature_lock','connfilter')
+ ]
+ ],
+
+ 'conversation' => [
+
+ t('Conversation'),
[
'commtag',
@@ -106,7 +108,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Ability to tag existing posts'),
false,
get_config('feature_lock','commtag'),
- feature_level('commtag',1),
],
[
@@ -115,7 +116,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Add emoji reaction ability to posts'),
true,
get_config('feature_lock','emojis'),
- feature_level('emojis',1),
],
[
@@ -124,7 +124,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Ability to file posts under folders'),
false,
get_config('feature_lock','filing'),
- feature_level('filing',2),
],
[
@@ -133,7 +132,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Ability to dislike posts/comments'),
false,
get_config('feature_lock','dislike'),
- feature_level('dislike',1),
],
[
@@ -142,7 +140,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Ability to mark special posts with a star indicator'),
false,
get_config('feature_lock','star_posts'),
- feature_level('star_posts',1),
],
[
@@ -151,40 +148,10 @@ function get_features($filtered = true, $level = (-1)) {
t('Provide a personal tag cloud on your channel page'),
false,
get_config('feature_lock','tagadelic'),
- feature_level('tagadelic',2),
- ],
- ],
-
-############################################
-############################################
-
- 'calendar' => [
-
- t('CalDAV'),
-
- [
- 'cal_first_day',
- t('Start calendar week on Monday'),
- t('Default is Sunday'),
- false,
- get_config('feature_lock','cal_first_day')
]
],
- 'connections' => [
-
- t('Connections'),
-
- [
- 'connfilter',
- t('Connection Filtering'),
- t('Filter incoming posts from connections based on keywords/content'),
- false,
- get_config('feature_lock','connfilter')
- ]
- ],
-
'directory' => [
t('Directory'),