mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
H3 -> H4
This commit is contained in:
parent
d645e9e510
commit
5110affbb7
@ -13,14 +13,15 @@
|
||||
|
||||
require_login($course->id);
|
||||
|
||||
if (!isteacher($course->id)) {
|
||||
error("Only teachers can look at this page");
|
||||
}
|
||||
|
||||
if (! $user = get_record("user", "id", $user)) {
|
||||
error("User ID is incorrect");
|
||||
}
|
||||
|
||||
if (!isteacher($course->id) and $user->id != $USER->id ) {
|
||||
error("You are not allowed to look at this page");
|
||||
}
|
||||
|
||||
|
||||
add_to_log($course->id, "course", "user record", "user.php?id=$course->id&user=$user->id", "$user->id");
|
||||
|
||||
print_header("$course->shortname: Activity Report", "$course->fullname",
|
||||
@ -99,9 +100,9 @@
|
||||
|
||||
$image = "<IMG SRC=\"../mod/$mod->modname/icon.gif\" ".
|
||||
"HEIGHT=16 WIDTH=16 ALT=\"$mod->modfullname\">";
|
||||
echo "<H3>$image $mod->modfullname: ".
|
||||
echo "<H4>$image $mod->modfullname: ".
|
||||
"<A HREF=\"$CFG->wwwroot/mod/$mod->modname/view.php?id=$mod->id\">".
|
||||
"$instance->name</A></H3>";
|
||||
"$instance->name</A></H4>";
|
||||
echo "<UL>";
|
||||
include($userfile);
|
||||
echo "</UL>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user