mirror of https://github.com/BOINC/boinc.git
Drupal: Fixed link to use url() function.
This commit is contained in:
parent
045367dc16
commit
4018dc016e
|
@ -98,7 +98,7 @@ function boinc_links__system_main_menu($links, $menu, $element) {
|
|||
if ($link['href'] == 'dashboard') {
|
||||
$item_count = privatemsg_unread_count();
|
||||
if ($item_count) {
|
||||
$link['title'] .= '</a> <a href="/messages" class="compound secondary"><div class="item-count-wrapper"><span class="item-count">' . $item_count . '</span></div>';
|
||||
$link['title'] .= '</a> <a href="' . url('messages') . '" class="compound secondary"><div class="item-count-wrapper"><span class="item-count">' . $item_count . '</span></div>';
|
||||
$link['html'] = TRUE;
|
||||
$link['attributes']['class'] = 'compound';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue