Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 230... Línea 230...
230
        if ($type === null) {
230
        if ($type === null) {
231
            $type = 'info';
231
            $type = 'info';
232
        }
232
        }
Línea 233... Línea 233...
233
 
233
 
234
        if ($tooltip) {
234
        if ($tooltip) {
235
            $attributes['data-toggle'] = 'tooltip';
235
            $attributes['data-bs-toggle'] = 'tooltip';
236
            $attributes['title'] = $tooltip;
236
            $attributes['title'] = $tooltip;
237
        }
237
        }
238
        return html_writer::span($tag, "badge badge-{$type}", $attributes);
238
        return html_writer::span($tag, "badge badge-{$type}", $attributes);