diff options
author | zotlabs <mike@macgirvin.com> | 2017-02-08 17:21:32 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-02-08 17:21:32 -0800 |
commit | 91819bfc2d475e1b16d3f5e9ca685ca2531a9084 (patch) | |
tree | 0a139ef141996efc1dedae5476b4f6fb8ddde981 /include | |
parent | 6ee691e0190a7d6488888d2fd5009324e3a88f74 (diff) | |
download | volse-hubzilla-91819bfc2d475e1b16d3f5e9ca685ca2531a9084.tar.gz volse-hubzilla-91819bfc2d475e1b16d3f5e9ca685ca2531a9084.tar.bz2 volse-hubzilla-91819bfc2d475e1b16d3f5e9ca685ca2531a9084.zip |
bringer - all basic functionality is implemented
Diffstat (limited to 'include')
-rw-r--r-- | include/features.php | 9 | ||||
-rw-r--r-- | include/widgets.php | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/include/features.php b/include/features.php index 8ff0d2d21..0fc6fbc1d 100644 --- a/include/features.php +++ b/include/features.php @@ -149,6 +149,15 @@ function get_features($filtered = true) { ], [ + 'permcats', + t('Permission Groups'), + t('Provide alternate connection permission roles.'), + false, + get_config('feature_lock','permcats'), + feature_level('permcats',2), + ], + + [ 'smart_birthdays', t('Smart Birthdays'), t('Make birthday events timezone aware in case your friends are scattered across the planet.'), diff --git a/include/widgets.php b/include/widgets.php index 408ba5d24..52f8fd655 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -661,6 +661,14 @@ function widget_settings_menu($arr) { ); } + if(feature_enabled(local_channel(),'permcats')) { + $tabs[] = array( + 'label' => t('Permission Categories'), + 'url' => z_root() . '/settings/permcats', + 'selected' => ((argv(1) === 'permcats') ? 'active' : ''), + ); + } + if($role === false || $role === 'custom') { $tabs[] = array( |