Skip to content

Commit

Permalink
MDL-19809 Upgraded calls to print_headline
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent 706b82d commit 3097018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/glossary/lib.php
Expand Up @@ -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

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 3097018

Please sign in to comment.