Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 73... Línea 73...
73
$strnumnotapproved = get_string('numnotapproved', 'data');
73
$strnumnotapproved = get_string('numnotapproved', 'data');
Línea 74... Línea 74...
74
 
74
 
Línea 75... Línea 75...
75
$table = new html_table();
75
$table = new html_table();
76
 
76
 
77
if ($usesections) {
77
if ($usesections) {
78
    $strsectionname = get_string('sectionname', 'format_'.$course->format);
78
    $strsectionname = course_get_format($course)->get_generic_section_name();
79
    $table->head  = array ($strsectionname, $strname, $strdescription, $strentries, $strnumnotapproved);
79
    $table->head  = array ($strsectionname, $strname, $strdescription, $strentries, $strnumnotapproved);
80
    $table->align = array ('center', 'center', 'center', 'center', 'center');
80
    $table->align = array ('center', 'center', 'center', 'center', 'center');
81
} else {
81
} else {
Línea 145... Línea 145...
145
 
145
 
146
    $table->data[] = $row;
146
    $table->data[] = $row;
Línea 147... Línea 147...
147
}
147
}
148
 
148
 
149
echo "<br />";
149
echo "<br />";
150
echo html_writer::tag('div', html_writer::table($table), array('class'=>'no-overflow'));
-