HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/lib/tiny_mce/editor.html
{if !$tinyMCEJSLoaded}
	<script type="text/javascript">//<!--

	//	tinymce will load the js for our insert link plugin directly so we need to define lang here, since the js file won't pass through js.php
	iwp_urlBrowser_lang = {
		URLBrowser: {$lang.URLBrowser|iwp_FilterJavascriptString},
		ImageBrowser: {$lang.ImageBrowser|iwp_FilterJavascriptString},
		InsertURL: {$lang.InsertURL|iwp_FilterJavascriptString},
		InsertThumbnail: {$lang.InsertThumbnail|iwp_FilterJavascriptString},
		Cancel: {$lang.Cancel|iwp_FilterJavascriptString},
		URLBrowserTinyMCEButtonText: {$lang.URLBrowserTinyMCEButtonText|iwp_FilterJavascriptString}
	};

	//--></script>

	{if $tinyMCE.useGZIP}
		<script type="text/javascript" src="{$tinyMCE.shortUrl}tiny_mce_gzip.js"></script>
		<script type="text/javascript">//<!--
		if (typeof IWP_tinyMCE_GZ_init == 'undefined' || !IWP_tinyMCE_GZ_init) {
			tinyMCE_GZ.init({
				plugins : {$tinyMCE.pluginList|iwp_FilterJavascriptString},
				themes : 'advanced',
				languages : 'en',
				disk_cache : true,
				debug : false
			});

			IWP_tinyMCE_GZ_init = true;
		}
		//--></script>
	{else}
		<script type="text/javascript" src="{$tinyMCE.shortUrl}tiny_mce.js"></script>
	{/if}
{/if}

{capture name=tinyMCEJSLoaded}1{/capture}

<script type="text/javascript">//<!--

var iwp_tinymce_editor_object = null;

var iwp_tinymce_theme_advanced_buttons1 = {$tinyMCE.buttons1|iwp_FilterJavascriptString};
var iwp_tinymce_theme_advanced_buttons2 = {$tinyMCE.buttons2|iwp_FilterJavascriptString};
var iwp_tinymce_theme_advanced_buttons3 = {$tinyMCE.buttons3|iwp_FilterJavascriptString};
var iwp_tinymce_theme_advanced_buttons4 = {$tinyMCE.buttons4|iwp_FilterJavascriptString};

{$tinyMCE.pluginHook}

var iwp_urlBrowser_linkDialogDoc = null;
var iwp_urlBrowser_linkDialogField = null;

function iwp_urlBrowser (field_name, url, type, win) {
	//	link inserter, type = 'file'
	//	media inserter, type = 'media'
	//	image inserter, type = 'image'
	iwp_urlBrowser_linkDialogDoc = win.document;	//	this is the DOM Document for the link dialog (inside the iframe)
	iwp_urlBrowser_linkDialogField = field_name;

	//	need to display an interface for selecting a URL from IWP's content
	$.fn.window.create({
			title    : iwp_urlBrowser_lang.URLBrowser,
			width    : {$tinyMCE.width},
			zIndex   : 400000,
			autoOpen : true,
			uri      : '{$config.siteURL}/admin/remote.php?section=content&action=urlbrowser&type=' + escape(type)
		})
		.buttons('<button disabled="disabled" class="urlbrowser-insert" id="urlbrowser-insert">' + iwp_urlBrowser_lang.InsertURL + '</button> <button id="urlbrowser-cancel">' + iwp_urlBrowser_lang.Cancel + '</button><br style="clear: both;" />');
}

function iwp_urlBrowser_insert (url) {
	if (!iwp_urlBrowser_linkDialogDoc || !url || !iwp_urlBrowser_linkDialogField) {
		return;
	}

	var field = $('#'+ iwp_urlBrowser_linkDialogField, iwp_urlBrowser_linkDialogDoc);

	if (!field.length) {
		return;
	}

	field.val(url);

	var oldbg = field.css('backgroundColor');
	field.css({backgroundColor: '#FFFF9C'}).animate({backgroundColor: oldbg}, 1000);
}

function loadTinyMCE() {
	// O2k7 skin (silver)
	var thisEd = tinyMCE.init({
		// General options
		mode : "{$tinyMCE.mode}",
		{if $tinyMCE.mode != 'none'}
			elements : "{$tinyMCE.elementId}",
		{/if}
		elements : "{$tinyMCE.elementId}",
		theme : "advanced",
		skin : "o2k7",
		skin_variant : "silver",
		plugins : {$tinyMCE.pluginList|iwp_FilterJavascriptString},

		// Theme options
		theme_advanced_buttons1 : iwp_tinymce_theme_advanced_buttons1,
		theme_advanced_buttons2 : iwp_tinymce_theme_advanced_buttons2,
		theme_advanced_buttons3 : iwp_tinymce_theme_advanced_buttons3,
		theme_advanced_buttons4 : iwp_tinymce_theme_advanced_buttons4,
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : {if $tinyMCE.resizing}true{else}false{/if},
		theme_advanced_resize_horizontal : {if $tinyMCE.horizontalResizing}true{else}false{/if},
		extended_valid_elements : "iframe[src|width|height|name|align|frameborder|scrolling],marquee[scrollamount|scrolldelay|direction|width|height|style]",
		convert_urls: false,
		relative_urls: false,
		remove_script_host: false,
		document_base_url : "{$config.siteURL}/",

		{if $tinyMCE.readonly}
			readonly: 1,
		{/if}

		{if $tinyMCE.width > 0}
			width: "{$tinyMCE.width}",
		{/if}
		{if $tinyMCE.height > 0}
			height: "{$tinyMCE.height}",
		{/if}

		// Example content CSS (should be your site CSS)
		content_css : "{$tinyMCE.shortUrl}themes/advanced/skins/o2k7/content.css",

		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "{$tinyMCE.shortUrl}lists/template_list.js",
		external_link_list_url : "{$config.appPath}admin/remote.php?section=imagemanager&action=getimageslist",
		external_image_list_url : "{$config.appPath}admin/remote.php?section=imagemanager&action=getimageslist",
		media_external_list_url : "{$tinyMCE.shortUrl}lists/media_list.js",

		// Replace values for the template plugin
		template_replace_values : {
		},

		// use the iwp url browser
		file_browser_callback : 'iwp_urlBrowser'
	});

}

{if !$tinyMCE.delayLoad}
	loadTinyMCE();
{/if}

//--></script>
<!-- /TinyMCE -->