Merge branch 'MDL-87552-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE

This commit is contained in:
Mihail Geshoski
2026-02-16 13:29:49 +08:00
+3 -2
View File
@@ -104,13 +104,14 @@ if ($groupings = $DB->get_records('groupings', array('courseid'=>$course->id), '
}
$table = new html_table();
$table->head = array($strgrouping, $strgroups, $struses, $stredit);
$table->size = array('30%', '50%', '10%', '10%');
$table->size = ['30%', '45%', '10%', '15%'];
$table->align = array('left', 'left', 'center', 'center');
$table->width = '90%';
$table->attributes['class'] = 'generaltable table table-hover table-striped';
$table->data = $data;
echo html_writer::table($table);
echo $OUTPUT->container_start('buttons');
echo $OUTPUT->container_start('buttons mt-3');
echo $OUTPUT->single_button(new moodle_url('grouping.php', array('courseid'=>$courseid)), $srtnewgrouping);
echo $OUTPUT->container_end();