aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/features.php9
-rw-r--r--include/widgets.php8
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(