aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Mailmenu.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Mailmenu.php')
-rw-r--r--Zotlabs/Widget/Mailmenu.php38
1 files changed, 0 insertions, 38 deletions
diff --git a/Zotlabs/Widget/Mailmenu.php b/Zotlabs/Widget/Mailmenu.php
deleted file mode 100644
index ca022c807..000000000
--- a/Zotlabs/Widget/Mailmenu.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-namespace Zotlabs\Widget;
-
-class Mailmenu {
-
- function widget($arr) {
-
- if (! local_channel())
- return;
-
- return replace_macros(get_markup_template('message_side.tpl'), array(
- '$title' => t('Private Mail Menu'),
- '$combined' => array(
- 'label' => t('Combined View'),
- 'url' => z_root() . '/mail/combined',
- 'sel' => (argv(1) == 'combined' || argc() == 1),
- ),
- '$inbox' => array(
- 'label' => t('Inbox'),
- 'url' => z_root() . '/mail/inbox',
- 'sel' => (argv(1) == 'inbox'),
- ),
- '$outbox' => array(
- 'label' => t('Outbox'),
- 'url' => z_root() . '/mail/outbox',
- 'sel' => (argv(1) == 'outbox'),
- ),
-/*
- '$new' => array(
- 'label' => t('New Message'),
- 'url' => z_root() . '/mail/new',
- 'sel'=> (argv(1) == 'new'),
- )
-*/
- ));
- }
-}