aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-08 15:20:12 -0800
committerfriendica <info@friendica.com>2014-01-08 15:20:12 -0800
commit79102218324e794bb7096e682d61841b570fc411 (patch)
treea6a9918b5d4a750fff4b932ecc1066db56ed8d30 /mod/channel.php
parentf1d6d5883238cec7384b5ac6b00b5d0321ecece5 (diff)
downloadvolse-hubzilla-79102218324e794bb7096e682d61841b570fc411.tar.gz
volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.tar.bz2
volse-hubzilla-79102218324e794bb7096e682d61841b570fc411.zip
preparatory work for supporting a "list view" mode for conversations. This would be useful for forum-like channels and/or block-oriented themes.
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 149936dd7..838107b96 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -233,6 +233,7 @@ function channel_content(&$a, $update = 0, $load = false) {
'$page' => (($a->pager['page'] != 1) ? $a->pager['page'] : 1),
'$search' => '',
'$order' => '',
+ '$list' => ((x($_REQUEST,'list')) ? intval($_REQUEST['list']) : 0),
'$file' => '',
'$cats' => (($category) ? $category : ''),
'$mid' => '',