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:
parent
38fe928d06
commit
26b97722c6
@ -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',
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user