get_documents_form($documents_selected); } break; } } elseif ($categ == "collections") { $collections = new cms_collections(); switch ($action) { default: break; } } if(!empty($response['content'])) { if(empty($response['content-type'])) { $response['content-type'] = "text/html"; } ajax_http_send_response($response['content'],$response['content-type']); }