instantiate_source_class($source_id); $groups_collections = $webdav_source->get_groups_collections(); if (file_exists($base_path.'/admin/connecteurs/out/webdav/groups/'.$groups_collections[$group_name]['class'].'.class.php')) { require_once($base_path.'/admin/connecteurs/out/webdav/groups/'.$groups_collections[$group_name]['class'].'.class.php'); $webdav_group = new $groups_collections[$group_name]['class']($webdav_source->config, $webdav_source->get_group_collections($group_name), $webdav->msg); print encoding_normalize::json_encode(array( 'form' => $webdav_group->get_config_form(), 'script' => $webdav_group->get_config_form_script() )); } else { print ''; } break; }