From ac55cc1e41e373a619db230a047e298cf75798c9 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 18 Apr 2006 17:52:00 +0000 Subject: [PATCH] fixed a bunch of problems related to the tinymce upgrade --- lib/WebGUI/Operation/FormHelpers.pm | 9 +- .../plugins/collateral/collateral.html | 35 +++---- .../plugins/collateral/editor_plugin.js | 4 +- .../tiny_mce/plugins/collateral/langs/en.js | 5 + .../plugins/insertImage/editor_plugin.js | 3 +- .../plugins/pagetree/editor_plugin.js | 14 ++- .../tiny_mce/plugins/pagetree/langs/en.js | 5 + .../tiny_mce/plugins/pagetree/pagetree.html | 96 ------------------- 8 files changed, 43 insertions(+), 128 deletions(-) create mode 100644 www/extras/tinymce2/jscripts/tiny_mce/plugins/collateral/langs/en.js create mode 100644 www/extras/tinymce2/jscripts/tiny_mce/plugins/pagetree/langs/en.js delete mode 100755 www/extras/tinymce2/jscripts/tiny_mce/plugins/pagetree/pagetree.html diff --git a/lib/WebGUI/Operation/FormHelpers.pm b/lib/WebGUI/Operation/FormHelpers.pm index a1e758040..bb5a313f2 100644 --- a/lib/WebGUI/Operation/FormHelpers.pm +++ b/lib/WebGUI/Operation/FormHelpers.pm @@ -90,7 +90,7 @@ sub www_richEditPageTree { -value=>$i18n->get('done'), -extras=>'onclick="createLink()"' ); - $session->style->setScript($session->config->get("extrasURL")."/tinymce/jscripts/tiny_mce/tiny_mce_popup.js",{type=>"text/javascript"}); + $session->style->setScript($session->config->get("extrasURL")."/tinymce2/jscripts/tiny_mce/tiny_mce_popup.js",{type=>"text/javascript"}); my $output = '
'.$i18n->get('insert a link').'
'.$i18n->get('insert a link').''.$f->print.'
\n"; return $output; } - return '
'.$i18n->get('image manager').'
'; + return '
'.$i18n->get('image manager').'
'; } #------------------------------------------------------------------- diff --git a/www/extras/tinymce2/jscripts/tiny_mce/plugins/collateral/collateral.html b/www/extras/tinymce2/jscripts/tiny_mce/plugins/collateral/collateral.html index ab31607eb..c57533bcf 100644 --- a/www/extras/tinymce2/jscripts/tiny_mce/plugins/collateral/collateral.html +++ b/www/extras/tinymce2/jscripts/tiny_mce/plugins/collateral/collateral.html @@ -32,23 +32,24 @@ function returnSelected(in_values) { - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file