diff options
author | mrjive <mrjive@mrjive.it> | 2018-01-16 11:45:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 11:45:01 +0100 |
commit | e81949bb095448881ce83605a50454d0c3c40782 (patch) | |
tree | bd15059a020152b5dc59c265e22a27251efe0de4 /include/features.php | |
parent | b4f8f4df7bc5cc8a74240506cd536224cb31e114 (diff) | |
parent | 9aadcb0bd40a8f773dc164f7dadc8c238fff9954 (diff) | |
download | volse-hubzilla-e81949bb095448881ce83605a50454d0c3c40782.tar.gz volse-hubzilla-e81949bb095448881ce83605a50454d0c3c40782.tar.bz2 volse-hubzilla-e81949bb095448881ce83605a50454d0c3c40782.zip |
Merge pull request #7 from redmatrix/dev
Dev
Diffstat (limited to 'include/features.php')
-rw-r--r-- | include/features.php | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/include/features.php b/include/features.php index d8d98dbaa..36eb74a9d 100644 --- a/include/features.php +++ b/include/features.php @@ -126,6 +126,16 @@ function get_features($filtered = true) { feature_level('cards',1), ], + + [ + 'articles', + t('Articles'), + t('Create interactive articles'), + false, + get_config('feature_lock','articles'), + feature_level('articles',1), + ], + [ 'nav_channel_select', t('Navigation Channel Select'), @@ -364,15 +374,6 @@ function get_features($filtered = true) { t('Post/Comment Tools'), [ - 'markdown', - t('Markdown'), - t('Use markdown for editing posts'), - false, - get_config('feature_lock','markdown'), - feature_level('markdown',2), - ], - - [ 'commtag', t('Community Tagging'), t('Ability to tag existing posts'), @@ -480,6 +481,8 @@ function get_features($filtered = true) { else { $narr = $arr; } - call_hooks('get_features',$narr); - return $narr; + + $x = [ 'features' => $narr, 'filtered' => $filtered, 'techlevel' => $techlevel ]; + call_hooks('get_features',$x); + return $x['features']; } |