diff options
author | friendica <info@friendica.com> | 2014-11-16 16:19:24 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-16 16:19:24 -0800 |
commit | cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827 (patch) | |
tree | 6db7b5e761339141bfcac5935c6675c0e96d4d7c /mod/network.php | |
parent | 1c249a5b06279ea4a19433d45a8dbe6fd71bcd25 (diff) | |
download | volse-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/network.php')
-rw-r--r-- | mod/network.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index da020c389..fd74b1887 100644 --- a/mod/network.php +++ b/mod/network.php @@ -426,7 +426,12 @@ function network_content(&$a, $update = 0, $load = false) { $mode = (($nouveau) ? 'network-new' : 'network'); - $o .= conversation($a,$items,$mode,$update,'client'); + if(get_pconfig(local_user(),'system','network_list_mode')) + $page_mode = 'list'; + else + $page_mode = 'client'; + + $o .= conversation($a,$items,$mode,$update,$page_mode); if(($items) && (! $update)) $o .= alt_pager($a,count($items)); |