aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-02-21 10:44:26 +0000
committerMario <mario@mariovavti.com>2020-02-21 10:44:26 +0000
commit9d97cc2a1d28cd201912870a5342e7eaf9285491 (patch)
tree57d4f6cec52212324e490c8113fb1fd7ab95aed7 /include
parent23acf02d5893233030688417d48ebd07bbd1d6cf (diff)
downloadvolse-hubzilla-9d97cc2a1d28cd201912870a5342e7eaf9285491.tar.gz
volse-hubzilla-9d97cc2a1d28cd201912870a5342e7eaf9285491.tar.bz2
volse-hubzilla-9d97cc2a1d28cd201912870a5342e7eaf9285491.zip
implement optional events and polls filter
Diffstat (limited to 'include')
-rw-r--r--include/features.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/features.php b/include/features.php
index 87df0c50d..c6cfcf822 100644
--- a/include/features.php
+++ b/include/features.php
@@ -299,6 +299,22 @@ function get_features($filtered = true, $level = (-1)) {
t('Network'),
[
+ 'events_tab',
+ t('Events Filter'),
+ t('Ability to display only events'),
+ false,
+ get_config('feature_lock','events_tab')
+ ],
+
+ [
+ 'polls_tab',
+ t('Polls Filter'),
+ t('Ability to display only polls'),
+ false,
+ get_config('feature_lock','polls_tab')
+ ],
+
+ [
'savedsearch',
t('Saved Searches'),
t('Save search terms for re-use'),