Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 49... Línea 49...
49
    $timenow = time();
49
    $timenow = time();
Línea 50... Línea 50...
50
 
50
 
Línea 51... Línea 51...
51
    $table = new html_table();
51
    $table = new html_table();
52
 
52
 
53
    if ($usesections) {
53
    if ($usesections) {
54
        $strsectionname = get_string('sectionname', 'format_'.$course->format);
54
        $strsectionname = course_get_format($course)->get_generic_section_name();
55
        $table->head  = array ($strsectionname, get_string("question"), get_string("answer"));
55
        $table->head  = array ($strsectionname, get_string("question"), get_string("answer"));
56
        $table->align = array ("center", "left", "left");
56
        $table->align = array ("center", "left", "left");
57
    } else {
57
    } else {
Línea 101... Línea 101...
101
    }
101
    }
102
    echo "<br />";
102
    echo "<br />";
103
    echo html_writer::table($table);
103
    echo html_writer::table($table);
Línea 104... Línea 104...
104
 
104
 
105
    echo $OUTPUT->footer();
-
 
106
 
-