From: Benoît Pin Date: Thu, 18 Aug 2011 12:46:13 +0000 (+0200) Subject: On prépare de quoi se concentrer sur les images incorporées. X-Git-Tag: 3.6.1~10 X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/commitdiff_plain/78b572e10590a89824f0a804696f37af8760c913?ds=inline On prépare de quoi se concentrer sur les images incorporées. --- diff --git a/skins/ckeditor/plugins/plinn_image/dialog/embedded_images.html.pt b/skins/ckeditor/plugins/plinn_image/dialog/embedded_images.html.pt index 0efdcdd..8c0d171 100644 --- a/skins/ckeditor/plugins/plinn_image/dialog/embedded_images.html.pt +++ b/skins/ckeditor/plugins/plinn_image/dialog/embedded_images.html.pt @@ -57,12 +57,11 @@ diff --git a/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.html.pt b/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.html.pt index cc5dcf1..65b5a95 100644 --- a/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.html.pt +++ b/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.html.pt @@ -1 +1 @@ - Image selector <body></body> \ No newline at end of file + Image selector <body></body> \ No newline at end of file diff --git a/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.js b/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.js index 424024a..7962d13 100644 --- a/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.js +++ b/skins/ckeditor/plugins/plinn_image/dialog/plinn_image.js @@ -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) { diff --git a/skins/ckeditor/plugins/plinn_image/dialog/plinn_image_tabs.html.pt b/skins/ckeditor/plugins/plinn_image/dialog/plinn_image_tabs.html.pt index 4beb51a..3a48d56 100644 --- a/skins/ckeditor/plugins/plinn_image/dialog/plinn_image_tabs.html.pt +++ b/skins/ckeditor/plugins/plinn_image/dialog/plinn_image_tabs.html.pt @@ -58,11 +58,11 @@ //