webservice MDL-20803 add switch to disable documentation, fix renderer call on login page, fix xhtml strict, add css file. TODO: use output render function to display tag, move all css style into the css file

This commit is contained in:
jerome mouneyrac
2009-12-21 04:01:02 +00:00
parent d185ff44e1
commit 7886efc41e
6 changed files with 60 additions and 30 deletions
+1
View File
@@ -249,6 +249,7 @@ if ($hassiteconfig) {
if (empty($CFG->enablewebservices)) {
$temp->add(new admin_setting_heading('webservicesaredisabled', '', get_string('disabledwarning', 'webservice')));
}
$temp->add(new admin_setting_configcheckbox('enablewsdocumentation', get_string('enablewsdocumentation', 'admin'), get_string('configenablewsdocumentation', 'admin'), false));
$ADMIN->add('webservicesettings', $temp);
$webservices_available = get_plugin_list('webservice');
$active_webservices = empty($CFG->webserviceprotocols) ? array() : explode(',', $CFG->webserviceprotocols);