diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/features.php | 9 | ||||
-rwxr-xr-x | include/items.php | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/features.php b/include/features.php index d8d98dbaa..ace1b01c3 100644 --- a/include/features.php +++ b/include/features.php @@ -127,6 +127,15 @@ function get_features($filtered = true) { ], [ + 'articles', + t('Articles'), + t('Create interactive articles'), + false, + get_config('feature_lock','articles'), + feature_level('articles',1), + ], + + [ 'nav_channel_select', t('Navigation Channel Select'), t('Change channels directly from within the navigation dropdown menu'), diff --git a/include/items.php b/include/items.php index b1b40e977..654cc5de3 100755 --- a/include/items.php +++ b/include/items.php @@ -4309,6 +4309,8 @@ function webpage_to_namespace($webpage) { $page_type = 'PDL'; elseif($webpage == ITEM_TYPE_CARD) $page_type = 'CARD'; + elseif($webpage == ITEM_TYPE_ARTICLE) + $page_type = 'ARTICLE'; elseif($webpage == ITEM_TYPE_DOC) $page_type = 'docfile'; else |