remove check mail - it just reloads the page. we get a notification in the panel if we get new mail

This commit is contained in:
Mario Vavti 2015-10-04 13:43:16 +02:00
parent 38fe928d06
commit 26b97722c6
2 changed files with 0 additions and 7 deletions

View File

@ -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',

View File

@ -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>