';
echo ' | ';
echo '';
echo '';
$summaryformatoptions->noclean = true;
echo format_text($thissection->summary, FORMAT_HTML, $summaryformatoptions);
if (isediting($course->id)) {
echo '  ';
}
echo ' ';
print_section($course, $thissection, $mods, $modnamesused);
if (isediting($course->id)) {
print_section_add_menus($course, $section, $modnames);
}
echo ' | ';
echo ' | ';
echo '
';
echo '';
echo '';
echo ''.$section.'';
echo ' | ';
echo '';
if (!isteacher($course->id) and !$thissection->visible) { // Hidden for students
echo ' '.$weekday.' - '.$endweekday.' ('.get_string('notavailable').') ';
} else {
echo ''.$weekday.' - '.$endweekday.' ';
echo '';
$summaryformatoptions->noclean = true;
echo format_text($thissection->summary, FORMAT_HTML, $summaryformatoptions);
if (isediting($course->id)) {
echo ' '.
' ';
}
echo ' ';
print_section($course, $thissection, $mods, $modnamesused);
if (isediting($course->id)) {
print_section_add_menus($course, $section, $modnames);
}
}
echo ' | ';
echo '';
if ($displaysection == $section) {
echo ''.
' ';
} else {
$strshowonlyweek = get_string("showonlyweek", "", $section);
echo ''.
' ';
}
if (isediting($course->id)) {
if ($thissection->visible) { // Show the hide/show eye
echo ''.
' ';
} else {
echo ''.
' ';
}
if ($section > 1) { // Add a arrow to move section up
echo ''.
' ';
}
if ($section < $course->numsections) { // Add a arrow to move section down
echo ''.
' ';
}
}
echo ' |
';
echo '