aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Mailmenu.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-27 19:20:07 +0000
committerMario <mario@mariovavti.com>2021-05-27 19:20:07 +0000
commit3ab8632d3bd82306b8b82f652da329af4fdd4333 (patch)
tree937c43126a6d335c9de646d9ea346ea29157c5d3 /Zotlabs/Widget/Mailmenu.php
parent190fc4e3c4cd68cc73a0509b4b6e53a7696f5a0c (diff)
downloadvolse-hubzilla-3ab8632d3bd82306b8b82f652da329af4fdd4333.tar.gz
volse-hubzilla-3ab8632d3bd82306b8b82f652da329af4fdd4333.tar.bz2
volse-hubzilla-3ab8632d3bd82306b8b82f652da329af4fdd4333.zip
update mail widgets to not require include message and minor fixes
Diffstat (limited to 'Zotlabs/Widget/Mailmenu.php')
-rw-r--r--Zotlabs/Widget/Mailmenu.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Mailmenu.php b/Zotlabs/Widget/Mailmenu.php
index 512f7d9c0..ca022c807 100644
--- a/Zotlabs/Widget/Mailmenu.php
+++ b/Zotlabs/Widget/Mailmenu.php
@@ -14,7 +14,7 @@ class Mailmenu {
'$combined' => array(
'label' => t('Combined View'),
'url' => z_root() . '/mail/combined',
- 'sel' => (argv(1) == 'combined'),
+ 'sel' => (argv(1) == 'combined' || argc() == 1),
),
'$inbox' => array(
'label' => t('Inbox'),
@@ -26,11 +26,13 @@ class Mailmenu {
'url' => z_root() . '/mail/outbox',
'sel' => (argv(1) == 'outbox'),
),
+/*
'$new' => array(
'label' => t('New Message'),
'url' => z_root() . '/mail/new',
'sel'=> (argv(1) == 'new'),
)
+*/
));
}
}