From b1b56bf4748507af44904debd83dc84298112c8b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 Aug 2006 23:13:14 +0000 Subject: [PATCH] On gagne quelques pixels sur taille barre fckeditor --- .../modules/facture/pdf_crabe.modules.php | 2 +- .../modules/propale/pdf_propale_azur.modules.php | 2 +- htdocs/theme/eldy/fckeditor/fck_editor.css | 15 ++++++--------- htdocs/theme/eldy/fckeditor/fckconfig.js | 1 - 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 305e595ead0..2dc0ff142a8 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -1022,7 +1022,7 @@ class pdf_crabe extends ModelePDFFactures // Cette fonction est appelée pour coder ou non une chaine en html // selon qu'on compte l'afficher dans le PDF avec: // writeHTMLCell -> a besoin d'etre encodé en HTML -// MutliCell -> ne doit pas etre encodé en HTML +// MultiCell -> ne doit pas etre encodé en HTML function _dol_htmlentities($stringtoencode,$isstringalreadyhtml) { global $conf; diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index 3c50fbb11f2..8fbbdcfcc30 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -943,7 +943,7 @@ class pdf_propale_azur extends ModelePDFPropales // Cette fonction est appelée pour coder ou non une chaine en html // selon qu'on compte l'afficher dans le PDF avec: // writeHTMLCell -> a besoin d'etre encodé en HTML -// MutliCell -> ne doit pas etre encodé en HTML +// MultiCell -> ne doit pas etre encodé en HTML function _dol_htmlentities($stringtoencode,$isstringalreadyhtml) { global $conf; diff --git a/htdocs/theme/eldy/fckeditor/fck_editor.css b/htdocs/theme/eldy/fckeditor/fck_editor.css index 801a5314857..e76802094f3 100644 --- a/htdocs/theme/eldy/fckeditor/fck_editor.css +++ b/htdocs/theme/eldy/fckeditor/fck_editor.css @@ -52,7 +52,6 @@ body .TB_ToolbarSet { - padding: 1px; border-top: #efefde 1px outset; border-bottom: #efefde 1px outset; } @@ -71,7 +70,7 @@ body .TB_Separator { width: 1px; - height: 21px; + height: 18px; margin: 2px; background-color: #C6C3BD; } @@ -83,7 +82,7 @@ body margin-right: 2px; width: 3px; background-repeat: no-repeat; - height: 27px; + height: 20px; background-position: center center; } @@ -123,7 +122,7 @@ body .TB_Break { - height: 27px; + height: 24px; /* IE needs the height to be set, otherwise no break */ } /* @@ -184,9 +183,7 @@ body overflow: hidden; width: 16px; height: 16px; - margin: 3px; - margin-top: 4px; - margin-bottom: 2px; + margin: 2px; background-repeat: no-repeat; } @@ -197,7 +194,7 @@ body .TB_Button_Off_Over TABLE .TB_Button_Image, .TB_Button_Disabled TABLE .TB_Button_Image { - margin-top: 3px; + margin-top: 2px; } .TB_Button_Image img @@ -373,7 +370,7 @@ body .SC_ItemOver { - border: #316ac5 1px solid; + border: #404040 1px solid; } .SC_Field diff --git a/htdocs/theme/eldy/fckeditor/fckconfig.js b/htdocs/theme/eldy/fckeditor/fckconfig.js index d47864cde06..79c3ce294bb 100644 --- a/htdocs/theme/eldy/fckeditor/fckconfig.js +++ b/htdocs/theme/eldy/fckeditor/fckconfig.js @@ -105,7 +105,6 @@ FCKConfig.ToolbarSets["dolibarr_details"] = [ ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], - ['Link','Unlink','Anchor'], ['SpecialChar','UniversalKey'], ['FontName','FontSize'] ] ;