function init() { var inst; tinyMCEPopup.resizeToInnerSize(); inst = tinyMCE.selectedInstance; // Give FF some time window.setTimeout('insertHelpIFrame();', 10); var tcont = document.getElementById('plugintablecontainer'); var plugins = tinyMCE.getParam('plugins', '', true, ','); if (plugins.length == 0) document.getElementById('plugins_tab').style.display = 'none'; var html = ""; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; for (var i=0; i' + info.longname + ''; else html += ''; if (info.authorurl != null && info.authorurl != '') html += ''; else html += ''; html += ''; html += ''; } html += ''; html += '
' + tinyMCE.getLang('lang_plugin') + '' + tinyMCE.getLang('lang_author') + '' + tinyMCE.getLang('lang_version') + '
' + info.longname + '' + info.author + '' + info.author + '' + info.version + '
'; tcont.innerHTML = html; } function getPluginInfo(name) { if (tinyMCE.plugins[name].getInfo) return tinyMCE.plugins[name].getInfo(); return { longname : name, authorurl : '', infourl : '', author : '--', version : '--' }; } function insertHelpIFrame() { var html = ''; document.getElementById('iframecontainer').innerHTML = html; html = ''; html += 'Got Moxie? '; html += 'Hosted By Sourceforge '; html += 'Also on freshmeat '; document.getElementById('buttoncontainer').innerHTML = html; }