aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-15 21:43:47 +0000
committerMario <mario@mariovavti.com>2020-01-15 21:43:47 +0000
commit2a0a06d74aa1e51b0e50459f90167ab35ba1411b (patch)
treee078f0a93779cb5f156c0f56b9df574bdad744ab /Zotlabs/Widget
parentccaa93655a6b44834d04c536d809c4b2c69c354b (diff)
downloadvolse-hubzilla-2a0a06d74aa1e51b0e50459f90167ab35ba1411b.tar.gz
volse-hubzilla-2a0a06d74aa1e51b0e50459f90167ab35ba1411b.tar.bz2
volse-hubzilla-2a0a06d74aa1e51b0e50459f90167ab35ba1411b.zip
some work on zot6 DMs
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Activity_filter.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php
index 32ab10c77..84b9ec24a 100644
--- a/Zotlabs/Widget/Activity_filter.php
+++ b/Zotlabs/Widget/Activity_filter.php
@@ -15,8 +15,20 @@ class Activity_filter {
$filter_active = false;
$tabs = [];
+/* leave this commented out until ready for primetime
+ if(x($_GET,'dm')) {
+ $dm_active = (($_GET['dm'] == 1) ? 'active' : '');
+ $filter_active = 'dm';
+ }
-
+ $tabs[] = [
+ 'label' => t('Direct Messages'),
+ 'icon' => 'envelope-o',
+ 'url' => z_root() . '/' . $cmd . '/?f=&dm=1',
+ 'sel' => $dm_active,
+ 'title' => t('Show direct (private) messages')
+ ];
+*/
if(Apps::system_app_installed(local_channel(), 'Privacy Groups')) {
$groups = q("SELECT * FROM pgrp WHERE deleted = 0 AND uid = %d ORDER BY gname ASC",
intval(local_channel())