diff options
author | friendica <info@friendica.com> | 2014-03-27 00:25:34 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-27 00:25:34 -0700 |
commit | 41d8cfa72a4c4d82bce37959512da95b040dba7b (patch) | |
tree | 91e64e0c072451ab140d7895f16913345fb2080f /include/conversation.php | |
parent | a5a55738bc328802a9ce4acb19514a7d842c83bf (diff) | |
download | volse-hubzilla-41d8cfa72a4c4d82bce37959512da95b040dba7b.tar.gz volse-hubzilla-41d8cfa72a4c4d82bce37959512da95b040dba7b.tar.bz2 volse-hubzilla-41d8cfa72a4c4d82bce37959512da95b040dba7b.zip |
link in the firehose
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 16ac4e909..6a0936a09 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1333,6 +1333,7 @@ function network_tabs() { $conv_active = ''; $spam_active = ''; $postord_active = ''; + $public_active = ''; if(x($_GET,'new')) { $new_active = 'active'; @@ -1354,13 +1355,18 @@ function network_tabs() { $spam_active = 'active'; } + if(x($_GET,'fh')) { + $public_active = 'active'; + } + if (($new_active == '') && ($starred_active == '') && ($conv_active == '') && ($search_active == '') - && ($spam_active == '')) { + && ($spam_active == '') + && ($public_active == '')) { $no_active = 'active'; } @@ -1378,6 +1384,13 @@ function network_tabs() { // tabs $tabs = array( array( + 'label' => t('Public'), + 'url'=>$a->get_baseurl(true) . '/' . $cmd . '?f=&fh=1' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '') . ((x($_GET,'gid')) ? '&gid=' . $_GET['gid'] : ''), + 'sel'=> $public_active, + 'title'=> t('View Public Streams'), + ), + + array( 'label' => t('Commented Order'), 'url'=>$a->get_baseurl(true) . '/' . $cmd . '?f=&order=comment' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '') . ((x($_GET,'gid')) ? '&gid=' . $_GET['gid'] : ''), 'sel'=>$all_active, |