function openRegistrationModule(registrationType, isIFrame, md5) { if ($("#trv_module_dialog_registration_matchmaker").length == 0) { if (($(".trv_itm_favcount:first").text() == "0") && (registrationType == "report")) { return; } blockScreen(); registrationTitle = "Registratie"; if (registrationType == null) { registrationType = 'light'; registrationType = 'dsgvo'; } else if (registrationType == 'pro') { registrationTitle = "Registratie Professional Licentie"; } else if (registrationType == 'report') { registrationTitle = "AANVRAAG TOP 20 RAPPORT"; } else if (registrationType == 'vendor') { registrationTitle = "Registratie als leverancier van business software"; } isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (md5 == null) { md5 = 0; } dialogWidth = 600; if (registrationType == 'light' || registrationType == 'dsgvo') { dialogWidth = 900; } dialogMinHeight = 545; if(registrationType == 'dsgvo') dialogMinHeight = 500; $("body").append(""); $("#trv_module_dialog_registration_matchmaker").load("http://www.it-matchmaker.nl/core/modules/registration_matchmaker/components/dialog_register.php?isIFrame="+isIFrame+"®istrationType="+registrationType+"&md5="+md5+"&full_path=NVkzNENoeWMoUmQ1aGFGPUYzd0ZzdUE7LCgvKD4xekhkZTVDK0ZzRWhiNVdtQjA8PkMqZEI_KyA7JXA7PjN5VHomcUVXW1daUG8sM2Fjbn0,&app_language=nl&PHPSESSID=d047856150a38b52e8f7b4acb659f60b").dialog({ close: function(event, ui) { trv_setPiwik(null,"Registrierung - Dialog closed"); registrationMatchmakerContentChanged(false); shortcut.remove("Alt+r"); shortcut.remove("Alt+a"); shortcut.remove("Alt+w"); $(this).dialog('destroy'); $("#trv_module_dialog_registration_matchmaker").remove(); }, beforeClose: function(event, ui) { return closeRegistrationMatchmakerDialog(); }, closeOnEscape: false, resizable: false, position: position, minHeight: dialogMinHeight, height: 'auto', width: dialogWidth, modal: true, bgiframe: true, title: registrationTitle }); } } var changedRegistrationMatchmakerContent = false; function registrationMatchmakerContentChanged(changed) { changedRegistrationMatchmakerContent = changed; setUnload(changed, "De registratie is gestart maar niet verzonden!"); }