Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 542... Línea 542...
542
        $options[''] = get_string('none');
542
        $options[''] = get_string('none');
543
        foreach (get_role_archetypes() as $type) {
543
        foreach (get_role_archetypes() as $type) {
544
            $options[$type] = get_string('archetype'.$type, 'role');
544
            $options[$type] = get_string('archetype'.$type, 'role');
545
        }
545
        }
546
        return html_writer::select($options, 'archetype', $this->role->archetype, false,
546
        return html_writer::select($options, 'archetype', $this->role->archetype, false,
547
            array('class' => 'custom-select'));
547
            ['class' => 'form-select']);
548
    }
548
    }
Línea 549... Línea 549...
549
 
549
 
550
    protected function get_assignable_levels_control() {
550
    protected function get_assignable_levels_control() {
551
        $output = '';
551
        $output = '';
Línea 653... Línea 653...
653
        echo $caption;
653
        echo $caption;
654
        if ($name) {
654
        if ($name) {
655
            echo "</label>\n";
655
            echo "</label>\n";
656
        }
656
        }
657
        if ($helpicon) {
657
        if ($helpicon) {
658
            echo '<span class="float-sm-right text-nowrap">'.$helpicon.'</span>';
658
            echo '<span class="float-sm-end text-nowrap">'.$helpicon.'</span>';
659
        }
659
        }
660
        echo '</div>';
660
        echo '</div>';
661
        if (isset($this->errors[$name])) {
661
        if (isset($this->errors[$name])) {
662
            $extraclass = ' error';
662
            $extraclass = ' error';
663
        } else {
663
        } else {