diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-06 16:42:50 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-06 16:42:50 -0700 |
commit | 1d09e4b6201a75e830c303746291ba75d94f937d (patch) | |
tree | 89783a99c99a1cbbb26440e233e4e52667df0afe | |
parent | 6ea1cf71b513701777cb0992a4a37bd9819ade3a (diff) | |
download | volse-hubzilla-1d09e4b6201a75e830c303746291ba75d94f937d.tar.gz volse-hubzilla-1d09e4b6201a75e830c303746291ba75d94f937d.tar.bz2 volse-hubzilla-1d09e4b6201a75e830c303746291ba75d94f937d.zip |
use conversation defaults for /public page instead of collapsed list mode, but allow over-ride
-rw-r--r-- | mod/public.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/public.php b/mod/public.php index 2106be7a6..45edda6c0 100644 --- a/mod/public.php +++ b/mod/public.php @@ -22,7 +22,7 @@ function public_content(&$a, $update = 0, $load = false) { $maxheight = get_config('system','home_divmore_height'); if(! $maxheight) - $maxheight = 75; + $maxheight = 400; $o .= '<div id="live-public"></div>' . "\r\n"; $o .= "<script> var profile_uid = " . ((intval(local_channel())) ? local_channel() : (-1)) @@ -80,10 +80,12 @@ function public_content(&$a, $update = 0, $load = false) { $a->data['firehose'] = intval($sys['channel_id']); } + if(get_config('system','public_list_mode')) + $page_mode = 'list'; + else + $page_mode = 'client'; - $page_mode = 'list'; - $simple_update = (($update) ? " and item.item_unseen = 1 " : ''); if($update && $_SESSION['loadtime']) |