Permalink
Browse files

Changed two notification to output correctly

  • Loading branch information...
Juho Viitasalo Rossiani Wijaya
Juho Viitasalo authored and Rossiani Wijaya committed Mar 9, 2012
1 parent 7033316 commit 192372056678abf70139166510e75b51e84abcf0
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 1923720

Please sign in to comment.