mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
add category support to main page
This commit is contained in:
parent
3b68df1be6
commit
ecfc7b8f4c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue