bringer - all basic functionality is implemented

This commit is contained in:
zotlabs
2017-02-08 17:21:32 -08:00
parent 6ee691e019
commit 91819bfc2d
8 changed files with 106 additions and 23 deletions

View File

@@ -148,6 +148,15 @@ function get_features($filtered = true) {
feature_level('ajaxchat',1),
],
[
'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'),

View File

@@ -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(