aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-04 13:43:16 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-04 13:43:16 +0200
commit26b97722c619a37bf343a2cbdc148c17520857d7 (patch)
tree8c2a7a9e740dd18e40ac99d8975e2a1cd530707e
parent38fe928d06c56a3dc0d2966ace52f107759aa356 (diff)
downloadvolse-hubzilla-26b97722c619a37bf343a2cbdc148c17520857d7.tar.gz
volse-hubzilla-26b97722c619a37bf343a2cbdc148c17520857d7.tar.bz2
volse-hubzilla-26b97722c619a37bf343a2cbdc148c17520857d7.zip
remove check mail - it just reloads the page. we get a notification in the panel if we get new mail
-rw-r--r--include/widgets.php6
-rwxr-xr-xview/tpl/message_side.tpl1
2 files changed, 0 insertions, 7 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 9c8596a66..3e6fdb04c 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -565,12 +565,6 @@ function widget_mailmenu($arr) {
return replace_macros(get_markup_template('message_side.tpl'), array(
'$title' => t('Private Mail Menu'),
- '$check'=>array(
- 'label' => t('Check Mail'),
- 'url' => $a->get_baseurl(true) . '/mail/combined',
- 'sel' => (argv(1) == ''),
- ),
-
'$combined'=>array(
'label' => t('Combined View'),
'url' => $a->get_baseurl(true) . '/mail/combined',
diff --git a/view/tpl/message_side.tpl b/view/tpl/message_side.tpl
index b3bb94d71..6ea63c21e 100755
--- a/view/tpl/message_side.tpl
+++ b/view/tpl/message_side.tpl
@@ -1,7 +1,6 @@
<div class="widget">
<h3>{{$title}}</h3>
<ul class="nav nav-pills nav-stacked">
- <li><a href="{{$check.url}}"{{if $check.sel}} class="active"{{/if}}>{{$check.label}}</a></li>
<li><a href="{{$combined.url}}"{{if $combined.sel}} class="active"{{/if}}>{{$combined.label}}</a></li>
<li><a href="{{$inbox.url}}"{{if $inbox.sel}} class="active"{{/if}}>{{$inbox.label}}</a></li>
<li><a href="{{$outbox.url}}"{{if $outbox.sel}} class="active"{{/if}}>{{$outbox.label}}</a></li>