MDL-13481, Distinguish between course fullname and user fullname

This commit is contained in:
dongsheng 2008-03-19 08:49:23 +00:00
parent 317f94b0a2
commit d6cc234114
12 changed files with 28 additions and 24 deletions

View file

@ -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),

View file

@ -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),