All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.scripts.tiny_mce.themes.advanced.js.about.js Maven / Gradle / Ivy

The newest version!
tinyMCEPopup.requireLangPack();

function init() {
	var ed, tcont;

	tinyMCEPopup.resizeToInnerSize();
	ed = tinyMCEPopup.editor;

	// Give FF some time
	window.setTimeout(insertHelpIFrame, 10);

	tcont = document.getElementById('plugintablecontainer');
	document.getElementById('plugins_tab').style.display = 'none';

	var html = "";
	html += '';
	html += '';
	html += '';
	html += '';
	html += '';
	html += '';
	html += '';
	html += '';
	html += '';

	tinymce.each(ed.plugins, function(p, n) {
		var info;

		if (!p.getInfo)
			return;

		html += '';

		info = p.getInfo();

		if (info.infourl != null && info.infourl != '')
			html += '';
		else
			html += '';

		if (info.authorurl != null && info.authorurl != '')
			html += '';
		else
			html += '';

		html += '';
		html += '';

		document.getElementById('plugins_tab').style.display = '';

	});

	html += '';
	html += '
' + ed.getLang('advanced_dlg.about_plugin') + '' + ed.getLang('advanced_dlg.about_author') + '' + ed.getLang('advanced_dlg.about_version') + '
' + info.longname + '' + info.longname + '' + info.author + '' + info.author + '' + info.version + '
'; tcont.innerHTML = html; tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate; } function insertHelpIFrame() { var html; if (tinyMCEPopup.getParam('docs_url')) { html = ''; document.getElementById('iframecontainer').innerHTML = html; document.getElementById('help_tab').style.display = 'block'; document.getElementById('help_tab').setAttribute("aria-hidden", "false"); } } tinyMCEPopup.onInit.add(init);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy