Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 116... Línea 116...
116
                } else {
116
                } else {
117
                    $data = $setting->get_setting();
117
                    $data = $setting->get_setting();
118
                }
118
                }
119
                $outputhtml .= html_writer::tag('div', '<!-- -->', array('class' => 'clearer'));
119
                $outputhtml .= html_writer::tag('div', '<!-- -->', array('class' => 'clearer'));
120
                $outputhtml .= $setting->output_html($data);
120
                $outputhtml .= $setting->output_html($data);
-
 
121
                if ($childpage->has_dependencies()) {
-
 
122
                    $opts = ['dependencies' => $childpage->get_dependencies_for_javascript()];
-
 
123
                    $PAGE->requires->js_call_amd('core/showhidesettings', 'init', [$opts]);
-
 
124
                }
121
            }
125
            }
122
            $outputhtml .= html_writer::end_tag('fieldset');
126
            $outputhtml .= html_writer::end_tag('fieldset');
123
        }
127
        }
124
    } else if ($childpage instanceof admin_category) {
128
    } else if ($childpage instanceof admin_category) {
125
        $outputhtml .= $OUTPUT->heading(html_writer::link(new moodle_url('/'.$CFG->admin.'/category.php', array('category' => $childpage->name)), get_string('admincategory', 'admin', $childpage->visiblename)), 3);
129
        $outputhtml .= $OUTPUT->heading(html_writer::link(new moodle_url('/'.$CFG->admin.'/category.php', array('category' => $childpage->name)), get_string('admincategory', 'admin', $childpage->visiblename)), 3);