"topics" => "topic"
);
-$COURSE_MAX_LOG_DISPLAY = 150; // days
+$COURSE_MAX_LOG_DISPLAY = 150; // days
+
+$COURSETEACHERCOLOR = "#990000"; // To hilight certain items
function print_log_selector_form($course, $selecteduser=0, $selecteddate="today") {
// This function trawls through the logs looking for
// anything new since the user's last login
- global $CFG, $USER;
+ global $CFG, $USER, $COURSETEACHERCOLOR;
if (! $USER->lastlogin ) {
echo "<P>Welcome to the course! Here you will find a list of what's new since your last login.</P>";
if (!isteacher($course->id)) {
continue;
} else {
- $teacherpost = "COLOR=#666666";
+ $teacherpost = "COLOR=$COURSETEACHERCOLOR";
}
}
}