diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-23 18:15:31 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-23 18:15:31 -0700 |
commit | ecfc7b8f4cc6fbc646e58a2445398341fae5e642 (patch) | |
tree | 1b530590a3b1171580951cee7a5dd49feef6a88c | |
parent | 3b68df1be6173cbcc50386efc0161ece2015112d (diff) | |
download | volse-hubzilla-ecfc7b8f4cc6fbc646e58a2445398341fae5e642.tar.gz volse-hubzilla-ecfc7b8f4cc6fbc646e58a2445398341fae5e642.tar.bz2 volse-hubzilla-ecfc7b8f4cc6fbc646e58a2445398341fae5e642.zip |
add category support to main page
-rw-r--r-- | Zotlabs/Module/Cards.php | 3 |
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 ); |