provide settings for mod photo and make it slightly simpler to create new module settings
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user