Hidden teachers are not shown anymore in the less detailed participants view.
PS1: Can you believe I didn't know you could hide a teacher? :o
PS2: I just _LOVE_ using lambda functions! It's soooooooo very cool it makes
me think I may be programming in the wrong language! :P
}
echo '</h2>';
if($compactmode) {
+ // First of all, remove teachers with no authority
+ $teachers = array_filter($teachers, create_function('$t','return ($t->authority > 0);'));
+
+ // And now show the remainder as usual
$exceptions .= implode(',', array_keys($teachers));
print_user_table($teachers, $isteacher);
}