From 78b572e10590a89824f0a804696f37af8760c913 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Thu, 18 Aug 2011 14:46:13 +0200 Subject: [PATCH] =?utf8?q?On=20pr=C3=A9pare=20de=20quoi=20se=20concentrer?= =?utf8?q?=20sur=20les=20images=20incorpor=C3=A9es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../plinn_image/dialog/embedded_images.html.pt | 13 ++++++------- .../plinn_image/dialog/plinn_image.html.pt | 2 +- .../plugins/plinn_image/dialog/plinn_image.js | 17 +++++++++-------- .../plinn_image/dialog/plinn_image_tabs.html.pt | 6 +++--- skins/ckeditor/plugins/plinn_image/plugin.js | 1 + 5 files changed, 20 insertions(+), 19 deletions(-) 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 @@ //