From 1f1d5b9181dd7a9800a2d5c596d8da0f906c53e3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 23 Sep 2018 17:52:32 +0200 Subject: provide settings for mod photo and make it slightly simpler to create new module settings --- include/features.php | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/features.php b/include/features.php index 6f6aa88dc..b7d6c0ceb 100644 --- a/include/features.php +++ b/include/features.php @@ -104,15 +104,6 @@ function get_features($filtered = true, $level = (-1)) { feature_level('private_notes',1), ], - [ - 'photo_location', - t('Photo Location'), - t('If location data is available on uploaded photos, link this to a map.'), - false, - get_config('feature_lock','photo_location'), - feature_level('photo_location',2), - ], - [ 'smart_birthdays', t('Smart Birthdays'), @@ -369,7 +360,7 @@ function get_features($filtered = true, $level = (-1)) { 'manage' => [ - t('Channel Manager'), + t('Manage'), [ 'nav_channel_select', @@ -383,7 +374,7 @@ function get_features($filtered = true, $level = (-1)) { 'network' => [ - t('Activity'), + t('Network'), [ 'archives', @@ -451,6 +442,20 @@ function get_features($filtered = true, $level = (-1)) { ], + 'photos' => [ + + t('Photos'), + + [ + 'photo_location', + t('Photo Location'), + t('If location data is available on uploaded photos, link this to a map.'), + false, + get_config('feature_lock','photo_location'), + ] + + ], + 'profiles' => [ t('Profiles'), -- cgit v1.2.3