mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'wip-mdl-41635' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
4bf3517bc7
@ -39,7 +39,7 @@ function report_loglive_extend_navigation_course($navigation, $course, $context)
|
||||
global $CFG, $OUTPUT;
|
||||
if (has_capability('report/loglive:view', $context)) {
|
||||
$url = new moodle_url('/report/loglive/index.php', array('id'=>$course->id, 'inpopup'=>1));
|
||||
$action = new action_link($url, get_string('pluginname', 'report_loglive'), new popup_action('click', $url));
|
||||
$navigation->add('', $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', ''));
|
||||
$action = new action_link($url, '', new popup_action('click', $url));
|
||||
$navigation->add(get_string('pluginname', 'report_loglive'), $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', ''));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user