diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-23 19:03:30 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-23 19:03:30 -0700 |
commit | 9a155cf5a576e01960c8d8b6128bfc27077211af (patch) | |
tree | e2019831e0de1863e9a8f69efa5a374310eacc86 /include | |
parent | af8cbf000fb1433b7c7d2c6c4543980f01ba69a9 (diff) | |
download | volse-hubzilla-9a155cf5a576e01960c8d8b6128bfc27077211af.tar.gz volse-hubzilla-9a155cf5a576e01960c8d8b6128bfc27077211af.tar.bz2 volse-hubzilla-9a155cf5a576e01960c8d8b6128bfc27077211af.zip |
turn newmember widget into a feature
Diffstat (limited to 'include')
-rw-r--r-- | include/features.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/features.php b/include/features.php index 993266977..3928fc5cf 100644 --- a/include/features.php +++ b/include/features.php @@ -45,6 +45,7 @@ function feature_level($feature,$def) { function get_features($filtered = true) { + $account = \App::get_account(); $arr = [ @@ -53,7 +54,14 @@ function get_features($filtered = true) { t('General Features'), - + [ + 'start_menu', + t('New Member Links'), + t('Display new member quick links menu'), + true, + get_config('feature_lock','start_menu'), + feature_level('start_menu',1), + ], [ 'advanced_profiles', |