aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/features.php63
1 files changed, 44 insertions, 19 deletions
diff --git a/include/features.php b/include/features.php
index b7d6c0ceb..8b0c5e3f3 100644
--- a/include/features.php
+++ b/include/features.php
@@ -105,25 +105,6 @@ function get_features($filtered = true, $level = (-1)) {
],
[
- 'smart_birthdays',
- t('Smart Birthdays'),
- t('Make birthday events timezone aware in case your friends are scattered across the planet.'),
- true,
- get_config('feature_lock','smart_birthdays'),
- feature_level('smart_birthdays',2),
- ],
-
- [
- 'event_tz_select',
- t('Event Timezone Selection'),
- t('Allow event creation in timezones other than your own.'),
- false,
- get_config('feature_lock','event_tz_select'),
- feature_level('event_tz_select',2),
- ],
-
-
- [
'premium_channel',
t('Premium Channel'),
t('Allows you to set restrictions and terms on those that connect with your channel'),
@@ -275,6 +256,20 @@ function get_features($filtered = true, $level = (-1)) {
############################################
############################################
+ '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'),
@@ -358,6 +353,36 @@ function get_features($filtered = true, $level = (-1)) {
],
+ 'events' => [
+
+ t('Events'),
+
+ [
+ 'cal_first_day',
+ t('Start calendar week on Monday'),
+ t('Default is Sunday'),
+ false,
+ get_config('feature_lock','cal_first_day')
+ ],
+
+ [
+ 'smart_birthdays',
+ t('Smart Birthdays'),
+ t('Make birthday events timezone aware in case your friends are scattered across the planet.'),
+ true,
+ get_config('feature_lock','smart_birthdays'),
+ ],
+
+ [
+ 'event_tz_select',
+ t('Event Timezone Selection'),
+ t('Allow event creation in timezones other than your own.'),
+ false,
+ get_config('feature_lock','event_tz_select'),
+ ]
+
+ ],
+
'manage' => [
t('Manage'),