Merge branch 'MDL-53181-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
David Monllao 2016-03-29 09:50:52 +08:00
commit 497cd6d48b
2 changed files with 11 additions and 0 deletions

View file

@ -3377,12 +3377,16 @@ EOD;
array('class' => 'iconsmall')
) . $value->title;
}
$al = new action_menu_link_secondary(
$value->url,
$pix,
$value->title,
array('class' => 'icon')
);
if (!empty($value->titleidentifier)) {
$al->attributes['data-title'] = $value->titleidentifier;
}
$am->add($al);
break;
}