aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-22 11:49:28 -0800
committerzotlabs <mike@macgirvin.com>2017-11-22 11:49:28 -0800
commit8bd8af7d16d6b4fb40680bd33b99bbfd582a1208 (patch)
treed8a8c0f43576b34f724d6890c304685e5430e640 /include
parentb4f8f4df7bc5cc8a74240506cd536224cb31e114 (diff)
downloadvolse-hubzilla-8bd8af7d16d6b4fb40680bd33b99bbfd582a1208.tar.gz
volse-hubzilla-8bd8af7d16d6b4fb40680bd33b99bbfd582a1208.tar.bz2
volse-hubzilla-8bd8af7d16d6b4fb40680bd33b99bbfd582a1208.zip
initial articles feature
Diffstat (limited to 'include')
-rw-r--r--include/features.php9
-rwxr-xr-xinclude/items.php2
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