Merge branch 'MDL-43725-master' of git://github.com/ankitagarwal/moodle

This commit is contained in:
Damyon Wiese 2014-01-21 13:47:39 +08:00
commit e677c1be7c
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,11 @@ $context = context_course::instance($course->id);
require_capability('report/loglive:view', $context);
$strlivelogs = get_string('livelogs', 'report_loglive');
if (!empty($page)) {
$strlogs = get_string('logs'). ": ". get_string('page', 'report_loglive', $page + 1);
} else {
$strlogs = get_string('logs');
}
if ($inpopup) {
\core\session\manager::write_close();

View File

@ -27,3 +27,4 @@
$string['loglive:view'] = 'View live logs';
$string['pluginname'] = 'Live logs';
$string['livelogs'] = 'Live logs from the past hour';
$string['page'] = 'Page {$a}';