MDL-19809 Upgraded calls to print_headline
This commit is contained in:
@@ -296,7 +296,7 @@ function glossary_user_complete($course, $user, $mod, $glossary) {
|
||||
* @return bool
|
||||
*/
|
||||
function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
|
||||
global $CFG, $USER, $DB;
|
||||
global $CFG, $USER, $DB, $OUTPUT;
|
||||
|
||||
//TODO: use timestamp in approved field instead of changing timemodified when approving in 2.0
|
||||
|
||||
@@ -346,7 +346,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
|
||||
if (!$entries) {
|
||||
return false;
|
||||
}
|
||||
print_headline(get_string('newentries', 'glossary').':');
|
||||
echo $OUTPUT->heading(get_string('newentries', 'glossary').':');
|
||||
|
||||
$strftimerecent = get_string('strftimerecent');
|
||||
foreach ($entries as $entry) {
|
||||
|
||||
Reference in New Issue
Block a user