aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-16 16:19:24 -0800
committerfriendica <info@friendica.com>2014-11-16 16:19:24 -0800
commitcbaee76dd955a4d6d6f0f0e0d364e34e12a9b827 (patch)
tree6db7b5e761339141bfcac5935c6675c0e96d4d7c /mod/channel.php
parent1c249a5b06279ea4a19433d45a8dbe6fd71bcd25 (diff)
downloadvolse-hubzilla-cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827.tar.gz
volse-hubzilla-cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827.tar.bz2
volse-hubzilla-cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827.zip
"list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page)
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 8d6b2a169..1cc2dc02c 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -293,8 +293,14 @@ function channel_content(&$a, $update = 0, $load = false) {
}
+ if(get_pconfig($a->profile['profile_uid'],'system','channel_list_mode'))
+ $page_mode = 'list';
+ else
+ $page_mode = 'client';
+
+
if($_COOKIE['jsAvailable'] == 1) {
- $o .= conversation($a,$items,'channel',$update,'client');
+ $o .= conversation($a,$items,'channel',$update,$page_mode);
} else {
$o .= conversation($a,$items,'channel',$update,'traditional');
}