Permalink
Browse files

Changed two notification to output correctly

  • Loading branch information...
1 parent 76c9fcc commit 83d8c6b290c857f2a69165217da71256f8d0b444 Juho Viitasalo committed with Rossiani Wijaya Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 user/profile.php
View
@@ -61,7 +61,7 @@
if ($user->deleted) {
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
echo $OUTPUT->header();
- echo $OUTPUT->heading(get_string('userdeleted'));
+ echo $OUTPUT->notification(get_string('userdeleted'));
echo $OUTPUT->footer();
die;
}
@@ -82,7 +82,7 @@
$PAGE->set_url('/user/profile.php', array('id'=>$userid));
$PAGE->navbar->add($struser);
echo $OUTPUT->header();
- echo $OUTPUT->heading(get_string('usernotavailable', 'error'));
+ echo $OUTPUT->notification(get_string('usernotavailable', 'error'));
echo $OUTPUT->footer();
exit;
}

0 comments on commit 83d8c6b

Please sign in to comment.