From 6a3a4627f7960305ef168f4e26d59f52ad4ebf6e Mon Sep 17 00:00:00 2001 From: JT Smith Date: Fri, 26 Mar 2004 01:22:57 +0000 Subject: [PATCH] fixed [ 915498 ] htmlArea - insert image WebGUI 6.0 --- docs/changelog/6.x.x.txt | 1 + docs/upgrades/upgrade_6.0.0-6.0.1.sql | 3 ++- lib/WebGUI/Style.pm | 11 ++++++++++- www/extras/htmlArea/editor.html | 1 + www/extras/htmlArea/editor.js | 8 ++++++-- www/extras/htmlArea/popups/fullscreen.html | 4 ++-- www/extras/htmlArea/popups/insert_image.html | 12 ++++++++---- 7 files changed, 30 insertions(+), 10 deletions(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 01a039753..8d4fcff23 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -23,6 +23,7 @@ Andreas Graf). Mountifield.) - Added Tony Mountifield to the credits list for all his debugging efforts as of late. + - Bugfix [ 915498 ] htmlArea - insert image WebGUI 6.0 6.0.0 diff --git a/docs/upgrades/upgrade_6.0.0-6.0.1.sql b/docs/upgrades/upgrade_6.0.0-6.0.1.sql index 1f537751c..8cd02109c 100644 --- a/docs/upgrades/upgrade_6.0.0-6.0.1.sql +++ b/docs/upgrades/upgrade_6.0.0-6.0.1.sql @@ -82,5 +82,6 @@ update Navigation set depth=99 where depth=0; delete from international where internationalId=981 and namespace='WebGUI'; delete from template where namespace='Macro/L_loginBox' and templateId=2; INSERT INTO template VALUES (2,'Horizontal Login Box','
\n\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \">\n \n\n \n \">.\n
\n \n \n
\n
\n
\n','Macro/L_loginBox',1,1); - +delete from template where namespace='richEditor' and templateId=1; +INSERT INTO template VALUES (1,'HTMLArea','\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n','richEditor',1,1); diff --git a/lib/WebGUI/Style.pm b/lib/WebGUI/Style.pm index d3963925c..5cf8d2f56 100644 --- a/lib/WebGUI/Style.pm +++ b/lib/WebGUI/Style.pm @@ -105,7 +105,16 @@ sub process { - '.$session{page}{head}{raw}; + '.$session{page}{head}{raw}.' + + '; # generate additional link tags foreach my $url (keys %{$session{page}{head}{link}}) { $var{'head.tags'} .= '