mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-13481, Distinguish between course fullname and user fullname
This commit is contained in:
parent
317f94b0a2
commit
d6cc234114
12 changed files with 28 additions and 24 deletions
|
@ -33,9 +33,9 @@ class resource_file extends resource_base {
|
|||
|
||||
'courseid' => array('langstr' => 'id',
|
||||
'value' => $this->course->id),
|
||||
'coursefullname' => array('langstr' => get_string('fullname'),
|
||||
'coursefullname' => array('langstr' => get_string('fullnamecourse'),
|
||||
'value' => $this->course->fullname),
|
||||
'courseshortname' => array('langstr' => get_string('shortname'),
|
||||
'courseshortname' => array('langstr' => get_string('shortnamecourse'),
|
||||
'value' => $this->course->shortname),
|
||||
'courseidnumber' => array('langstr' => get_string('idnumbercourse'),
|
||||
'value' => $this->course->idnumber),
|
||||
|
@ -89,7 +89,7 @@ class resource_file extends resource_base {
|
|||
'value' => $USER->firstname),
|
||||
'userlastname' => array('langstr' => get_string('lastname'),
|
||||
'value' => $USER->lastname),
|
||||
'userfullname' => array('langstr' => get_string('fullname'),
|
||||
'userfullname' => array('langstr' => get_string('fullnameuser'),
|
||||
'value' => fullname($USER)),
|
||||
'useremail' => array('langstr' => get_string('email'),
|
||||
'value' => $USER->email),
|
||||
|
|
|
@ -42,9 +42,9 @@ function set_parameters() {
|
|||
|
||||
'courseid' => array('langstr' => 'id',
|
||||
'value' => $this->course->id),
|
||||
'coursefullname' => array('langstr' => get_string('fullname'),
|
||||
'coursefullname' => array('langstr' => get_string('fullnamecourse'),
|
||||
'value' => $this->course->fullname),
|
||||
'courseshortname' => array('langstr' => get_string('shortname'),
|
||||
'courseshortname' => array('langstr' => get_string('shortnamecourse'),
|
||||
'value' => $this->course->shortname),
|
||||
'courseidnumber' => array('langstr' => get_string('idnumbercourse'),
|
||||
'value' => $this->course->idnumber),
|
||||
|
@ -98,7 +98,7 @@ function set_parameters() {
|
|||
'value' => $USER->firstname),
|
||||
'userlastname' => array('langstr' => get_string('lastname'),
|
||||
'value' => $USER->lastname),
|
||||
'userfullname' => array('langstr' => get_string('fullname'),
|
||||
'userfullname' => array('langstr' => get_string('fullnameuser'),
|
||||
'value' => fullname($USER)),
|
||||
'useremail' => array('langstr' => get_string('email'),
|
||||
'value' => $USER->email),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue