From 3b55e0026659f3b46d9976ebbed3830b8bf7af03 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 22 Jul 2006 16:09:48 +0000
Subject: [PATCH] Ajout style pour fkeditor dans theme

---
 htdocs/comm/mailing/fiche.php                 |  17 +-
 htdocs/comm/propal.php                        |  19 +-
 htdocs/commande/fiche.php                     |   7 +-
 htdocs/compta/facture.php                     |   7 +-
 htdocs/includes/fckeditor/fckconfig.js        |  30 +-
 htdocs/lib/doleditor.class.php                |  79 +++
 htdocs/product/fiche.php                      |  26 +-
 htdocs/theme/eldy/fckeditor/fck_dialog.css    | 132 +++++
 htdocs/theme/eldy/fckeditor/fck_editor.css    | 470 ++++++++++++++++++
 htdocs/theme/eldy/fckeditor/fck_strip.gif     | Bin 0 -> 4578 bytes
 htdocs/theme/eldy/fckeditor/fckconfig.js      | 209 ++++++++
 htdocs/theme/eldy/fckeditor/images/.cvsignore |   2 +
 .../fckeditor/images/toolbar.arrowright.gif   | Bin 0 -> 53 bytes
 .../fckeditor/images/toolbar.buttonarrow.gif  | Bin 0 -> 46 bytes
 .../fckeditor/images/toolbar.buttonbg.gif     | Bin 0 -> 829 bytes
 .../fckeditor/images/toolbar.collapse.gif     | Bin 0 -> 152 bytes
 .../eldy/fckeditor/images/toolbar.end.gif     | Bin 0 -> 43 bytes
 .../eldy/fckeditor/images/toolbar.expand.gif  | Bin 0 -> 152 bytes
 .../fckeditor/images/toolbar.separator.gif    | Bin 0 -> 58 bytes
 .../eldy/fckeditor/images/toolbar.start.gif   | Bin 0 -> 105 bytes
 htdocs/theme/freelug/fckeditor/fck_dialog.css | 132 +++++
 htdocs/theme/freelug/fckeditor/fck_editor.css | 470 ++++++++++++++++++
 htdocs/theme/freelug/fckeditor/fck_strip.gif  | Bin 0 -> 4578 bytes
 htdocs/theme/freelug/fckeditor/fckconfig.js   | 209 ++++++++
 .../theme/freelug/fckeditor/images/.cvsignore |   2 +
 .../fckeditor/images/toolbar.arrowright.gif   | Bin 0 -> 53 bytes
 .../fckeditor/images/toolbar.buttonarrow.gif  | Bin 0 -> 46 bytes
 .../fckeditor/images/toolbar.buttonbg.gif     | Bin 0 -> 829 bytes
 .../fckeditor/images/toolbar.collapse.gif     | Bin 0 -> 152 bytes
 .../freelug/fckeditor/images/toolbar.end.gif  | Bin 0 -> 43 bytes
 .../fckeditor/images/toolbar.expand.gif       | Bin 0 -> 152 bytes
 .../fckeditor/images/toolbar.separator.gif    | Bin 0 -> 58 bytes
 .../fckeditor/images/toolbar.start.gif        | Bin 0 -> 105 bytes
 33 files changed, 1768 insertions(+), 43 deletions(-)
 create mode 100644 htdocs/lib/doleditor.class.php
 create mode 100644 htdocs/theme/eldy/fckeditor/fck_dialog.css
 create mode 100644 htdocs/theme/eldy/fckeditor/fck_editor.css
 create mode 100644 htdocs/theme/eldy/fckeditor/fck_strip.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/fckconfig.js
 create mode 100644 htdocs/theme/eldy/fckeditor/images/.cvsignore
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.arrowright.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.buttonarrow.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.buttonbg.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.collapse.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.end.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.expand.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.separator.gif
 create mode 100644 htdocs/theme/eldy/fckeditor/images/toolbar.start.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/fck_dialog.css
 create mode 100644 htdocs/theme/freelug/fckeditor/fck_editor.css
 create mode 100644 htdocs/theme/freelug/fckeditor/fck_strip.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/fckconfig.js
 create mode 100644 htdocs/theme/freelug/fckeditor/images/.cvsignore
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.arrowright.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.buttonarrow.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.buttonbg.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.collapse.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.end.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.expand.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.separator.gif
 create mode 100644 htdocs/theme/freelug/fckeditor/images/toolbar.start.gif

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 '</i></td>';
     print '<td>';
     // �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 '<textarea name="desc" cols="50" class="flat" rows="'.ROWS_2.'">'.$objp->description.'</textarea>';
-        }
+				{
+					require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");
+					$doleditor=new DolEditor('desc',$objp->description,200,'dolibarr_details');
+					$doleditor->Create();
+				}
+				else
+				{
+					print '<textarea name="desc" cols="50" class="flat" rows="'.ROWS_2.'">'.$objp->description.'</textarea>';
+				}
 				print '</td>';
 				print '<td align="right">';
 				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 @@
+<?php
+/* Copyright (C) 2006 Laurent Destailleur  <eldy@users.sourceforge.net>
+ *
+ * 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 '<tr><td valign="top">'.$langs->trans("NoteNotVisibleOnBill").'</td><td>';
 	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 '<tr><td valign="top">'.$langs->trans("NoteNotVisibleOnBill").'</td><td colspan="2">';
 		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 0000000000000000000000000000000000000000..d5ba74e8d72a5d0f4e5dfe2cd61913dfbe6a1d01
GIT binary patch
literal 4578
zcmZ?wbhEHb6kt$bdFIc+@c(~91H=FS3>`C8{Qp0bp^4%CjZ@cdK5UtN@b~X328PuC
z|65vGnxhI@uPv2MOiX-t!DH{<y$lR#>(`qUm*(hsW*B)TJ$!g^(Z=J?U%dVH^WUXM
z|F#}D8|A6Le9`m|U;ZDs`076c!?_DVoQ8o5Hk@B^{9noB6aN|hKY0EB(W`%xmmc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#TyFi$6T{;+t*%LotwP^9BwzOXZ-Af0Z_{YI{j}D=NJXEdAkeeb#~<Su<^ZZ(b%O
zJ?(-6^AtN{uPywyXL?vWxJPgC)aLQtz2T_j)`gXu0&j2eu3o!k%jUwHn<Y56NSCbj
zI=zLrW$UL2Tb#YO`B-n&h~9D}U|Z_xZ7&vY(6HXdExo<r=Z3u7xdC2*#<Mpv+@AQM
z#Wl4%q2<B0KQ0`t-v1N+m2e8~_K-H&aMN?+<m`>zS6pm<Enl`^*6eJKe@!6*+8iOT
zcl>;~#pkx-;_3vGuk!PwIo4M1m>ccZc-ke*+P@@ww~qCO;?;6Htv7$X8t{4PCa=jp
zKA(2XF0nAWZOJrw&lMBp<Gc6FOf@h+?ZIKS-Td_)?&`f)Z*M)Wy)~$0_nz!6uNpT!
z<Yw4*dgH&ZUe}%^ga^l8z2YJvu>X_w{!iK*5(^lA%-;WNHKRoXv)Big@7YXDIZP%A
zOwI)doG&nGe%Q~rhf(?gv#P*B)dFVo1qXQ6Fsf}}{L{@W=yOmn;UGiLK|6+nvTvC5
z7?>4g4%js?YffO|dvicz52JVvlTeL4vl<VxfdjLy!eK?9!+L)XDX%$fBXdBw=CGv?
svy;tXwVFc~YYyu=Fgx!#sC(y-{+~ntf3t{9I2yI*Xq1daBLjmq0RD3)0{{R3

literal 0
HcmV?d00001

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( /<script[\s\S]*?\/script>/gi ) ;	// <SCRIPT> tags.
+// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
+FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
+// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
+
+FCKConfig.AutoDetectLanguage	= true ;
+FCKConfig.DefaultLanguage		= 'fr' ;
+FCKConfig.ContentLangDirection	= 'ltr' ;
+
+FCKConfig.ProcessHTMLEntities	= true ;
+FCKConfig.IncludeLatinEntities	= true ;
+FCKConfig.IncludeGreekEntities	= true ;
+
+FCKConfig.FillEmptyBlocks	= true ;
+
+FCKConfig.FormatSource		= false ;
+FCKConfig.FormatOutput		= false ;
+FCKConfig.FormatIndentator	= '    ' ;
+
+FCKConfig.ForceStrongEm = true ;
+FCKConfig.GeckoUseSPAN	= false ;
+FCKConfig.StartupFocus	= false ;
+FCKConfig.ForcePasteAsPlainText	= false ;
+FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
+FCKConfig.ForceSimpleAmpersand	= false ;
+FCKConfig.TabSpaces		= 0 ;
+FCKConfig.ShowBorders	= true ;
+FCKConfig.SourcePopup	= false ;
+FCKConfig.UseBROnCarriageReturn	= true ;	// IE only.
+FCKConfig.ToolbarStartExpanded	= false ;
+FCKConfig.ToolbarCanCollapse	= true ;
+FCKConfig.IgnoreEmptyParagraphValue = true ;
+FCKConfig.PreserveSessionOnFileBrowser = false ;
+FCKConfig.FloatingPanelsZIndex = 10000 ;
+
+FCKConfig.ToolbarLocation = 'In' ;
+
+FCKConfig.ToolbarSets["dolibarr_mailings"] = [
+        ['FitWindow','Source','DocProps'],
+        ['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
+        ['Undo','Redo','-','Find','Replace','-','SelectAll'],
+        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
+        ['OrderedList','UnorderedList','-','Outdent','Indent',],
+        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+        ['Link','Unlink','Anchor','Image','Flash','Table','Rule','Smiley','SpecialChar','UniversalKey'],
+        ['FontName','FontSize']
+] ;
+
+FCKConfig.ToolbarSets["dolibarr_notes"] = [
+        ['FitWindow','Source','DocProps'],
+        ['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
+        ['Undo','Redo','-','Find','Replace','-','SelectAll'],
+        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
+        ['OrderedList','UnorderedList','-','Outdent','Indent',],
+        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+        ['Link','Unlink','Anchor','Image','Flash','Table','Rule','Smiley','SpecialChar','UniversalKey'],
+        ['FontName','FontSize']
+] ;
+
+FCKConfig.ToolbarSets["dolibarr_details"] = [
+        ['FitWindow','Source','DocProps'],
+        ['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
+        ['Undo','Redo','-','Find','Replace','-','SelectAll'],
+        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
+        ['OrderedList','UnorderedList','-','Outdent','Indent',],
+        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+        ['Link','Unlink','Anchor'],
+        ['Smiley','SpecialChar','UniversalKey'],
+        ['FontName','FontSize']
+] ;
+
+FCKConfig.ToolbarSets["Default"] = [
+	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
+	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
+	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
+	'/',
+	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
+	['OrderedList','UnorderedList','-','Outdent','Indent'],
+	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+	['Link','Unlink','Anchor'],
+	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
+	'/',
+	['Style','FontFormat','FontName','FontSize'],
+	['TextColor','BGColor'],
+	['FitWindow','-','About']
+] ;
+
+FCKConfig.ToolbarSets["Basic"] = [
+	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
+] ;
+
+FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
+
+FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
+
+FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
+FCKConfig.FontSizes		= '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
+FCKConfig.FontFormats	= 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
+
+FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
+FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
+
+FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
+FCKConfig.IeSpellDownloadUrl	= 'http://iespell.huhbw.com/ieSpellSetup220647.exe' ;
+
+FCKConfig.MaxUndoLevels = 15 ;
+
+FCKConfig.DisableObjectResizing = false ;
+FCKConfig.DisableFFTableHandles = true ;
+
+FCKConfig.LinkDlgHideTarget		= false ;
+FCKConfig.LinkDlgHideAdvanced	= false ;
+
+FCKConfig.ImageDlgHideLink		= false ;
+FCKConfig.ImageDlgHideAdvanced	= false ;
+
+FCKConfig.FlashDlgHideAdvanced	= false ;
+
+// The following value defines which File Browser connector and Quick Upload 
+// "uploader" to use. It is valid for the default implementaion and it is here
+// just to make this configuration file cleaner. 
+// It is not possible to change this value using an external file or even 
+// inline when creating the editor instance. In that cases you must set the 
+// values of LinkBrowserURL, ImageBrowserURL and so on.
+// Custom implementations should just ignore it.
+var _FileBrowserLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | perl | php | py
+var _QuickUploadLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | php
+
+// Don't care about the following line. It just calculates the correct connector 
+// extension to use for the default File Browser (Perl uses "cgi").
+var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
+
+FCKConfig.LinkBrowser = true ;
+FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
+FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
+
+FCKConfig.ImageBrowser = true ;
+FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
+FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
+
+FCKConfig.FlashBrowser = true ;
+FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
+FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
+
+FCKConfig.LinkUpload = true ;
+FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
+FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
+FCKConfig.LinkUploadDeniedExtensions	= ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;	// empty for no one
+
+FCKConfig.ImageUpload = true ;
+FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
+FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png)$" ;		// empty for all
+FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
+
+FCKConfig.FlashUpload = true ;
+FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ;
+FCKConfig.FlashUploadAllowedExtensions	= ".(swf|fla)$" ;		// empty for all
+FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
+
+FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
+FCKConfig.SmileyImages	= ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
+FCKConfig.SmileyColumns = 8 ;
+FCKConfig.SmileyWindowWidth		= 320 ;
+FCKConfig.SmileyWindowHeight	= 240 ;
\ No newline at end of file
diff --git a/htdocs/theme/eldy/fckeditor/images/.cvsignore b/htdocs/theme/eldy/fckeditor/images/.cvsignore
new file mode 100644
index 00000000000..020f3864407
--- /dev/null
+++ b/htdocs/theme/eldy/fckeditor/images/.cvsignore
@@ -0,0 +1,2 @@
+*.db
+*.db
diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.arrowright.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.arrowright.gif
new file mode 100644
index 0000000000000000000000000000000000000000..6843c8d4162bfc427b8a1b5e28554f08bf47c211
GIT binary patch
literal 53
zcmZ?wbhEHbWM^P!XkY+=|Ns9h{$ycfU|?j>0r5dH3`{&diINScYU3se&kJE-um%7w
CgA17e

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.buttonarrow.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.buttonarrow.gif
new file mode 100644
index 0000000000000000000000000000000000000000..ea60995e1b89fe5153d46f746d2bcf989276ceba
GIT binary patch
literal 46
xcmZ?wbhEHbWMyDxXkcVuU|{(F|G(l-7DfgJMg|=aA0)%T#M&Y&&K=EQ4FK7Z2jc($

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.buttonbg.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.buttonbg.gif
new file mode 100644
index 0000000000000000000000000000000000000000..a93ffcaa3b3aca1f16c80b9aacdcab143ef6e4da
GIT binary patch
literal 829
zcmZ?wbhEHbWM+_H_|Cv^@7}%V&!4}4|Ni^;@Bc@^Xb6n35YS;@U|;~{1qKc!22Ktc
lj|~ePo0vIxA}kynoEe#zJmzpHFf?>a7-!u%VW_}h4FD=J2w4CC

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.collapse.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.collapse.gif
new file mode 100644
index 0000000000000000000000000000000000000000..87aa56d3b698249044daa032fb80f0e048924b30
GIT binary patch
literal 152
zcmZ?wbhEHb<X~W7I3moTCMzN@E-<sFe*Mzf9hI407HZ*6I>`ann^(>+Ne(bllZtjT
zSUkPExj0!>M%dF_RZg7WR72XyNa_Fo{|rO`#h)yU3=F~yIv}+mI~iC-AE+obW$^hF
U&u~eynPj5t`ow{8K?{R50PMaX;{X5v

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.end.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.end.gif
new file mode 100644
index 0000000000000000000000000000000000000000..5bfd67a2d6f72ac3a55cbfcea5866e841d22f5d9
GIT binary patch
literal 43
mcmZ?wbhEHbWMp7uXkdT>#h)yUAf^t80Ld^gF}W}@SOWlZ0R#L1

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.expand.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.expand.gif
new file mode 100644
index 0000000000000000000000000000000000000000..79075e7c3860309d9decad616cc21fcc06f2946d
GIT binary patch
literal 152
zcmZ?wbhEHb<X~W7I3mJet|g-;D<UP#n-%W7a^9qdg807r!i7^iRxh09Xs9SA$UVEi
zsU$hTNKGojS+^*`&&fzhNlGx*!`Rna{r~^}41|E<PZmZ71`!4wkV25146LFH3Kfn7
Xc?g>t^fQ}=%wcF0xIeL|oxvIa7nLEl

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.separator.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.separator.gif
new file mode 100644
index 0000000000000000000000000000000000000000..eaed04a7a767e1a48e65726239cb1c25f7e8ec79
GIT binary patch
literal 58
zcmZ?wbhEHbWMvR#XkcJCc6jgq|Nj+#vM@3*Ff!;cFfcHHWEhwPeG=Ms&iXEuvhmXE
N4`*tscZx7r0|56O6CwZr

literal 0
HcmV?d00001

diff --git a/htdocs/theme/eldy/fckeditor/images/toolbar.start.gif b/htdocs/theme/eldy/fckeditor/images/toolbar.start.gif
new file mode 100644
index 0000000000000000000000000000000000000000..1774246c2ef37fa17cdcd971b3db38c713989818
GIT binary patch
literal 105
zcmZ?wbhEHbWM&Xx*v!DNYH`cTMJ){#5iK=Q6WWtDtnAH5a-ToFbl$Y$qHMnfGs+q&
z!l!hn{{R1<0Spv>vM@3*@G|Itcpx(vSj09kT*<OnVs>=evpCkexyN`q)l}NV7#XYq
D|1u-x

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/fck_dialog.css b/htdocs/theme/freelug/fckeditor/fck_dialog.css
new file mode 100644
index 00000000000..1dcf85ceeae
--- /dev/null
+++ b/htdocs/theme/freelug/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/freelug/fckeditor/fck_editor.css b/htdocs/theme/freelug/fckeditor/fck_editor.css
new file mode 100644
index 00000000000..801a5314857
--- /dev/null
+++ b/htdocs/theme/freelug/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/freelug/fckeditor/fck_strip.gif b/htdocs/theme/freelug/fckeditor/fck_strip.gif
new file mode 100644
index 0000000000000000000000000000000000000000..d5ba74e8d72a5d0f4e5dfe2cd61913dfbe6a1d01
GIT binary patch
literal 4578
zcmZ?wbhEHb6kt$bdFIc+@c(~91H=FS3>`C8{Qp0bp^4%CjZ@cdK5UtN@b~X328PuC
z|65vGnxhI@uPv2MOiX-t!DH{<y$lR#>(`qUm*(hsW*B)TJ$!g^(Z=J?U%dVH^WUXM
z|F#}D8|A6Le9`m|U;ZDs`076c!?_DVoQ8o5Hk@B^{9noB6aN|hKY0EB(W`%xmmc1A
z;=#RpNlxVtYL<QSOum#k^<`20)c5ZT{-0q8uf6T)=+?l%FlpPLN1y)n&N5%RbZG-a
z14BatLmI=OYyXOiOZoWto<Gk#aN&Ya$)SRt18HeCJ9nlXIB<Z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%jUwHn<Y56NSCbj
zI=zLrW$UL2Tb#YO`B-n&h~9D}U|Z_xZ7&vY(6HXdExo<r=Z3u7xdC2*#<Mpv+@AQM
z#Wl4%q2<B0KQ0`t-v1N+m2e8~_K-H&aMN?+<m`>zS6pm<Enl`^*6eJKe@!6*+8iOT
zcl>;~#pkx-;_3vGuk!PwIo4M1m>ccZc-ke*+P@@ww~qCO;?;6Htv7$X8t{4PCa=jp
zKA(2XF0nAWZOJrw&lMBp<Gc6FOf@h+?ZIKS-Td_)?&`f)Z*M)Wy)~$0_nz!6uNpT!
z<Yw4*dgH&ZUe}%^ga^l8z2YJvu>X_w{!iK*5(^lA%-;WNHKRoXv)Big@7YXDIZP%A
zOwI)doG&nGe%Q~rhf(?gv#P*B)dFVo1qXQ6Fsf}}{L{@W=yOmn;UGiLK|6+nvTvC5
z7?>4g4%js?YffO|dvicz52JVvlTeL4vl<VxfdjLy!eK?9!+L)XDX%$fBXdBw=CGv?
svy;tXwVFc~YYyu=Fgx!#sC(y-{+~ntf3t{9I2yI*Xq1daBLjmq0RD3)0{{R3

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/fckconfig.js b/htdocs/theme/freelug/fckeditor/fckconfig.js
new file mode 100644
index 00000000000..c03f27bdc91
--- /dev/null
+++ b/htdocs/theme/freelug/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( /<script[\s\S]*?\/script>/gi ) ;	// <SCRIPT> tags.
+// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
+FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
+// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
+
+FCKConfig.AutoDetectLanguage	= true ;
+FCKConfig.DefaultLanguage		= 'fr' ;
+FCKConfig.ContentLangDirection	= 'ltr' ;
+
+FCKConfig.ProcessHTMLEntities	= true ;
+FCKConfig.IncludeLatinEntities	= true ;
+FCKConfig.IncludeGreekEntities	= true ;
+
+FCKConfig.FillEmptyBlocks	= true ;
+
+FCKConfig.FormatSource		= false ;
+FCKConfig.FormatOutput		= false ;
+FCKConfig.FormatIndentator	= '    ' ;
+
+FCKConfig.ForceStrongEm = true ;
+FCKConfig.GeckoUseSPAN	= false ;
+FCKConfig.StartupFocus	= false ;
+FCKConfig.ForcePasteAsPlainText	= false ;
+FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
+FCKConfig.ForceSimpleAmpersand	= false ;
+FCKConfig.TabSpaces		= 0 ;
+FCKConfig.ShowBorders	= true ;
+FCKConfig.SourcePopup	= false ;
+FCKConfig.UseBROnCarriageReturn	= true ;	// IE only.
+FCKConfig.ToolbarStartExpanded	= false ;
+FCKConfig.ToolbarCanCollapse	= true ;
+FCKConfig.IgnoreEmptyParagraphValue = true ;
+FCKConfig.PreserveSessionOnFileBrowser = false ;
+FCKConfig.FloatingPanelsZIndex = 10000 ;
+
+FCKConfig.ToolbarLocation = 'In' ;
+
+FCKConfig.ToolbarSets["dolibarr_mailings"] = [
+        ['FitWindow','Source','DocProps'],
+        ['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
+        ['Undo','Redo','-','Find','Replace','-','SelectAll'],
+        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
+        ['OrderedList','UnorderedList','-','Outdent','Indent',],
+        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+        ['Link','Unlink','Anchor','Image','Flash','Table','Rule','Smiley','SpecialChar','UniversalKey'],
+        ['FontName','FontSize']
+] ;
+
+FCKConfig.ToolbarSets["dolibarr_notes"] = [
+        ['FitWindow','Source','DocProps'],
+        ['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
+        ['Undo','Redo','-','Find','Replace','-','SelectAll'],
+        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
+        ['OrderedList','UnorderedList','-','Outdent','Indent',],
+        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+        ['Link','Unlink','Anchor','Image','Flash','Table','Rule','Smiley','SpecialChar','UniversalKey'],
+        ['FontName','FontSize']
+] ;
+
+FCKConfig.ToolbarSets["dolibarr_details"] = [
+        ['FitWindow','Source','DocProps'],
+        ['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
+        ['Undo','Redo','-','Find','Replace','-','SelectAll'],
+        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
+        ['OrderedList','UnorderedList','-','Outdent','Indent',],
+        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+        ['Link','Unlink','Anchor'],
+        ['Smiley','SpecialChar','UniversalKey'],
+        ['FontName','FontSize']
+] ;
+
+FCKConfig.ToolbarSets["Default"] = [
+	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
+	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
+	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
+	'/',
+	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
+	['OrderedList','UnorderedList','-','Outdent','Indent'],
+	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
+	['Link','Unlink','Anchor'],
+	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
+	'/',
+	['Style','FontFormat','FontName','FontSize'],
+	['TextColor','BGColor'],
+	['FitWindow','-','About']
+] ;
+
+FCKConfig.ToolbarSets["Basic"] = [
+	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
+] ;
+
+FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
+
+FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
+
+FCKConfig.FontNames		= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
+FCKConfig.FontSizes		= '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
+FCKConfig.FontFormats	= 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
+
+FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
+FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
+
+FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
+FCKConfig.IeSpellDownloadUrl	= 'http://iespell.huhbw.com/ieSpellSetup220647.exe' ;
+
+FCKConfig.MaxUndoLevels = 15 ;
+
+FCKConfig.DisableObjectResizing = false ;
+FCKConfig.DisableFFTableHandles = true ;
+
+FCKConfig.LinkDlgHideTarget		= false ;
+FCKConfig.LinkDlgHideAdvanced	= false ;
+
+FCKConfig.ImageDlgHideLink		= false ;
+FCKConfig.ImageDlgHideAdvanced	= false ;
+
+FCKConfig.FlashDlgHideAdvanced	= false ;
+
+// The following value defines which File Browser connector and Quick Upload 
+// "uploader" to use. It is valid for the default implementaion and it is here
+// just to make this configuration file cleaner. 
+// It is not possible to change this value using an external file or even 
+// inline when creating the editor instance. In that cases you must set the 
+// values of LinkBrowserURL, ImageBrowserURL and so on.
+// Custom implementations should just ignore it.
+var _FileBrowserLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | perl | php | py
+var _QuickUploadLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | php
+
+// Don't care about the following line. It just calculates the correct connector 
+// extension to use for the default File Browser (Perl uses "cgi").
+var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
+
+FCKConfig.LinkBrowser = true ;
+FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
+FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
+
+FCKConfig.ImageBrowser = true ;
+FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
+FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
+
+FCKConfig.FlashBrowser = true ;
+FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
+FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
+FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
+
+FCKConfig.LinkUpload = true ;
+FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
+FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
+FCKConfig.LinkUploadDeniedExtensions	= ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;	// empty for no one
+
+FCKConfig.ImageUpload = true ;
+FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
+FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png)$" ;		// empty for all
+FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
+
+FCKConfig.FlashUpload = true ;
+FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ;
+FCKConfig.FlashUploadAllowedExtensions	= ".(swf|fla)$" ;		// empty for all
+FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
+
+FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
+FCKConfig.SmileyImages	= ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
+FCKConfig.SmileyColumns = 8 ;
+FCKConfig.SmileyWindowWidth		= 320 ;
+FCKConfig.SmileyWindowHeight	= 240 ;
\ No newline at end of file
diff --git a/htdocs/theme/freelug/fckeditor/images/.cvsignore b/htdocs/theme/freelug/fckeditor/images/.cvsignore
new file mode 100644
index 00000000000..020f3864407
--- /dev/null
+++ b/htdocs/theme/freelug/fckeditor/images/.cvsignore
@@ -0,0 +1,2 @@
+*.db
+*.db
diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.arrowright.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.arrowright.gif
new file mode 100644
index 0000000000000000000000000000000000000000..6843c8d4162bfc427b8a1b5e28554f08bf47c211
GIT binary patch
literal 53
zcmZ?wbhEHbWM^P!XkY+=|Ns9h{$ycfU|?j>0r5dH3`{&diINScYU3se&kJE-um%7w
CgA17e

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.buttonarrow.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.buttonarrow.gif
new file mode 100644
index 0000000000000000000000000000000000000000..ea60995e1b89fe5153d46f746d2bcf989276ceba
GIT binary patch
literal 46
xcmZ?wbhEHbWMyDxXkcVuU|{(F|G(l-7DfgJMg|=aA0)%T#M&Y&&K=EQ4FK7Z2jc($

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.buttonbg.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.buttonbg.gif
new file mode 100644
index 0000000000000000000000000000000000000000..a93ffcaa3b3aca1f16c80b9aacdcab143ef6e4da
GIT binary patch
literal 829
zcmZ?wbhEHbWM+_H_|Cv^@7}%V&!4}4|Ni^;@Bc@^Xb6n35YS;@U|;~{1qKc!22Ktc
lj|~ePo0vIxA}kynoEe#zJmzpHFf?>a7-!u%VW_}h4FD=J2w4CC

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.collapse.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.collapse.gif
new file mode 100644
index 0000000000000000000000000000000000000000..87aa56d3b698249044daa032fb80f0e048924b30
GIT binary patch
literal 152
zcmZ?wbhEHb<X~W7I3moTCMzN@E-<sFe*Mzf9hI407HZ*6I>`ann^(>+Ne(bllZtjT
zSUkPExj0!>M%dF_RZg7WR72XyNa_Fo{|rO`#h)yU3=F~yIv}+mI~iC-AE+obW$^hF
U&u~eynPj5t`ow{8K?{R50PMaX;{X5v

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.end.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.end.gif
new file mode 100644
index 0000000000000000000000000000000000000000..5bfd67a2d6f72ac3a55cbfcea5866e841d22f5d9
GIT binary patch
literal 43
mcmZ?wbhEHbWMp7uXkdT>#h)yUAf^t80Ld^gF}W}@SOWlZ0R#L1

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.expand.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.expand.gif
new file mode 100644
index 0000000000000000000000000000000000000000..79075e7c3860309d9decad616cc21fcc06f2946d
GIT binary patch
literal 152
zcmZ?wbhEHb<X~W7I3mJet|g-;D<UP#n-%W7a^9qdg807r!i7^iRxh09Xs9SA$UVEi
zsU$hTNKGojS+^*`&&fzhNlGx*!`Rna{r~^}41|E<PZmZ71`!4wkV25146LFH3Kfn7
Xc?g>t^fQ}=%wcF0xIeL|oxvIa7nLEl

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.separator.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.separator.gif
new file mode 100644
index 0000000000000000000000000000000000000000..eaed04a7a767e1a48e65726239cb1c25f7e8ec79
GIT binary patch
literal 58
zcmZ?wbhEHbWMvR#XkcJCc6jgq|Nj+#vM@3*Ff!;cFfcHHWEhwPeG=Ms&iXEuvhmXE
N4`*tscZx7r0|56O6CwZr

literal 0
HcmV?d00001

diff --git a/htdocs/theme/freelug/fckeditor/images/toolbar.start.gif b/htdocs/theme/freelug/fckeditor/images/toolbar.start.gif
new file mode 100644
index 0000000000000000000000000000000000000000..1774246c2ef37fa17cdcd971b3db38c713989818
GIT binary patch
literal 105
zcmZ?wbhEHbWM&Xx*v!DNYH`cTMJ){#5iK=Q6WWtDtnAH5a-ToFbl$Y$qHMnfGs+q&
z!l!hn{{R1<0Spv>vM@3*@G|Itcpx(vSj09kT*<OnVs>=evpCkexyN`q)l}NV7#XYq
D|1u-x

literal 0
HcmV?d00001

-- 
GitLab