Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 206... Línea 206...
206
        global $OUTPUT;
206
        global $OUTPUT;
Línea 207... Línea 207...
207
 
207
 
208
        $analysed_item = $this->get_analysed($item, $groupid, $courseid);
208
        $analysed_item = $this->get_analysed($item, $groupid, $courseid);
209
        if ($analysed_item) {
209
        if ($analysed_item) {
210
            $itemname = $analysed_item[1];
210
            $itemname = $analysed_item[1];
211
            echo "<table class=\"analysis itemtype_{$item->typ}\">";
211
            echo "<table class=\"analysis itemtype_{$item->typ} table-reboot\">";
212
            echo '<tr><th class="text-left">';
212
            echo '<tr><th class="text-start">';
213
            echo $itemnr . ' ';
213
            echo $itemnr . ' ';
214
            if (strval($item->label) !== '') {
214
            if (strval($item->label) !== '') {
215
                echo '('. format_string($item->label).') ';
215
                echo '('. format_string($item->label).') ';
216
            }
216
            }
Línea 317... Línea 317...
317
        $info = $this->get_info($item);
317
        $info = $this->get_info($item);
318
        $name = $this->get_display_name($item);
318
        $name = $this->get_display_name($item);
319
        $class = 'multichoice-' . $info->subtype;
319
        $class = 'multichoice-' . $info->subtype;
320
        $inputname = $item->typ . '_' . $item->id;
320
        $inputname = $item->typ . '_' . $item->id;
321
        $options = $this->get_options($item);
321
        $options = $this->get_options($item);
322
        $separator = !empty($info->horizontal) ? ' ' : '<br>';
322
        $separator = !empty($info->horizontal) ? ' ' : \html_writer::div('', 'w-100');
323
        $tmpvalue = $form->get_item_value($item) ?? 0; // Used for element defaults, so must be a valid value (not null).
323
        $tmpvalue = $form->get_item_value($item) ?? 0; // Used for element defaults, so must be a valid value (not null).
Línea 324... Línea 324...
324
 
324
 
325
        // Subtypes:
325
        // Subtypes:
326
        // r = radio
326
        // r = radio