add category support to main page
This commit is contained in:
parent
3b68df1be6
commit
ecfc7b8f4c
@ -82,6 +82,8 @@ class Cards extends \Zotlabs\Web\Controller {
|
|||||||
$channel_acl = [ 'allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '' ];
|
$channel_acl = [ 'allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '' ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(perm_is_allowed($owner,$ob_hash,'write_pages')) {
|
if(perm_is_allowed($owner,$ob_hash,'write_pages')) {
|
||||||
|
|
||||||
$x = array(
|
$x = array(
|
||||||
@ -101,6 +103,7 @@ class Cards extends \Zotlabs\Web\Controller {
|
|||||||
'layoutselect' => false,
|
'layoutselect' => false,
|
||||||
'expanded' => false,
|
'expanded' => false,
|
||||||
'novoting'=> false,
|
'novoting'=> false,
|
||||||
|
'catsenabled' => feature_enabled($owner,'categories'),
|
||||||
'bbco_autocomplete' => 'bbcode',
|
'bbco_autocomplete' => 'bbcode',
|
||||||
'bbcode' => true
|
'bbcode' => true
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user