diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php index 27835cfc49c..665381f7093 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -246,12 +246,11 @@ if ($_GET["action"] == 'create') print ''; print ''; // éditeur wysiwyg - if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_MAILING) + if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_MAILING) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('body'); - $oFCKeditor->Height = '20' ; - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('body',$objp->description,320,'dolibarr_details'); + $doleditor->Create(); } else { @@ -447,11 +446,9 @@ else // éditeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_MAILING) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('body'); - $oFCKeditor->Value = $mil->body; - $oFCKeditor->Height = '320'; - $oFCKeditor->Create(); + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('body',$mil->body,320,'dolibarr_mailings'); + $doleditor->Create(); } else { diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 7c8c2a0d1e3..69d8a67adf8 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1161,16 +1161,15 @@ if ($_GET['propalid'] > 0) } // éditeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) - { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('desc'); - $oFCKeditor->Value = $objp->description; - $oFCKeditor->Create() ; - } - else - { - print ''; - } + { + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('desc',$objp->description,200,'dolibarr_details'); + $doleditor->Create(); + } + else + { + print ''; + } print ''; print ''; if($societe->tva_assuj == "0") diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index d3f903ac721..b56bbed3b1d 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1355,10 +1355,9 @@ else // éditeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('eldesc'); - $oFCKeditor->Value = $objp->description; - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('eldesc',$objp->description,200,'dolibarr_details'); + $doleditor->Create(); } else { diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 327c95efbe7..8885dfb353a 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1898,10 +1898,9 @@ else // éditeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('desc'); - $oFCKeditor->Value = $objp->description; - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('desc',$objp->description,200,'dolibarr_details'); + $doleditor->Create(); } else { diff --git a/htdocs/includes/fckeditor/fckconfig.js b/htdocs/includes/fckeditor/fckconfig.js index 74763b51845..12956c62f38 100644 --- a/htdocs/includes/fckeditor/fckconfig.js +++ b/htdocs/includes/fckeditor/fckconfig.js @@ -76,7 +76,35 @@ FCKConfig.FloatingPanelsZIndex = 10000 ; FCKConfig.ToolbarLocation = 'In' ; -FCKConfig.ToolbarSets["Dolibarr"] = [ +FCKConfig.ToolbarSets["dolibarr_mailings"] = [ + ['Source','DocProps','-','Save','NewPage','Preview'], + ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'], + ['Undo','Redo','-','Find','Replace','-','About'], + '/', + ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], + ['OrderedList','UnorderedList','-','Outdent','Indent'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], + ['Link','Unlink'], + ['SelectAll','RemoveFormat'], + '/', + ['FontName','FontSize'], + ['Rule','SpecialChar','TextColor','BGColor','FitWindow'] +] ; +FCKConfig.ToolbarSets["dolibarr_notes"] = [ + ['Source','DocProps','-','Save','NewPage','Preview'], + ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'], + ['Undo','Redo','-','Find','Replace','-','About'], + '/', + ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], + ['OrderedList','UnorderedList','-','Outdent','Indent'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], + ['Link','Unlink'], + ['SelectAll','RemoveFormat'], + '/', + ['FontName','FontSize'], + ['Rule','SpecialChar','TextColor','BGColor','FitWindow'] +] ; +FCKConfig.ToolbarSets["dolibarr_details"] = [ ['Source','DocProps','-','Save','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'], ['Undo','Redo','-','Find','Replace','-','About'], diff --git a/htdocs/lib/doleditor.class.php b/htdocs/lib/doleditor.class.php new file mode 100644 index 00000000000..011437c9456 --- /dev/null +++ b/htdocs/lib/doleditor.class.php @@ -0,0 +1,79 @@ + + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * or see http://www.gnu.org/ + * + * $Id$ + * $Source$ + */ + +/** + \file htdocs/lib/doleditor.class.php + \brief Classe permettant de gérer FCKEditor + \version $Revision$ +*/ + +/** + \class DolEditor + \brief Classe de gestion de FCKEditor + \remarks Usage: + \remarks $doleditor=new DolEditor('body',$message,320,'toolbar_mailing'); + \remarks $doleditor->Create(); +*/ + +class DolEditor +{ + var $editor; + + + /** + \brief DolEditor + \param htmlname Nom formulaire html WYSIWIG + \param content Contenu édition WYSIWIG + \param height Hauteur en pixel de la zone édition + \param toolbarname Nom barre de menu éditeur + */ + function DolEditor($htmlname,$content,$height=200,$toolbarname='Basic') + { + global $conf; + + dolibarr_syslog("DolEditor::DolEditor"); + + require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); + $this->editor = new FCKeditor($htmlname); + $this->editor->Value = $content; + $this->editor->Height = $height; + if (file_exists(DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/fckeditor/fckconfig.js')) + { + $this->editor->Config["CustomConfigurationsPath"] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/fckconfig.js'; + $this->editor->ToolbarSet = $toolbarname; + $this->editor->Config['SkinPath'] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/'; + } + } + + + /** + \brief Affiche zone édition + */ + function Create() + { + $this->editor->Create(); + } + +} + + +?> diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 8a51a1e0378..8a5937178ff 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -453,9 +453,9 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('desc'); - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('desc','',200,'dolibarr_notes'); + $doleditor->Create(); } else { @@ -479,9 +479,9 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) print ''.$langs->trans("NoteNotVisibleOnBill").''; if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('note'); - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('note','',200,'dolibarr_notes'); + $doleditor->Create(); } else { @@ -778,10 +778,9 @@ if ($_GET["id"] || $_GET["ref"]) print "\n"; if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('desc'); - $oFCKeditor->Value = $product->description; - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('desc',$product->description,200,'dolibarr_notes'); + $doleditor->Create(); } else { @@ -811,10 +810,9 @@ if ($_GET["id"] || $_GET["ref"]) print ''.$langs->trans("NoteNotVisibleOnBill").''; if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_PRODUCTDESC) { - require_once(DOL_DOCUMENT_ROOT."/includes/fckeditor/fckeditor.php"); - $oFCKeditor = new FCKeditor('note'); - $oFCKeditor->Value = $product->note; - $oFCKeditor->Create() ; + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('note',$product->note,200,'dolibarr_notes'); + $doleditor->Create(); } else { diff --git a/htdocs/theme/eldy/fckeditor/fck_dialog.css b/htdocs/theme/eldy/fckeditor/fck_dialog.css new file mode 100644 index 00000000000..1dcf85ceeae --- /dev/null +++ b/htdocs/theme/eldy/fckeditor/fck_dialog.css @@ -0,0 +1,132 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2006 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: fck_dialog.css + * Styles used by the dialog boxes. + * + * File Authors: + * Frederico Caldeira Knabben (fredck@fckeditor.net) + */ + +body +{ + margin: 0px; + padding: 10px; + background-color: #f7f7f7; +} + +body, td, input, select, textarea +{ + font-size: 11px; + font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; +} + +body, .BackColor +{ + background-color: #f7f7f7; +} + +.PopupBody +{ + margin: 0px; + padding: 0px; +} + +.PopupTitle +{ + padding-right: 10px; + padding-left: 10px; + font-weight: bold; + font-size: 14pt; + padding-bottom: 3px; + color: #504845; + padding-top: 3px; + background-color: #dedede; +} + +.PopupButtons +{ + border-top: #cec6b5 1px solid; + background-color: #DEDEDE; + padding: 7px 10px 7px 10px; +} + +.Button +{ + border: #7a7261 1px solid; + color: #504845; + background-color: #cec6b5; +} + +.DarkBackground +{ + background-color: #d7d79f; +} + +.LightBackground +{ + background-color: #ffffbe; +} + +.PopupTitleBorder +{ + border-bottom: #cec6b5 1px solid; +} + +.PopupTabArea +{ + color: #504845; + background-color: #DEDEDE; +} + +.PopupTabEmptyArea +{ + padding-left: 10px ; + border-bottom: #cec6b5 1px solid; +} + +.PopupTab, .PopupTabSelected +{ + border-right: #cec6b5 1px solid; + border-top: #cec6b5 1px solid; + border-left: #cec6b5 1px solid; + padding-right: 5px; + padding-left: 5px; + padding-bottom: 3px; + padding-top: 3px; + color: #504845; +} + +.PopupTab +{ + margin-top: 1px; + border-bottom: #cec6b5 1px solid; + cursor: pointer; + cursor: hand; +} + +.PopupTabSelected +{ + font-weight:bold; + cursor: default; + padding-top: 4px; + border-bottom: #f1f1e3 1px solid; + background-color: #f7f7f7; +} + +.PopupSelectionBox +{ + border: #a9a9a9 1px solid; + background-color: #dcdcdc; + cursor: pointer; + cursor: hand; +} \ No newline at end of file diff --git a/htdocs/theme/eldy/fckeditor/fck_editor.css b/htdocs/theme/eldy/fckeditor/fck_editor.css new file mode 100644 index 00000000000..801a5314857 --- /dev/null +++ b/htdocs/theme/eldy/fckeditor/fck_editor.css @@ -0,0 +1,470 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2006 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: fck_editor.css + * Styles used by the editor IFRAME and Toolbar. + * + * File Authors: + * Frederico Caldeira Knabben (fredck@fckeditor.net) + * gazou[Fr] + */ + +/* + ### Basic Editor IFRAME Styles. +*/ + +body +{ + padding: 1px 1px 1px 1px; + margin: 0px 0px 0px 0px; +} + +#xEditingArea +{ + border: #696969 1px solid; +} + +.SourceField +{ + padding: 5px; + margin: 0px; + font-family: Monospace; +} + +/* + Toolbar +*/ + +.TB_ToolbarSet, .TB_Expand, .TB_Collapse +{ + cursor: default; + background-color: #f7f7f7; +} + +.TB_ToolbarSet +{ + padding: 1px; + border-top: #efefde 1px outset; + border-bottom: #efefde 1px outset; +} + +.TB_ToolbarSet TD +{ + font-size: 11px; + font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; +} + +.TB_Toolbar +{ + display: inline; +} + +.TB_Separator +{ + width: 1px; + height: 21px; + margin: 2px; + background-color: #C6C3BD; +} + +.TB_Start +{ + background-image: url(images/toolbar.start.gif); + margin-left: 2px; + margin-right: 2px; + width: 3px; + background-repeat: no-repeat; + height: 27px; + background-position: center center; +} + +.TB_End +{ + display: none; +} + +.TB_ExpandImg +{ + background-image: url(images/toolbar.expand.gif); + background-repeat: no-repeat; +} + +.TB_CollapseImg +{ + background-image: url(images/toolbar.collapse.gif); + background-repeat: no-repeat; +} + +.TB_SideBorder +{ + background-color: #696969; +} + +.TB_Expand, .TB_Collapse +{ + padding: 2px 2px 2px 2px; + border: #efefde 1px outset; +} + +.TB_Collapse +{ + border: #efefde 1px outset; + width: 5px; +} + +.TB_Break +{ + height: 27px; +} + +/* + Toolbar Button +*/ + +.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled +{ + padding: 1px ; + margin:1px; + height: 21px; +} + +.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled +{ + border: #cec6b5 1px solid; +} + +.TB_Button_On +{ + border-color: #316ac5; + background-color: #c1d2ee; +} + +.TB_Button_On_Over, .TB_Button_Off_Over +{ + border: #316ac5 1px solid; + background-color: #dff1ff; +} + +.TB_Button_Off +{ + background: #efefef url(images/toolbar.buttonbg.gif) repeat-x; +} + +.TB_Button_Off, .TB_Combo_Off +{ + opacity: 0.70; /* Safari, Opera and Mozilla */ + filter: alpha(opacity=70); /* IE */ + /* -moz-opacity: 0.70; Mozilla (Old) */ +} + +.TB_Button_Disabled +{ + opacity: 0.30; /* Safari, Opera and Mozilla */ + filter: gray() alpha(opacity=30); /* IE */ +} + +.TB_Button_Padding +{ + visibility: hidden; + width: 3px; + height: 21px; +} + +.TB_Button_Image +{ + overflow: hidden; + width: 16px; + height: 16px; + margin: 3px; + margin-top: 4px; + margin-bottom: 2px; + background-repeat: no-repeat; +} + +/* For composed button ( icon + text, icon + arrow ), we must compensate the table */ +.TB_Button_On TABLE .TB_Button_Image, +.TB_Button_Off TABLE .TB_Button_Image, +.TB_Button_On_Over TABLE .TB_Button_Image, +.TB_Button_Off_Over TABLE .TB_Button_Image, +.TB_Button_Disabled TABLE .TB_Button_Image +{ + margin-top: 3px; +} + +.TB_Button_Image img +{ + position: relative; +} + +.TB_ConnectionLine +{ + background-color: #ffffff; + height: 1px; + margin-left: 1px; /* ltr */ + margin-right: 1px; /* rtl */ +} + +/* + Menu +*/ + +.MN_Menu +{ + border: 1px solid #8f8f73; + padding: 2px; + background-color: #f7f7f7; + cursor: default; +} + +.MN_Menu, .MN_Menu .MN_Label +{ + font-size: 11px; + font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; +} + +.MN_Item_Padding +{ + visibility: hidden; + width: 3px; + height: 20px; +} + +.MN_Icon +{ + background-color: #dedede; + text-align: center; + height: 20px; +} + +.MN_Label +{ + padding-left: 3px; + padding-right: 3px; +} + +.MN_Separator +{ + height: 3px; +} + +.MN_Separator_Line +{ + border-top: #b9b99d 1px solid; +} + +.MN_Item .MN_Icon IMG +{ + filter: alpha(opacity=70); + opacity: 0.70; +} + +.MN_Item_Over +{ + color: #ffffff; + background-color: #8a857d; +} + +.MN_Item_Over .MN_Icon +{ + background-color: #6c6761; +} + +.MN_Item_Disabled IMG +{ + filter: gray() alpha(opacity=30); /* IE */ + opacity: 0.30; /* Safari, Opera and Mozilla */ +} + +.MN_Item_Disabled .MN_Label +{ + color: #b7b7b7; +} + +.MN_Arrow +{ + padding-right: 3px; + padding-left: 3px; +} + +.MN_ConnectionLine +{ + background-color: #ffffff; +} + +.Menu .TB_Button_On, .Menu .TB_Button_On_Over +{ + border: #8f8f73 1px solid; + background-color: #ffffff; +} + +/* + ### Panel Styles +*/ + +.FCK_Panel +{ + border: #8f8f73 1px solid; + padding: 2px; + background-color: #ffffff; +} + +.FCK_Panel, .FCK_Panel TD +{ + font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; + font-size: 11px; +} + +/* + ### Special Combos +*/ + +.SC_Panel +{ + overflow: auto; + white-space: nowrap; + cursor: default; + border: 1px solid #8f8f73; + padding-left: 2px; + padding-right: 2px; + background-color: #ffffff; +} + +.SC_Panel, .SC_Panel TD +{ + font-size: 11px; + font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; +} + +.SC_Item, .SC_ItemSelected +{ + margin-top: 2px; + margin-bottom: 2px; + background-position: left center; + padding-left: 11px; + padding-right: 3px; + padding-top: 2px; + padding-bottom: 2px; + text-overflow: ellipsis; + overflow: hidden; + background-repeat: no-repeat; + border: #dddddd 1px solid; +} + +.SC_Item *, .SC_ItemSelected * +{ + margin-top: 0px; + margin-bottom: 0px; +} + +.SC_ItemSelected +{ + border: #9a9afb 1px solid; + background-image: url(images/toolbar.arrowright.gif); +} + +.SC_ItemOver +{ + border: #316ac5 1px solid; +} + +.SC_Field +{ + margin-top:1px ; + border: #b7b7a6 1px solid; + cursor: default; +} + +.SC_FieldCaption +{ + padding-top: 1px ; + overflow: visible; + padding-right: 5px; + padding-left: 5px; + opacity: 0.75; /* Safari, Opera and Mozilla */ + filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ + height: 23px; + background-color: #f7f7f7; +} + +.SC_FieldLabel +{ + white-space: nowrap; + padding: 2px; + width: 100%; + cursor: default; + background-color: #ffffff; + text-overflow: ellipsis; + overflow: hidden; +} + +.SC_FieldButton +{ + background-position: center center; + background-image: url(images/toolbar.buttonarrow.gif); + border-left: #b7b7a6 1px solid; + width: 14px; + background-repeat: no-repeat; +} + +.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption +{ + opacity: 0.30; /* Safari, Opera and Mozilla */ + filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ +} + +.SC_FieldOver +{ + border: #316ac5 1px solid; +} + +.SC_FieldOver .SC_FieldButton +{ + border-left: #316ac5 1px solid; +} + +/* + ### Color Selector Panel +*/ + +.ColorBoxBorder +{ + border: #808080 1px solid; + position: static; +} + +.ColorBox +{ + font-size: 1px; + width: 10px; + position: static; + height: 10px; +} + +.ColorDeselected, .ColorSelected +{ + cursor: default; +} + +.ColorDeselected +{ + border: #ffffff 1px solid; + padding: 2px; + float: left; +} + +.ColorSelected +{ + border: #316ac5 1px solid; + padding: 2px; + float: left; + background-color: #c1d2ee; +} diff --git a/htdocs/theme/eldy/fckeditor/fck_strip.gif b/htdocs/theme/eldy/fckeditor/fck_strip.gif new file mode 100644 index 00000000000..d5ba74e8d72 Binary files /dev/null and b/htdocs/theme/eldy/fckeditor/fck_strip.gif differ diff --git a/htdocs/theme/eldy/fckeditor/fckconfig.js b/htdocs/theme/eldy/fckeditor/fckconfig.js new file mode 100644 index 00000000000..c03f27bdc91 --- /dev/null +++ b/htdocs/theme/eldy/fckeditor/fckconfig.js @@ -0,0 +1,209 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2006 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: fckconfig.js + * Editor configuration settings. + * See the documentation for more info. + * + * File Authors: + * Frederico Caldeira Knabben (fredck@fckeditor.net) + */ + +FCKConfig.CustomConfigurationsPath = '' ; + +FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; + +FCKConfig.DocType = '' ; + +FCKConfig.BaseHref = '' ; + +FCKConfig.FullPage = false ; + +FCKConfig.Debug = false ; +FCKConfig.AllowQueryStringDebug = true ; + +FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; +FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; + +FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; + +// FCKConfig.Plugins.Add( 'autogrow' ) ; +FCKConfig.AutoGrowMax = 400 ; + +FCKConfig.ProtectedSource.Add( //gi ) ; //