MDL-19809 Upgraded calls to print_headline

This commit is contained in:
nicolasconnault
2009-08-06 01:36:17 +00:00
parent 706b82dade
commit 3097018f7a
+2 -2
View File
@@ -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) {