aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-12-16 16:05:52 +0100
committerHarald Eilertsen <haraldei@anduin.net>2023-12-16 16:05:52 +0100
commit19dd1fe86605bc85e8a0bf4efd6f195db258f60a (patch)
tree5d5b1fac3ad1760189ea0daf1bf5639e4ba0d100 /Zotlabs/Widget
parent6a5f78543fb2f5329e54209253b8c0d0f1d7a91d (diff)
parent69266cd6c65d228320dede32a343a9d3f3ea63df (diff)
downloadvolse-hubzilla-19dd1fe86605bc85e8a0bf4efd6f195db258f60a.tar.gz
volse-hubzilla-19dd1fe86605bc85e8a0bf4efd6f195db258f60a.tar.bz2
volse-hubzilla-19dd1fe86605bc85e8a0bf4efd6f195db258f60a.zip
Merge branch 'dev' into tests/test-db-setup-wip
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Activity_filter.php2
-rw-r--r--Zotlabs/Widget/Item.php2
-rw-r--r--Zotlabs/Widget/Notifications.php2
3 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php
index daaf5fb67..a8a00bda6 100644
--- a/Zotlabs/Widget/Activity_filter.php
+++ b/Zotlabs/Widget/Activity_filter.php
@@ -26,7 +26,7 @@ class Activity_filter {
$starred_active = '';
$conv_active = '';
$tabs = [];
- $cmd = \App::$cmd;
+ $cmd = 'network'; //\App::$cmd;
if(x($_GET,'dm')) {
$dm_active = (($_GET['dm'] == 1) ? 'active' : '');
diff --git a/Zotlabs/Widget/Item.php b/Zotlabs/Widget/Item.php
index 9fd703dfe..6f943ffdf 100644
--- a/Zotlabs/Widget/Item.php
+++ b/Zotlabs/Widget/Item.php
@@ -34,7 +34,7 @@ class Item {
if($arr['title']) {
$r = q("select item.* from item left join iconfig on item.id = iconfig.iid
where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s'
- and iconfig.k = 'WEBPAGE' and item_type = %d $sql_options $revision limit 1",
+ and iconfig.k = 'WEBPAGE' and item_type = %d $sql_extra $revision limit 1",
intval($channel_id),
dbesc($arr['title']),
intval(ITEM_TYPE_WEBPAGE)
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index a4e632a9f..b16303be6 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -157,9 +157,11 @@ class Notifications {
'url' => 'pubstream',
'label' => t('Public stream')
],
+ /*
'markall' => [
'label' => t('Mark all notifications seen')
],
+ */
'filter' => [
'posts_label' => t('Show new posts only'),
'name_label' => t('Filter by name or address')