Merge branch 'MDL-23912-27' of git://github.com/jethac/moodle into MOODLE_27_STABLE

This commit is contained in:
Sam Hemelryk
2014-11-25 12:29:01 +13:00
3 changed files with 30 additions and 18 deletions
+9 -4
View File
@@ -246,10 +246,15 @@ class comment {
self::$comment_page = optional_param('comment_page', '', PARAM_INT);
self::$comment_area = optional_param('comment_area', '', PARAM_AREA);
$page->requires->string_for_js('addcomment', 'moodle');
$page->requires->string_for_js('deletecomment', 'moodle');
$page->requires->string_for_js('comments', 'moodle');
$page->requires->string_for_js('commentsrequirelogin', 'moodle');
$page->requires->strings_for_js(array(
'addcomment',
'comments',
'commentscount',
'commentsrequirelogin',
'deletecomment',
),
'moodle'
);
}
/**