MDL-39987 theme_bootstrapbase: Fixed menunode text in renderers/core_renderer.php.

This commit is contained in:
Mary Evans 2013-06-02 23:04:17 +01:00
parent b6f8a93642
commit c14964cacb

View File

@ -138,8 +138,8 @@ class theme_bootstrapbase_core_renderer extends core_renderer {
} else {
$url = '#cm_submenu_'.$submenucount;
}
$content .= html_writer::start_tag('a', array('href'=>$url, 'class'=>'dropdown-toggle', 'data-toggle'=>'dropdown'));
$content .= $menunode->get_title();
$content .= html_writer::start_tag('a', array('href'=>$url, 'class'=>'dropdown-toggle', 'data-toggle'=>'dropdown', 'title'=>$menunode->get_title()));
$content .= $menunode->get_text();
if ($level == 1) {
$content .= '<b class="caret"></b>';
}