"); editor.gotoLine(4); } break; case "PHP": { // We split the php code delimiters so they don't // cause troubles to the obfuscator when we generate the archive. var str = "<"; str += "?" + "php\n\n\n\n?" + ">"; editor.setValue(str); editor.gotoLine(3); } break; } } editor.clearSelection(); window.modalCodeEditorAceEditor = editor; }, onClose: function () { $('#Modal-Content-Button-1-Version-A').removeAttr('disabled'); if (window.modalCodeEditorAceEditor) { window.modalCodeEditorAceEditor.destroy(); window.modalCodeEditorAceEditor = null; } window.modalCodeEditorOptions = null; } }); } function showConversionScript() { var iframeCodeTemplate = ""; var scriptContent = iframeCodeTemplate.replace(Permalinks.PARAM_TRAFFIC_POSTBACK_PIXEL_SALT_DEFAULT_VALUE, microtime(true)); modalCopyText({ label: 'iFrame to Place on Your Thank You Page:', text: scriptContent, textFieldType: 'textarea', textAreaRows: 5, header: '
' }); }