1 tinyMCEPopup.requireLangPack();
\r
6 tinyMCEPopup.resizeToInnerSize();
\r
7 ed = tinyMCEPopup.editor;
\r
10 window.setTimeout('insertHelpIFrame();', 10);
\r
12 tcont = document.getElementById('plugintablecontainer');
\r
13 document.getElementById('plugins_tab').style.display = 'none';
\r
16 html += '<table id="plugintable">';
\r
19 html += '<td>' + ed.getLang('advanced_dlg.about_plugin') + '</td>';
\r
20 html += '<td>' + ed.getLang('advanced_dlg.about_author') + '</td>';
\r
21 html += '<td>' + ed.getLang('advanced_dlg.about_version') + '</td>';
\r
26 tinymce.each(ed.plugins, function(p, n) {
\r
36 if (info.infourl != null && info.infourl != '')
\r
37 html += '<td width="50%" title="' + n + '"><a href="' + info.infourl + '" target="_blank">' + info.longname + '</a></td>';
\r
39 html += '<td width="50%" title="' + n + '">' + info.longname + '</td>';
\r
41 if (info.authorurl != null && info.authorurl != '')
\r
42 html += '<td width="35%"><a href="' + info.authorurl + '" target="_blank">' + info.author + '</a></td>';
\r
44 html += '<td width="35%">' + info.author + '</td>';
\r
46 html += '<td width="15%">' + info.version + '</td>';
\r
49 document.getElementById('plugins_tab').style.display = '';
\r
56 tcont.innerHTML = html;
\r
58 tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion;
\r
59 tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate;
\r
62 function insertHelpIFrame() {
\r
65 if (tinyMCEPopup.getParam('docs_url')) {
\r
66 html = '<iframe width="100%" height="300" src="' + tinyMCEPopup.editor.baseURI.toAbsolute(tinyMCEPopup.getParam('docs_url')) + '"></iframe>';
\r
67 document.getElementById('iframecontainer').innerHTML = html;
\r
68 document.getElementById('help_tab').style.display = 'block';
\r
72 tinyMCEPopup.onInit.add(init);
\r