diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/channel.php | 8 | ||||
-rw-r--r-- | mod/network.php | 7 |
2 files changed, 13 insertions, 2 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'); } 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)); |