Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a76cd
)
MDL-49904 user: set title when editing another user
author
Brian Barnes
<brian.barnes@totaralms.com>
Thu, 16 Apr 2015 23:35:05 +0000
(11:35 +1200)
committer
Brian Barnes
<brian.barnes@totaralms.com>
Fri, 17 Apr 2015 00:09:30 +0000
(12:09 +1200)
user/editadvanced.php
patch
|
blob
|
blame
|
history
diff --git
a/user/editadvanced.php
b/user/editadvanced.php
index
024b9f5
..
81aa620
100644
(file)
--- a/
user/editadvanced.php
+++ b/
user/editadvanced.php
@@
-311,8
+311,10
@@
if ($user->id == -1 or ($user->id != $USER->id)) {
if ($user->id == -1) {
echo $OUTPUT->header();
} else {
+ $streditmyprofile = get_string('editmyprofile');
$userfullname = fullname($user, true);
$PAGE->set_heading($userfullname);
+ $PAGE->set_title("$course->shortname: $streditmyprofile - $userfullname");
echo $OUTPUT->header();
echo $OUTPUT->heading($userfullname);
}