diff options
author | Mario <mario@mariovavti.com> | 2018-09-23 19:18:05 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-09-23 19:18:05 +0200 |
commit | 781fdaafcd6a8086b76409b0a39d8edbca2e04c9 (patch) | |
tree | cb9d1e782cb0dfaeab8f0fdcd183c571669dc1a1 /include/features.php | |
parent | 1f1d5b9181dd7a9800a2d5c596d8da0f906c53e3 (diff) | |
download | volse-hubzilla-781fdaafcd6a8086b76409b0a39d8edbca2e04c9.tar.gz volse-hubzilla-781fdaafcd6a8086b76409b0a39d8edbca2e04c9.tar.bz2 volse-hubzilla-781fdaafcd6a8086b76409b0a39d8edbca2e04c9.zip |
settings for events and cdav calendar
Diffstat (limited to 'include/features.php')
-rw-r--r-- | include/features.php | 63 |
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'), |