Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Changed two notification to output correctly

  • Loading branch information...
commit 192372056678abf70139166510e75b51e84abcf0 1 parent 7033316
authored March 09, 2012 rwijaya committed August 21, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  user/profile.php
4  user/profile.php
@@ -61,7 +61,7 @@
61 61
 if ($user->deleted) {
62 62
     $PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
63 63
     echo $OUTPUT->header();
64  
-    echo $OUTPUT->heading(get_string('userdeleted'));
  64
+    echo $OUTPUT->notification(get_string('userdeleted'));
65 65
     echo $OUTPUT->footer();
66 66
     die;
67 67
 }
@@ -82,7 +82,7 @@
82 82
     $PAGE->set_url('/user/profile.php', array('id'=>$userid));
83 83
     $PAGE->navbar->add($struser);
84 84
     echo $OUTPUT->header();
85  
-    echo $OUTPUT->heading(get_string('usernotavailable', 'error'));
  85
+    echo $OUTPUT->notification(get_string('usernotavailable', 'error'));
86 86
     echo $OUTPUT->footer();
87 87
     exit;
88 88
 }

0 notes on commit 1923720

Please sign in to comment.
Something went wrong with that request. Please try again.