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:
3b1eba0
)
MDL-59528 user: Render user picture link with user's fullname
author
Jun Pataleta
<jun@moodle.com>
Tue, 18 Jul 2017 09:13:01 +0000
(17:13 +0800)
committer
Jun Pataleta
<jun@moodle.com>
Fri, 21 Jul 2017 00:45:31 +0000
(08:45 +0800)
user/classes/participants_table.php
patch
|
blob
|
blame
|
history
diff --git
a/user/classes/participants_table.php
b/user/classes/participants_table.php
index
2def8e5
..
f838253
100644
(file)
--- a/
user/classes/participants_table.php
+++ b/
user/classes/participants_table.php
@@
-206,7
+206,7
@@
class participants_table extends \table_sql {
public function col_fullname($data) {
global $OUTPUT;
- return $OUTPUT->user_picture($data, array('size' => 35, 'courseid' => $this->course->id
)) . ' ' . fullname($data
);
+ return $OUTPUT->user_picture($data, array('size' => 35, 'courseid' => $this->course->id
, 'includefullname' => true)
);
}
/**