function openTemplateDialogDisplayModule(title, templateName, isIFrame, enablePrint, showContentFromID, language) { if ($("#trv_module_dialog_template_display").length == 0) { blockScreen(); enablePrint = (enablePrint == null || enablePrint) ? 1:0; showContentFromID = showContentFromID == null? '':showContentFromID; isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); language = (language == null || !language) ? 'de':language; $("body").append(""); $("#trv_module_dialog_template_display").load("https://news.it-matchmaker.com/core/modules/template_dialog_display/components/dialog_template_display.php?enablePrint="+enablePrint+"&isIFrame="+isIFrame+"&templateName="+encodeURI(templateName)+"&showContentFromID="+encodeURI(showContentFromID)+"&full_path=NVlFXzhjbUlsYDx5b3JMaH1gI19ZOlQkfXhhcFgqXkF9OyhNJDw0YmthUXYkWiFMWTdEaVcyR0luMEY3LFsmR0NLSD5wNiotSFoxeA,,&app_language="+language+"&PHPSESSID=8dbcd529865b171de50573f72189a65c").dialog({ close: function(event, ui) { shortcut.remove("Return"); if (enablePrint) { shortcut.remove("Alt+d"); } $(this).dialog('destroy'); $("#trv_module_dialog_template_display").remove(); }, closeOnEscape: true, resizable: false, position: position, minHeight: 500, height: 'auto', width: 622, modal: true, bgiframe: true, title: title }); } }