X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Flibs%2Ftiny_mce%2Fplugins%2Ftemplate%2Fjs%2Ftemplate.js;fp=mw%2Flibs%2Ftiny_mce%2Fplugins%2Ftemplate%2Fjs%2Ftemplate.js;h=0000000000000000000000000000000000000000;hb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;hp=24045d7311a891e57c5e35d1c9c3848487a6e7ab;hpb=e1b64e4088232b9d7b4acb2dc24279bb38fcafba;p=mtweb diff --git a/mw/libs/tiny_mce/plugins/template/js/template.js b/mw/libs/tiny_mce/plugins/template/js/template.js deleted file mode 100644 index 24045d7..0000000 --- a/mw/libs/tiny_mce/plugins/template/js/template.js +++ /dev/null @@ -1,106 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var TemplateDialog = { - preInit : function() { - var url = tinyMCEPopup.getParam("template_external_list_url"); - - if (url != null) - document.write(''); - }, - - init : function() { - var ed = tinyMCEPopup.editor, tsrc, sel, x, u; - - tsrc = ed.getParam("template_templates", false); - sel = document.getElementById('tpath'); - - // Setup external template list - if (!tsrc && typeof(tinyMCETemplateList) != 'undefined') { - for (x=0, tsrc = []; x'); - }); - }, - - selectTemplate : function(u, ti) { - var d = window.frames['templatesrc'].document, x, tsrc = this.tsrc; - - if (!u) - return; - - d.body.innerHTML = this.templateHTML = this.getFileContents(u); - - for (x=0; x