aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-23 18:15:31 -0700
committerzotlabs <mike@macgirvin.com>2017-08-23 18:15:31 -0700
commitecfc7b8f4cc6fbc646e58a2445398341fae5e642 (patch)
tree1b530590a3b1171580951cee7a5dd49feef6a88c /Zotlabs/Module
parent3b68df1be6173cbcc50386efc0161ece2015112d (diff)
downloadvolse-hubzilla-ecfc7b8f4cc6fbc646e58a2445398341fae5e642.tar.gz
volse-hubzilla-ecfc7b8f4cc6fbc646e58a2445398341fae5e642.tar.bz2
volse-hubzilla-ecfc7b8f4cc6fbc646e58a2445398341fae5e642.zip
add category support to main page
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Cards.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Cards.php b/Zotlabs/Module/Cards.php
index 1c37ca13d..c542cd6ff 100644
--- a/Zotlabs/Module/Cards.php
+++ b/Zotlabs/Module/Cards.php
@@ -82,6 +82,8 @@ class Cards extends \Zotlabs\Web\Controller {
$channel_acl = [ 'allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '' ];
}
+
+
if(perm_is_allowed($owner,$ob_hash,'write_pages')) {
$x = array(
@@ -101,6 +103,7 @@ class Cards extends \Zotlabs\Web\Controller {
'layoutselect' => false,
'expanded' => false,
'novoting'=> false,
+ 'catsenabled' => feature_enabled($owner,'categories'),
'bbco_autocomplete' => 'bbcode',
'bbcode' => true
);