Skip to content

Commit

Permalink
More changes to use fullname function rather than firstname lastname
Browse files Browse the repository at this point in the history
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-108
    2004-09-30 03:31:29 GMT
    Penny Leach <penny@catalyst.net.nz>
    final changes to use fullname

Full logs:

Revision: moodle--eduforge--1.3.3--patch-108
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 30 15:31:29 NZST 2004
Standard-date: 2004-09-30 03:31:29 GMT
Modified-files: login/confirm.php mod/scorm/report.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-108
Summary: final changes to use fullname
Keywords:
  • Loading branch information
mjollnir_ committed Sep 30, 2004
1 parent f50f0b2 commit 777b9e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions login/confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

if ($user->confirmed) {
print_header(get_string("alreadyconfirmed"), get_string("alreadyconfirmed"), "", "");
echo "<center><h3>".get_string("thanks").", ". $user->firstname ." ". $user->lastname . "</h3>\n";
echo "<center><h3>".get_string("thanks").", ". fullname($user) . "</h3>\n";
echo "<h4>".get_string("alreadyconfirmed")."</h4>\n";
echo "<h3> -> <a href=\"$CFG->wwwroot/course/\">".get_string("courses")."</a></h3></center>\n";
print_footer();
Expand Down Expand Up @@ -50,7 +50,7 @@
}

print_header(get_string("confirmed"), get_string("confirmed"), "", "");
echo "<center><h3>".get_string("thanks").", ". $USER->firstname ." ". $USER->lastname . "</h3>\n";
echo "<center><h3>".get_string("thanks").", ". fullname($USER) . "</h3>\n";
echo "<h4>".get_string("confirmed")."</h4>\n";
echo "<h3> -> <a href=\"$CFG->wwwroot/course/\">".get_string("courses")."</a></h3></center>\n";
print_footer();
Expand Down
2 changes: 1 addition & 1 deletion mod/scorm/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
if (is_array($user_data)) {
$data = current($user_data);
$row[] = "<a href=\"$CFG->wwwroot/user/view.php?id=$data->userid&amp;course=$course->id\">".
"$data->firstname $data->lastname</a>";
fullname($data)."</a>";
foreach ($user_data as $data) {
$scoreview = "";
if ($data->cmi_core_score_raw > 0)
Expand Down

0 comments on commit 777b9e0

Please sign in to comment.