Merge branch 'MDL-43725-25' of git://github.com/ankitagarwal/moodle into MOODLE_25_STABLE

This commit is contained in:
Damyon Wiese
2014-01-21 13:48:48 +08:00
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -44,6 +44,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) {
session_get_instance()->write_close();
@@ -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}';