modattempts[$lesson->id])) { // User is modifying attempts - save button and some instructions ?>
review && !$correctanswer && !$noanswer && !$isessayquestion) { // Review button back ?>
timed and !has_capability('mod/lesson:manage', $context)) { // Display for timed lessons and for students only ?>