Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 68... Línea 68...
68
            $overviewlink->out(false) => get_string('overview', 'mod_lesson'),
68
            $overviewlink->out(false) => get_string('overview', 'mod_lesson'),
69
            $fulllink->out(false) => get_string('detailedstats', 'mod_lesson')
69
            $fulllink->out(false) => get_string('detailedstats', 'mod_lesson')
70
        ];
70
        ];
71
        $reportselect = new \url_select($menu, $this->url->out(false), null, 'lesson-report-select');
71
        $reportselect = new \url_select($menu, $this->url->out(false), null, 'lesson-report-select');
72
        $reportselect->label = get_string('selectreport', 'mod_lesson');
72
        $reportselect->label = get_string('selectreport', 'mod_lesson');
73
        $reportselect->labelattributes = ['class' => 'sr-only'];
73
        $reportselect->labelattributes = ['class' => 'visually-hidden'];
Línea 74... Línea 74...
74
 
74
 
75
        $data = [
75
        $data = [
76
            'reportselect' => $reportselect->export_for_template($output),
76
            'reportselect' => $reportselect->export_for_template($output),
77
            'heading' => $menu[$reportselect->selected] ?? '',
77
            'heading' => $menu[$reportselect->selected] ?? '',