On prépare de quoi se concentrer sur les images incorporées.
[ckeditor.git] / skins / ckeditor / plugins / plinn_image / dialog / plinn_image.js
index 424024a..7962d13 100644 (file)
@@ -3,20 +3,21 @@
 // Licence GPL
 
 var editor             = window.dialogArguments.editor;
-var FCK                        = editor.FCK ;
-var FCKLang            = editor.FCKLang ;
-var FCKConfig  = editor.FCKConfig ;
-var FCKPlugins = editor.FCKPlugins;
-var FCKDebug   = editor.FCKDebug ;
+var pluginPath         = window.dialogArguments.pluginPath;
+//var FCK                      = editor.FCK ;
+//var FCKLang          = editor.FCKLang ;
+//var FCKConfig        = editor.FCKConfig ;
+//var FCKPlugins       = editor.FCKPlugins;
+//var FCKDebug = editor.FCKDebug ;
 
 window.onload = function() {
        var mainFrame = window.frames['main'];
-       mainFrame.src = FCKPlugins.Items['image'].Path + 'embedded_images.html';
+       mainFrame.src = pluginPath + 'dialog/embedded_images.html';
        mainFrame.location.href = mainFrame.src;
        
        var tabsFrame = window.frames['tabs'];
-       tabsFrame.src = FCKPlugins.Items['image'].Path + 'plinn_image_tabs.html'
-       tabsFrame.location.href = FCKPlugins.Items['image'].Path + 'plinn_image_tabs.html'
+       tabsFrame.src = pluginPath + 'dialog/plinn_image_tabs.html';
+       tabsFrame.location.href = tabsFrame.src;
 }
 
 function updateOrInsertImage(url) {