Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 105... Línea 105...
105
        return html_writer::tag('span', $boxcontents, $attributes) . ' ' . $feedbackimage;
105
        return html_writer::tag('span', $boxcontents, $attributes) . ' ' . $feedbackimage;
106
    }
106
    }
Línea 107... Línea 107...
107
 
107
 
108
    protected function drag_boxes($qa, $group, $choices, question_display_options $options) {
108
    protected function drag_boxes($qa, $group, $choices, question_display_options $options) {
109
        $boxes = '';
-
 
110
        foreach ($choices as $key => $choice) {
-
 
111
            // Bug 8632: long text entry causes bug in drag and drop field in IE.
-
 
112
            $content = str_replace('-', '‑', $choice->text);
-
 
Línea -... Línea 109...
-
 
109
        $boxes = '';
-
 
110
 
113
            $content = str_replace(' ', ' ', $content);
111
        foreach ($choices as $key => $choice) {
114
 
112
            $content = question_utils::format_question_fragment($choice->text, $this->page->context);
115
            $infinite = '';
113
            $infinite = '';
116
            if ($choice->infinite) {
114
            if ($choice->infinite) {