Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 347... Línea 347...
347
}
347
}
Línea 348... Línea 348...
348
 
348
 
349
// Now let's process the learning forums.
349
// Now let's process the learning forums.
350
if ($course->id != SITEID) {    // Only real courses have learning forums
350
if ($course->id != SITEID) {    // Only real courses have learning forums
351
    // 'format_.'$course->format only applicable when not SITEID (format_site is not a format)
351
    // 'format_.'$course->format only applicable when not SITEID (format_site is not a format)
352
    $strsectionname  = get_string('sectionname', 'format_'.$course->format);
352
    $strsectionname  = course_get_format($course)->get_generic_section_name();
353
    // Add extra field for section number, at the front
353
    // Add extra field for section number, at the front
354
    array_unshift($learningtable->head, $strsectionname);
354
    array_unshift($learningtable->head, $strsectionname);
Línea 455... Línea 455...
455
$PAGE->navbar->add($strforums);
455
$PAGE->navbar->add($strforums);
456
$PAGE->set_title("$course->shortname: $strforums");
456
$PAGE->set_title("$course->shortname: $strforums");
457
$PAGE->set_heading($course->fullname);
457
$PAGE->set_heading($course->fullname);
458
echo $OUTPUT->header();
458
echo $OUTPUT->header();
Línea 459... Línea 459...
459
 
459
 
460
echo html_writer::start_div('input-group mr-5');
460
echo html_writer::start_div('input-group me-5');
461
echo $searchform;
461
echo $searchform;
Línea 462... Línea 462...
462
echo html_writer::end_div();
462
echo html_writer::end_div();
463
 
463