diff --git a/htdocs/includes/menus/barre_left/eldy.lib.php b/htdocs/includes/menus/barre_left/eldy.lib.php index 4bfc8f6db4d..bf1388df6af 100644 --- a/htdocs/includes/menus/barre_left/eldy.lib.php +++ b/htdocs/includes/menus/barre_left/eldy.lib.php @@ -919,9 +919,10 @@ function print_left_eldy_menu($db,$menu_array) if ($menu_array[$i]['enabled']) { print ''."\n"; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index e7529cf3d86..454e6a0acd1 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1092,7 +1092,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='') { print "\n"; print "\n"; - print '
'."\n"; + print '
'."\n"; print $searchform; print '
'."\n"; print "\n"; @@ -1107,7 +1107,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='') { print "\n"; print "\n"; - print '
'."\n"; + print '
'."\n"; print $bookmarks; print '
'."\n"; print "\n"; @@ -1131,7 +1131,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='') // Link to help pages if ($helpbaseurl && $helppage) { - print '
'; + print '
'; print '" ; -FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|" ; - -FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; - -FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; - -// FCKConfig.Plugins.Add( 'autogrow' ) ; -// FCKConfig.Plugins.Add( 'dragresizetable' ); -FCKConfig.AutoGrowMax = 400 ; - -// 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( /(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi ) ; // ASP.Net style tags - -FCKConfig.AutoDetectLanguage = true ; -FCKConfig.DefaultLanguage = 'fr' ; -FCKConfig.ContentLangDirection = 'ltr' ; - -FCKConfig.ProcessHTMLEntities = true ; -FCKConfig.IncludeLatinEntities = true ; -FCKConfig.IncludeGreekEntities = true ; - -FCKConfig.ProcessNumericEntities = false ; - -FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" - -FCKConfig.FillEmptyBlocks = true ; - -FCKConfig.FormatSource = false ; -FCKConfig.FormatOutput = false ; -FCKConfig.FormatIndentator = ' ' ; - -FCKConfig.EMailProtection = 'none' ; // none | encode | function -FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ; - -FCKConfig.StartupFocus = false ; -FCKConfig.ForcePasteAsPlainText = false ; -FCKConfig.AutoDetectPasteFromWord = true ; // IE only. -FCKConfig.ShowDropDialog = true ; -FCKConfig.ForceSimpleAmpersand = false ; -FCKConfig.TabSpaces = 0 ; -FCKConfig.ShowBorders = true ; -FCKConfig.SourcePopup = false ; -FCKConfig.ToolbarStartExpanded = false ; -FCKConfig.ToolbarCanCollapse = true ; -FCKConfig.IgnoreEmptyParagraphValue = true ; -FCKConfig.FloatingPanelsZIndex = 10000 ; -FCKConfig.HtmlEncodeOutput = false ; - -FCKConfig.TemplateReplaceAll = true ; -FCKConfig.TemplateReplaceCheckbox = true ; - -FCKConfig.ToolbarLocation = 'In' ; - -/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */ -FCKConfig.ToolbarSets["dolibarr_mailings"] = [ - ['FitWindow','Source'], - ['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','Table','Rule','SpecialChar'], - ['FontName','FontSize'] -] ; - -FCKConfig.ToolbarSets["dolibarr_notes"] = [ - ['FitWindow','Source'], - ['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','Table','Rule','SpecialChar'], - ['FontName','FontSize'] -] ; - -FCKConfig.ToolbarSets["dolibarr_details"] = [ - ['FitWindow','Source'], - ['Cut','Copy','Paste','-','Preview'], - ['Undo','Redo'], - ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'], - ['OrderedList','UnorderedList','-','Outdent','Indent'], - ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], - ['SpecialChar'], - ['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','Blockquote','CreateDiv'], - ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], - ['Link','Unlink','Anchor'], - ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], - '/', - ['Style','FontFormat','FontName','FontSize'], - ['TextColor','BGColor'], - ['FitWindow','ShowBlocks','-','About'] // No comma for the last row. -] ; - -FCKConfig.ToolbarSets["Basic"] = [ - ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] -] ; - -FCKConfig.EnterMode = 'br' ; // p | div | br -FCKConfig.ShiftEnterMode = 'p' ; // p | div | br - -FCKConfig.Keystrokes = [ - [ CTRL + 65 /*A*/, true ], - [ CTRL + 67 /*C*/, true ], - [ CTRL + 70 /*F*/, true ], - [ CTRL + 83 /*S*/, true ], - [ CTRL + 84 /*T*/, true ], - [ CTRL + 88 /*X*/, true ], - [ CTRL + 86 /*V*/, 'Paste' ], - [ CTRL + 45 /*INS*/, true ], - [ SHIFT + 45 /*INS*/, 'Paste' ], - [ CTRL + 88 /*X*/, 'Cut' ], - [ SHIFT + 46 /*DEL*/, 'Cut' ], - [ CTRL + 90 /*Z*/, 'Undo' ], - [ CTRL + 89 /*Y*/, 'Redo' ], - [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ], - [ CTRL + 76 /*L*/, 'Link' ], - [ CTRL + 66 /*B*/, 'Bold' ], - [ CTRL + 73 /*I*/, 'Italic' ], - [ CTRL + 85 /*U*/, 'Underline' ], - [ CTRL + SHIFT + 83 /*S*/, 'Save' ], - [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ], - [ SHIFT + 32 /*SPACE*/, 'Nbsp' ] -] ; - -FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ; -FCKConfig.BrowserContextMenuOnCtrl = false ; -FCKConfig.BrowserContextMenu = false ; - -FCKConfig.EnableMoreFontColors = true ; -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.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ; -FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; -FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ; - -FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; -FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; - -FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell' -FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; -FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl -FCKConfig.FirefoxSpellChecker = false ; - -FCKConfig.MaxUndoLevels = 15 ; - -FCKConfig.DisableObjectResizing = false ; -FCKConfig.DisableFFTableHandles = true ; - -FCKConfig.LinkDlgHideTarget = false ; -FCKConfig.LinkDlgHideAdvanced = false ; - -FCKConfig.ImageDlgHideLink = false ; -FCKConfig.ImageDlgHideAdvanced = false ; - -FCKConfig.FlashDlgHideAdvanced = false ; - -FCKConfig.ProtectedTags = '' ; - -// This will be applied to the body element of the editor -FCKConfig.BodyId = '' ; -FCKConfig.BodyClass = '' ; - -FCKConfig.DefaultStyleLabel = '' ; -FCKConfig.DefaultFontFormatLabel = '' ; -FCKConfig.DefaultFontLabel = '' ; -FCKConfig.DefaultFontSizeLabel = '' ; - -FCKConfig.DefaultLinkTarget = '' ; - -// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word -FCKConfig.CleanWordKeepsStructure = false ; - -// Only inline elements are valid. -FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ; - -// Attributes that will be removed -FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ; - -FCKConfig.CustomStyles = -{ - 'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } } -}; - -// Do not add, rename or remove styles here. Only apply definition changes. -FCKConfig.CoreStyles = -{ - // Basic Inline Styles. - 'Bold' : { Element : 'strong', Overrides : 'b' }, - 'Italic' : { Element : 'em', Overrides : 'i' }, - 'Underline' : { Element : 'u' }, - 'StrikeThrough' : { Element : 'strike' }, - 'Subscript' : { Element : 'sub' }, - 'Superscript' : { Element : 'sup' }, - - // Basic Block Styles (Font Format Combo). - 'p' : { Element : 'p' }, - 'div' : { Element : 'div' }, - 'pre' : { Element : 'pre' }, - 'address' : { Element : 'address' }, - 'h1' : { Element : 'h1' }, - 'h2' : { Element : 'h2' }, - 'h3' : { Element : 'h3' }, - 'h4' : { Element : 'h4' }, - 'h5' : { Element : 'h5' }, - 'h6' : { Element : 'h6' }, - - // Other formatting features. - 'FontFace' : - { - Element : 'span', - Styles : { 'font-family' : '#("Font")' }, - Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ] - }, - - 'Size' : - { - Element : 'span', - Styles : { 'font-size' : '#("Size","fontSize")' }, - Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ] - }, - - 'Color' : - { - Element : 'span', - Styles : { 'color' : '#("Color","color")' }, - Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ] - }, - - 'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } }, - - 'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } } -}; - -// The distance of an indentation step. -FCKConfig.IndentLength = 40 ; -FCKConfig.IndentUnit = 'px' ; - -// Alternatively, FCKeditor allows the use of CSS classes for block indentation. -// This overrides the IndentLength/IndentUnit settings. -FCKConfig.IndentClasses = [] ; - -// [ Left, Center, Right, Justified ] -FCKConfig.JustifyClasses = [] ; - -// 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 = 'php' ; // asp | aspx | cfm | lasso | perl | php | py -var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py - -// Don't care about the following two lines. It just calculates the correct connector -// extension to use for the default File Browser (Perl uses "cgi"). -var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; -var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ; - -FCKConfig.LinkBrowser = true ; -FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/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=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/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=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; -FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; -FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; - -FCKConfig.LinkUpload = false ; -FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; -FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all -FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one - -FCKConfig.ImageUpload = false ; -FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ; -FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all -FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one - -FCKConfig.FlashUpload = false ; -FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ; -FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // 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 = 210 ; - -FCKConfig.BackgroundBlockerColor = '#ffffff' ; -FCKConfig.BackgroundBlockerOpacity = 0.50 ; - -FCKConfig.MsWebBrowserControlCompat = false ; - -FCKConfig.PreventSubmitHandler = false ; +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2009 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * == END LICENSE == + * + * Editor configuration settings. + * + * Follow this link for more information: + * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options + */ + +FCKConfig.CustomConfigurationsPath = '' ; + +FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; +FCKConfig.EditorAreaStyles = '' ; +FCKConfig.ToolbarComboPreviewCSS = '' ; + +FCKConfig.DocType = '' ; + +FCKConfig.BaseHref = '' ; + +FCKConfig.FullPage = false ; + +// The following option determines whether the "Show Blocks" feature is enabled or not at startup. +FCKConfig.StartupShowBlocks = false ; + +FCKConfig.Debug = false ; +FCKConfig.AllowQueryStringDebug = true ; + +FCKConfig.SkinPath = FCKConfig.BasePath + '/' ; +FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|" ; +FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|" ; + +FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; + +FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; + +// FCKConfig.Plugins.Add( 'autogrow' ) ; +// FCKConfig.Plugins.Add( 'dragresizetable' ); +FCKConfig.AutoGrowMax = 400 ; + +// 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( /(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi ) ; // ASP.Net style tags + +FCKConfig.AutoDetectLanguage = true ; +FCKConfig.DefaultLanguage = 'fr' ; +FCKConfig.ContentLangDirection = 'ltr' ; + +FCKConfig.ProcessHTMLEntities = true ; +FCKConfig.IncludeLatinEntities = true ; +FCKConfig.IncludeGreekEntities = true ; + +FCKConfig.ProcessNumericEntities = false ; + +FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" + +FCKConfig.FillEmptyBlocks = true ; + +FCKConfig.FormatSource = false ; +FCKConfig.FormatOutput = false ; +FCKConfig.FormatIndentator = ' ' ; + +FCKConfig.EMailProtection = 'none' ; // none | encode | function +FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ; + +FCKConfig.StartupFocus = false ; +FCKConfig.ForcePasteAsPlainText = false ; +FCKConfig.AutoDetectPasteFromWord = true ; // IE only. +FCKConfig.ShowDropDialog = true ; +FCKConfig.ForceSimpleAmpersand = false ; +FCKConfig.TabSpaces = 0 ; +FCKConfig.ShowBorders = true ; +FCKConfig.SourcePopup = false ; +FCKConfig.ToolbarStartExpanded = false ; +FCKConfig.ToolbarCanCollapse = true ; +FCKConfig.IgnoreEmptyParagraphValue = true ; +FCKConfig.FloatingPanelsZIndex = 10000 ; +FCKConfig.HtmlEncodeOutput = false ; + +FCKConfig.TemplateReplaceAll = true ; +FCKConfig.TemplateReplaceCheckbox = true ; + +FCKConfig.ToolbarLocation = 'In' ; + +/* Ne pas mettre le lien sur objets internes (Image,Smiley) sur le type mailing */ +FCKConfig.ToolbarSets["dolibarr_mailings"] = [ + ['FitWindow','Source'], + ['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','Table','Rule','SpecialChar'], + ['FontName','FontSize'] +] ; + +FCKConfig.ToolbarSets["dolibarr_notes"] = [ + ['FitWindow','Source'], + ['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','Table','Rule','SpecialChar'], + ['FontName','FontSize'] +] ; + +FCKConfig.ToolbarSets["dolibarr_details"] = [ + ['FitWindow','Source'], + ['Cut','Copy','Paste','-','Preview'], + ['Undo','Redo'], + ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'], + ['OrderedList','UnorderedList','-','Outdent','Indent'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], + ['SpecialChar'], + ['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','Blockquote','CreateDiv'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], + ['Link','Unlink','Anchor'], + ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], + '/', + ['Style','FontFormat','FontName','FontSize'], + ['TextColor','BGColor'], + ['FitWindow','ShowBlocks','-','About'] // No comma for the last row. +] ; + +FCKConfig.ToolbarSets["Basic"] = [ + ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] +] ; + +FCKConfig.EnterMode = 'br' ; // p | div | br +FCKConfig.ShiftEnterMode = 'p' ; // p | div | br + +FCKConfig.Keystrokes = [ + [ CTRL + 65 /*A*/, true ], + [ CTRL + 67 /*C*/, true ], + [ CTRL + 70 /*F*/, true ], + [ CTRL + 83 /*S*/, true ], + [ CTRL + 84 /*T*/, true ], + [ CTRL + 88 /*X*/, true ], + [ CTRL + 86 /*V*/, 'Paste' ], + [ CTRL + 45 /*INS*/, true ], + [ SHIFT + 45 /*INS*/, 'Paste' ], + [ CTRL + 88 /*X*/, 'Cut' ], + [ SHIFT + 46 /*DEL*/, 'Cut' ], + [ CTRL + 90 /*Z*/, 'Undo' ], + [ CTRL + 89 /*Y*/, 'Redo' ], + [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ], + [ CTRL + 76 /*L*/, 'Link' ], + [ CTRL + 66 /*B*/, 'Bold' ], + [ CTRL + 73 /*I*/, 'Italic' ], + [ CTRL + 85 /*U*/, 'Underline' ], + [ CTRL + SHIFT + 83 /*S*/, 'Save' ], + [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ], + [ SHIFT + 32 /*SPACE*/, 'Nbsp' ] +] ; + +FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ; +FCKConfig.BrowserContextMenuOnCtrl = false ; +FCKConfig.BrowserContextMenu = false ; + +FCKConfig.EnableMoreFontColors = true ; +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.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ; +FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; +FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ; + +FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; +FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; + +FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell' +FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; +FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl +FCKConfig.FirefoxSpellChecker = false ; + +FCKConfig.MaxUndoLevels = 15 ; + +FCKConfig.DisableObjectResizing = false ; +FCKConfig.DisableFFTableHandles = true ; + +FCKConfig.LinkDlgHideTarget = false ; +FCKConfig.LinkDlgHideAdvanced = false ; + +FCKConfig.ImageDlgHideLink = false ; +FCKConfig.ImageDlgHideAdvanced = false ; + +FCKConfig.FlashDlgHideAdvanced = false ; + +FCKConfig.ProtectedTags = '' ; + +// This will be applied to the body element of the editor +FCKConfig.BodyId = '' ; +FCKConfig.BodyClass = '' ; + +FCKConfig.DefaultStyleLabel = '' ; +FCKConfig.DefaultFontFormatLabel = '' ; +FCKConfig.DefaultFontLabel = '' ; +FCKConfig.DefaultFontSizeLabel = '' ; + +FCKConfig.DefaultLinkTarget = '' ; + +// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word +FCKConfig.CleanWordKeepsStructure = false ; + +// Only inline elements are valid. +FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ; + +// Attributes that will be removed +FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ; + +FCKConfig.CustomStyles = +{ + 'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } } +}; + +// Do not add, rename or remove styles here. Only apply definition changes. +FCKConfig.CoreStyles = +{ + // Basic Inline Styles. + 'Bold' : { Element : 'strong', Overrides : 'b' }, + 'Italic' : { Element : 'em', Overrides : 'i' }, + 'Underline' : { Element : 'u' }, + 'StrikeThrough' : { Element : 'strike' }, + 'Subscript' : { Element : 'sub' }, + 'Superscript' : { Element : 'sup' }, + + // Basic Block Styles (Font Format Combo). + 'p' : { Element : 'p' }, + 'div' : { Element : 'div' }, + 'pre' : { Element : 'pre' }, + 'address' : { Element : 'address' }, + 'h1' : { Element : 'h1' }, + 'h2' : { Element : 'h2' }, + 'h3' : { Element : 'h3' }, + 'h4' : { Element : 'h4' }, + 'h5' : { Element : 'h5' }, + 'h6' : { Element : 'h6' }, + + // Other formatting features. + 'FontFace' : + { + Element : 'span', + Styles : { 'font-family' : '#("Font")' }, + Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ] + }, + + 'Size' : + { + Element : 'span', + Styles : { 'font-size' : '#("Size","fontSize")' }, + Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ] + }, + + 'Color' : + { + Element : 'span', + Styles : { 'color' : '#("Color","color")' }, + Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ] + }, + + 'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } }, + + 'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } } +}; + +// The distance of an indentation step. +FCKConfig.IndentLength = 40 ; +FCKConfig.IndentUnit = 'px' ; + +// Alternatively, FCKeditor allows the use of CSS classes for block indentation. +// This overrides the IndentLength/IndentUnit settings. +FCKConfig.IndentClasses = [] ; + +// [ Left, Center, Right, Justified ] +FCKConfig.JustifyClasses = [] ; + +// 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 = 'php' ; // asp | aspx | cfm | lasso | perl | php | py +var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py + +// Don't care about the following two lines. It just calculates the correct connector +// extension to use for the default File Browser (Perl uses "cgi"). +var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; +var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ; + +FCKConfig.LinkBrowser = true ; +FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/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=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/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=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; +FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; +FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; + +FCKConfig.LinkUpload = false ; +FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; +FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all +FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one + +FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged. +FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ; +FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all +FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one + +FCKConfig.FlashUpload = false ; +FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ; +FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // 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 = 210 ; + +FCKConfig.BackgroundBlockerColor = '#ffffff' ; +FCKConfig.BackgroundBlockerOpacity = 0.50 ; + +FCKConfig.MsWebBrowserControlCompat = false ; + +FCKConfig.PreventSubmitHandler = false ; diff --git a/htdocs/theme/auguria/graph-color.php b/htdocs/theme/auguria/graph-color.php index b0e5afbdc8b..f9b813f4ef6 100755 --- a/htdocs/theme/auguria/graph-color.php +++ b/htdocs/theme/auguria/graph-color.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2006 Laurent Destailleur +/* Copyright (C) 2004 Rodolphe Quiedeville + * Copyright (C) 2004-2007 Laurent Destailleur * * 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 @@ -18,15 +18,15 @@ */ /** - \file htdocs/theme/auguria/graph-color.php - \brief Fichier de d�claration des couleurs pour les graphiques + \file htdocs/theme/eldy/graph-color.php + \brief Fichier de déclaration des couleurs pour les graphiques \ingroup core \version $Id$ */ global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet; $theme_bordercolor = array(235,235,224); -$theme_datacolor = array(array(120,130,150), array(160,160,180), array(190,190,220)); +$theme_datacolor = array(array(120,130,150), array(200,160,180), array(190,190,220)); $theme_bgcolor = array(hexdec('F4'),hexdec('F4'),hexdec('F4')); $theme_bgcoloronglet = array(hexdec('DE'),hexdec('E7'),hexdec('EC')); diff --git a/htdocs/theme/auguria/img/1downarrow.png b/htdocs/theme/auguria/img/1downarrow.png index fd3a3ceed9d..d61271211de 100644 Binary files a/htdocs/theme/auguria/img/1downarrow.png and b/htdocs/theme/auguria/img/1downarrow.png differ diff --git a/htdocs/theme/auguria/img/1downarrow_selected.png b/htdocs/theme/auguria/img/1downarrow_selected.png index 453fdf12a40..5caf8ead52d 100644 Binary files a/htdocs/theme/auguria/img/1downarrow_selected.png and b/htdocs/theme/auguria/img/1downarrow_selected.png differ diff --git a/htdocs/theme/auguria/img/1uparrow.png b/htdocs/theme/auguria/img/1uparrow.png index 392ddf81f77..b40cb15977a 100644 Binary files a/htdocs/theme/auguria/img/1uparrow.png and b/htdocs/theme/auguria/img/1uparrow.png differ diff --git a/htdocs/theme/auguria/img/1uparrow_selected.png b/htdocs/theme/auguria/img/1uparrow_selected.png index cf0f50437a6..36d25a408c5 100644 Binary files a/htdocs/theme/auguria/img/1uparrow_selected.png and b/htdocs/theme/auguria/img/1uparrow_selected.png differ diff --git a/htdocs/theme/auguria/img/2.png b/htdocs/theme/auguria/img/2.png deleted file mode 100755 index ad65c580ee7..00000000000 Binary files a/htdocs/theme/auguria/img/2.png and /dev/null differ diff --git a/htdocs/theme/auguria/img/banner_02.jpg b/htdocs/theme/auguria/img/banner_02.jpg new file mode 100644 index 00000000000..29e0619e77f Binary files /dev/null and b/htdocs/theme/auguria/img/banner_02.jpg differ diff --git a/htdocs/theme/auguria/img/bg_inside.gif b/htdocs/theme/auguria/img/bg_inside.gif new file mode 100644 index 00000000000..e2a4f5c5841 Binary files /dev/null and b/htdocs/theme/auguria/img/bg_inside.gif differ diff --git a/htdocs/theme/auguria/img/body_bg.jpg b/htdocs/theme/auguria/img/body_bg.jpg new file mode 100644 index 00000000000..ddde2c5f5aa Binary files /dev/null and b/htdocs/theme/auguria/img/body_bg.jpg differ diff --git a/htdocs/theme/auguria/img/bouton/.cvsignore b/htdocs/theme/auguria/img/bouton/.cvsignore deleted file mode 100644 index 98e6ef67fad..00000000000 --- a/htdocs/theme/auguria/img/bouton/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -*.db diff --git a/htdocs/theme/auguria/img/bouton/menu_l_title_bg.png b/htdocs/theme/auguria/img/bouton/menu_l_title_bg.png deleted file mode 100644 index 8f61b220c59..00000000000 Binary files a/htdocs/theme/auguria/img/bouton/menu_l_title_bg.png and /dev/null differ diff --git a/htdocs/theme/auguria/img/bouton/round_black_tr.png b/htdocs/theme/auguria/img/bouton/round_black_tr.png deleted file mode 100644 index f27609ae8ee..00000000000 Binary files a/htdocs/theme/auguria/img/bouton/round_black_tr.png and /dev/null differ diff --git a/htdocs/theme/auguria/img/gradient.gif b/htdocs/theme/auguria/img/gradient.gif new file mode 100644 index 00000000000..d9d7c1086cd Binary files /dev/null and b/htdocs/theme/auguria/img/gradient.gif differ diff --git a/htdocs/theme/auguria/img/headbg.jpg b/htdocs/theme/auguria/img/headbg.jpg new file mode 100644 index 00000000000..7d1374e1fc9 Binary files /dev/null and b/htdocs/theme/auguria/img/headbg.jpg differ diff --git a/htdocs/theme/auguria/img/headbg2.jpg b/htdocs/theme/auguria/img/headbg2.jpg new file mode 100644 index 00000000000..7917abd9c07 Binary files /dev/null and b/htdocs/theme/auguria/img/headbg2.jpg differ diff --git a/htdocs/theme/auguria/img/indent1.png b/htdocs/theme/auguria/img/indent1.png new file mode 100644 index 00000000000..52ebb2bd738 Binary files /dev/null and b/htdocs/theme/auguria/img/indent1.png differ diff --git a/htdocs/theme/auguria/img/liste_menu.gif b/htdocs/theme/auguria/img/liste_menu.gif deleted file mode 100644 index 1abcd442530..00000000000 Binary files a/htdocs/theme/auguria/img/liste_menu.gif and /dev/null differ diff --git a/htdocs/theme/auguria/img/liste_titre.png b/htdocs/theme/auguria/img/liste_titre.png new file mode 100644 index 00000000000..7f4bd652069 Binary files /dev/null and b/htdocs/theme/auguria/img/liste_titre.png differ diff --git a/htdocs/theme/auguria/img/liste_titre_2.png b/htdocs/theme/auguria/img/liste_titre_2.png new file mode 100644 index 00000000000..d2ab373abda Binary files /dev/null and b/htdocs/theme/auguria/img/liste_titre_2.png differ diff --git a/htdocs/theme/auguria/img/logout.png b/htdocs/theme/auguria/img/logout.png index cd2863d371f..26ae717bc1a 100644 Binary files a/htdocs/theme/auguria/img/logout.png and b/htdocs/theme/auguria/img/logout.png differ diff --git a/htdocs/theme/auguria/img/mainlevel.gif b/htdocs/theme/auguria/img/mainlevel.gif new file mode 100644 index 00000000000..548526442a3 Binary files /dev/null and b/htdocs/theme/auguria/img/mainlevel.gif differ diff --git a/htdocs/theme/auguria/img/menus/.cvsignore b/htdocs/theme/auguria/img/menus/.cvsignore new file mode 100644 index 00000000000..fe283d71a09 --- /dev/null +++ b/htdocs/theme/auguria/img/menus/.cvsignore @@ -0,0 +1 @@ +tango-icon-theme* diff --git a/htdocs/theme/auguria/img/menus/agenda.png b/htdocs/theme/auguria/img/menus/agenda.png new file mode 100644 index 00000000000..2bea3152a10 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/agenda.png differ diff --git a/htdocs/theme/auguria/img/menus/commercial.png b/htdocs/theme/auguria/img/menus/commercial.png new file mode 100644 index 00000000000..e520f7eb71e Binary files /dev/null and b/htdocs/theme/auguria/img/menus/commercial.png differ diff --git a/htdocs/theme/auguria/img/menus/company.png b/htdocs/theme/auguria/img/menus/company.png new file mode 100644 index 00000000000..95e5db62046 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/company.png differ diff --git a/htdocs/theme/auguria/img/menus/ecm.png b/htdocs/theme/auguria/img/menus/ecm.png new file mode 100644 index 00000000000..a9a975219cd Binary files /dev/null and b/htdocs/theme/auguria/img/menus/ecm.png differ diff --git a/htdocs/theme/auguria/img/menus/footer_bg.jpg b/htdocs/theme/auguria/img/menus/footer_bg.jpg new file mode 100644 index 00000000000..ab5511b57f1 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/footer_bg.jpg differ diff --git a/htdocs/theme/auguria/img/menus/generic1.png b/htdocs/theme/auguria/img/menus/generic1.png new file mode 100644 index 00000000000..0222dd8c81d Binary files /dev/null and b/htdocs/theme/auguria/img/menus/generic1.png differ diff --git a/htdocs/theme/auguria/img/menus/generic2.png b/htdocs/theme/auguria/img/menus/generic2.png new file mode 100644 index 00000000000..86847858c4a Binary files /dev/null and b/htdocs/theme/auguria/img/menus/generic2.png differ diff --git a/htdocs/theme/auguria/img/menus/generic3.png b/htdocs/theme/auguria/img/menus/generic3.png new file mode 100644 index 00000000000..d3ed4fa89b3 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/generic3.png differ diff --git a/htdocs/theme/auguria/img/menus/generic4.png b/htdocs/theme/auguria/img/menus/generic4.png new file mode 100644 index 00000000000..29a3d7fed67 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/generic4.png differ diff --git a/htdocs/theme/auguria/img/menus/globe.png b/htdocs/theme/auguria/img/menus/globe.png new file mode 100644 index 00000000000..073348a5246 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/globe.png differ diff --git a/htdocs/theme/auguria/img/menus/home.png b/htdocs/theme/auguria/img/menus/home.png new file mode 100644 index 00000000000..eec3240070b Binary files /dev/null and b/htdocs/theme/auguria/img/menus/home.png differ diff --git a/htdocs/theme/auguria/img/menus/lr_bg.gif b/htdocs/theme/auguria/img/menus/lr_bg.gif new file mode 100644 index 00000000000..e6644e4685f Binary files /dev/null and b/htdocs/theme/auguria/img/menus/lr_bg.gif differ diff --git a/htdocs/theme/auguria/img/menus/mail.png b/htdocs/theme/auguria/img/menus/mail.png new file mode 100644 index 00000000000..dab5feda5cd Binary files /dev/null and b/htdocs/theme/auguria/img/menus/mail.png differ diff --git a/htdocs/theme/auguria/img/menus/members.png b/htdocs/theme/auguria/img/menus/members.png new file mode 100644 index 00000000000..4b703f42cd7 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/members.png differ diff --git a/htdocs/theme/auguria/img/menus/moduletable_th_bg.gif b/htdocs/theme/auguria/img/menus/moduletable_th_bg.gif new file mode 100644 index 00000000000..0901e294b1f Binary files /dev/null and b/htdocs/theme/auguria/img/menus/moduletable_th_bg.gif differ diff --git a/htdocs/theme/auguria/img/menus/money.png b/htdocs/theme/auguria/img/menus/money.png new file mode 100644 index 00000000000..50166e0f74b Binary files /dev/null and b/htdocs/theme/auguria/img/menus/money.png differ diff --git a/htdocs/theme/auguria/img/menus/pointofsale.png b/htdocs/theme/auguria/img/menus/pointofsale.png new file mode 100644 index 00000000000..748ec41b1e6 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/pointofsale.png differ diff --git a/htdocs/theme/auguria/img/menus/products.png b/htdocs/theme/auguria/img/menus/products.png new file mode 100644 index 00000000000..d1081185c44 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/products.png differ diff --git a/htdocs/theme/auguria/img/menus/project.png b/htdocs/theme/auguria/img/menus/project.png new file mode 100644 index 00000000000..5bc0f86b4be Binary files /dev/null and b/htdocs/theme/auguria/img/menus/project.png differ diff --git a/htdocs/theme/auguria/img/menus/shop.png b/htdocs/theme/auguria/img/menus/shop.png new file mode 100644 index 00000000000..89627d8b332 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/shop.png differ diff --git a/htdocs/theme/auguria/img/menus/tab_background.png b/htdocs/theme/auguria/img/menus/tab_background.png new file mode 100644 index 00000000000..0864dcc5852 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/tab_background.png differ diff --git a/htdocs/theme/auguria/img/menus/table_bg.gif b/htdocs/theme/auguria/img/menus/table_bg.gif new file mode 100644 index 00000000000..bd6bf5c1036 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/table_bg.gif differ diff --git a/htdocs/theme/auguria/img/menus/tools.png b/htdocs/theme/auguria/img/menus/tools.png new file mode 100644 index 00000000000..17215ec5899 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/tools.png differ diff --git a/htdocs/theme/auguria/img/menus/topmenu_bg.gif b/htdocs/theme/auguria/img/menus/topmenu_bg.gif new file mode 100644 index 00000000000..48cfe1a00ae Binary files /dev/null and b/htdocs/theme/auguria/img/menus/topmenu_bg.gif differ diff --git a/htdocs/theme/auguria/img/menus/topmenu_bg_over.gif b/htdocs/theme/auguria/img/menus/topmenu_bg_over.gif new file mode 100644 index 00000000000..2d03af87e67 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/topmenu_bg_over.gif differ diff --git a/htdocs/theme/auguria/img/menus/topmenu_left.gif b/htdocs/theme/auguria/img/menus/topmenu_left.gif new file mode 100644 index 00000000000..0f08aa2a2a7 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/topmenu_left.gif differ diff --git a/htdocs/theme/auguria/img/menus/topmenu_right.gif b/htdocs/theme/auguria/img/menus/topmenu_right.gif new file mode 100644 index 00000000000..cc7dd51652d Binary files /dev/null and b/htdocs/theme/auguria/img/menus/topmenu_right.gif differ diff --git a/htdocs/theme/auguria/img/menus/toppath.gif b/htdocs/theme/auguria/img/menus/toppath.gif new file mode 100644 index 00000000000..2180d924dee Binary files /dev/null and b/htdocs/theme/auguria/img/menus/toppath.gif differ diff --git a/htdocs/theme/auguria/img/menus/trtitle.png b/htdocs/theme/auguria/img/menus/trtitle.png new file mode 100644 index 00000000000..e4fe4ffe1a6 Binary files /dev/null and b/htdocs/theme/auguria/img/menus/trtitle.png differ diff --git a/htdocs/theme/auguria/img/money.png b/htdocs/theme/auguria/img/money.png new file mode 100644 index 00000000000..50166e0f74b Binary files /dev/null and b/htdocs/theme/auguria/img/money.png differ diff --git a/htdocs/theme/auguria/img/nav.jpg b/htdocs/theme/auguria/img/nav.jpg deleted file mode 100644 index 28a92271dcc..00000000000 Binary files a/htdocs/theme/auguria/img/nav.jpg and /dev/null differ diff --git a/htdocs/theme/auguria/img/next.png b/htdocs/theme/auguria/img/next.png index 60cb1ff8816..953731ca934 100644 Binary files a/htdocs/theme/auguria/img/next.png and b/htdocs/theme/auguria/img/next.png differ diff --git a/htdocs/theme/auguria/img/object_account.png b/htdocs/theme/auguria/img/object_account.png index 60a5ccd863c..46be8b6fe0f 100644 Binary files a/htdocs/theme/auguria/img/object_account.png and b/htdocs/theme/auguria/img/object_account.png differ diff --git a/htdocs/theme/auguria/img/object_bill.png b/htdocs/theme/auguria/img/object_bill.png index cd48a169672..b4022e77740 100755 Binary files a/htdocs/theme/auguria/img/object_bill.png and b/htdocs/theme/auguria/img/object_bill.png differ diff --git a/htdocs/theme/auguria/img/object_billa.png b/htdocs/theme/auguria/img/object_billa.png index 3635f753a31..93564621d7a 100644 Binary files a/htdocs/theme/auguria/img/object_billa.png and b/htdocs/theme/auguria/img/object_billa.png differ diff --git a/htdocs/theme/auguria/img/object_billr.png b/htdocs/theme/auguria/img/object_billr.png index 3c7443cba3e..c89098beaa5 100644 Binary files a/htdocs/theme/auguria/img/object_billr.png and b/htdocs/theme/auguria/img/object_billr.png differ diff --git a/htdocs/theme/auguria/img/object_calendar.png b/htdocs/theme/auguria/img/object_calendar.png index f43b3fc3e35..5678cdd2411 100644 Binary files a/htdocs/theme/auguria/img/object_calendar.png and b/htdocs/theme/auguria/img/object_calendar.png differ diff --git a/htdocs/theme/auguria/img/object_contact.png b/htdocs/theme/auguria/img/object_contact.png index 09f772e7a83..e98202b367d 100755 Binary files a/htdocs/theme/auguria/img/object_contact.png and b/htdocs/theme/auguria/img/object_contact.png differ diff --git a/htdocs/theme/auguria/img/object_contract.png b/htdocs/theme/auguria/img/object_contract.png index 52f910ba1f6..a75f954555e 100755 Binary files a/htdocs/theme/auguria/img/object_contract.png and b/htdocs/theme/auguria/img/object_contract.png differ diff --git a/htdocs/theme/auguria/img/object_list.png b/htdocs/theme/auguria/img/object_list.png index 21e11a04fd7..1ceb098d9cc 100644 Binary files a/htdocs/theme/auguria/img/object_list.png and b/htdocs/theme/auguria/img/object_list.png differ diff --git a/htdocs/theme/auguria/img/object_order.png b/htdocs/theme/auguria/img/object_order.png index 732ab97c439..20a1ddb6131 100755 Binary files a/htdocs/theme/auguria/img/object_order.png and b/htdocs/theme/auguria/img/object_order.png differ diff --git a/htdocs/theme/auguria/img/object_product.png b/htdocs/theme/auguria/img/object_product.png index f79b9cc78ff..79910e5e214 100755 Binary files a/htdocs/theme/auguria/img/object_product.png and b/htdocs/theme/auguria/img/object_product.png differ diff --git a/htdocs/theme/auguria/img/object_service.png b/htdocs/theme/auguria/img/object_service.png index 38a65e2b663..2161bfd59cc 100644 Binary files a/htdocs/theme/auguria/img/object_service.png and b/htdocs/theme/auguria/img/object_service.png differ diff --git a/htdocs/theme/auguria/img/object_task.png b/htdocs/theme/auguria/img/object_task.png index 82f4dff41b9..24581634018 100644 Binary files a/htdocs/theme/auguria/img/object_task.png and b/htdocs/theme/auguria/img/object_task.png differ diff --git a/htdocs/theme/auguria/img/object_user.png b/htdocs/theme/auguria/img/object_user.png index 81e0b0a657f..d26d8899ee8 100644 Binary files a/htdocs/theme/auguria/img/object_user.png and b/htdocs/theme/auguria/img/object_user.png differ diff --git a/htdocs/theme/auguria/img/previous.png b/htdocs/theme/auguria/img/previous.png index b6d7d5c4d8a..f807a78d281 100644 Binary files a/htdocs/theme/auguria/img/previous.png and b/htdocs/theme/auguria/img/previous.png differ diff --git a/htdocs/theme/auguria/img/printer.png b/htdocs/theme/auguria/img/printer.png index 8407b4fe949..3a5e7b2dfa0 100644 Binary files a/htdocs/theme/auguria/img/printer.png and b/htdocs/theme/auguria/img/printer.png differ diff --git a/htdocs/theme/auguria/img/search.png b/htdocs/theme/auguria/img/search.png index 31001609b82..4c52b1e401e 100644 Binary files a/htdocs/theme/auguria/img/search.png and b/htdocs/theme/auguria/img/search.png differ diff --git a/htdocs/theme/auguria/img/statut3.png b/htdocs/theme/auguria/img/statut3.png index 3da79f63501..f49966eaaa1 100644 Binary files a/htdocs/theme/auguria/img/statut3.png and b/htdocs/theme/auguria/img/statut3.png differ diff --git a/htdocs/theme/auguria/img/statut6.png b/htdocs/theme/auguria/img/statut6.png index 60d101cb4ec..b964afff603 100644 Binary files a/htdocs/theme/auguria/img/statut6.png and b/htdocs/theme/auguria/img/statut6.png differ diff --git a/htdocs/theme/auguria/img/tab_background.png b/htdocs/theme/auguria/img/tab_background.png new file mode 100644 index 00000000000..0864dcc5852 Binary files /dev/null and b/htdocs/theme/auguria/img/tab_background.png differ diff --git a/htdocs/theme/auguria/img/test.gif b/htdocs/theme/auguria/img/test.gif deleted file mode 100755 index 55ce8fb72b1..00000000000 Binary files a/htdocs/theme/auguria/img/test.gif and /dev/null differ diff --git a/htdocs/theme/auguria/img/title.gif b/htdocs/theme/auguria/img/title.gif index f7b6917596f..c1afa93ae4c 100644 Binary files a/htdocs/theme/auguria/img/title.gif and b/htdocs/theme/auguria/img/title.gif differ diff --git a/htdocs/theme/auguria/img/tmenu.jpg b/htdocs/theme/auguria/img/tmenu.jpg index 46c239d371f..8db7fdcb6fa 100644 Binary files a/htdocs/theme/auguria/img/tmenu.jpg and b/htdocs/theme/auguria/img/tmenu.jpg differ diff --git a/htdocs/theme/auguria/img/tmenu2.jpg b/htdocs/theme/auguria/img/tmenu2.jpg new file mode 100644 index 00000000000..e5ca3f72414 Binary files /dev/null and b/htdocs/theme/auguria/img/tmenu2.jpg differ diff --git a/htdocs/theme/auguria/img/tmenu3.jpg b/htdocs/theme/auguria/img/tmenu3.jpg new file mode 100644 index 00000000000..dc2434541cf Binary files /dev/null and b/htdocs/theme/auguria/img/tmenu3.jpg differ diff --git a/htdocs/theme/auguria/img/uparrow.png b/htdocs/theme/auguria/img/uparrow.png index b4e89fd81ec..5d54c6a4c91 100644 Binary files a/htdocs/theme/auguria/img/uparrow.png and b/htdocs/theme/auguria/img/uparrow.png differ diff --git a/htdocs/theme/auguria/img/view.png b/htdocs/theme/auguria/img/view.png index 4e0396f7b09..828c79a8323 100644 Binary files a/htdocs/theme/auguria/img/view.png and b/htdocs/theme/auguria/img/view.png differ diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 3bfcd0fb199..29eee7b6491 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -1,6 +1,7 @@ - * Copyright (C) 2008-2009 Laurent Destailleur +/* Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2006 Rodolphe Quiedeville + * Copyright (C) 2007-2010 Regis Houssin * * 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 @@ -19,7 +20,7 @@ /** * \file htdocs/theme/auguria/style.css.php - * \brief Fichier de style CSS du theme Auguria + * \brief Fichier de style CSS du theme auguria * \version $Id$ */ @@ -34,12 +35,13 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); + require_once("../../master.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php"); // Define css type header('Content-type: text/css'); -// Important: Avoid page request by browser and dynamic build at +// Important: Following code is to avoid page request by browser and PHP CPU at // each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache'); @@ -48,6 +50,12 @@ if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If languag $langs->load("main",0,1); $right=($langs->direction=='rtl'?'left':'right'); $left=($langs->direction=='rtl'?'right':'left'); +$fontsize=empty($conf->browser->phone)?'12':'12'; +$fontsizesmaller=empty($conf->browser->phone)?'11':'11'; + +$fontlist='arial,tahoma,verdana,helvetica'; +//$fontlist='Verdana,Helvetica,Arial,sans-serif'; + ?> /* ============================================================================== */ @@ -55,92 +63,86 @@ $left=($langs->direction=='rtl'?'right':'left'); /* ============================================================================== */ body { - - background-color: #FFFFFF; - - background-color: #FFFFFF; - + background: #ffffff url() 0 0 no-repeat; +/* background-color: #FFFFFF; */ color: #101010; - font-size: 12px; - font-family: arial, sans-serif, verdana, helvetica; + font-size: px; + font-family: ; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0; + direction.";\n"; ?> } -a:link {font-weight: bold; color: #000000; text-decoration: none; } -a:visited {font-weight: bold; color: #000000; text-decoration: none; } -a:active {font-weight: bold; color: #000000; text-decoration: none; } -a:hover {font-weight: bold; color: #000000; text-decoration: none; } -input -{ - font-size: 12px; - font-family: helvetica, verdana, arial, sans-serif; - font-weight: normal; +a:link, a:visited, a:hover, a:active { font-family: ; font-weight: bold; color: #000000; text-decoration: none; } + +input { + font-size: px; + font-family: ; background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } -input.flat -{ - font-size: 12px; - font-family: helvetica, verdana, arial, sans-serif; - font-weight: normal; +input.flat { + font-size: px; + font-family: ; background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } textarea { - font-size: 12px; - font-family: helvetica, verdana, arial, sans-serif; - font-weight: normal; + font-size: px; + font-family: ; background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } -textarea.flat -{ - font-size: 12px; - font-family: helvetica, verdana, arial, sans-serif; - font-weight: normal; +textarea.flat { + font-size: px; + font-family: ; background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } -select.flat -{ - font-size: 12px; - font-family: helvetica, verdana, arial, sans-serif; +select.flat { + font-size: px; + font-family: ; font-weight: normal; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } -.button -{ - font-size: 100%; +.button { + font-family: ; border: 0px; - background-image : url(); - background-position : bottom; + background-image: url(); + background-position: bottom; + padding: 0px 2px 0px 2px; + margin: 0px 0px 0px 0px; +} +.button:focus { + font-family: ; + color: #222244; + border: 0px; + background-image: url(); + background-position: bottom; + padding: 0px 2px 0px 2px; + margin: 0px 0px 0px 0px; +} +.buttonajax { + font-family: ; + border: 0px; + background-image: url(); + background-position: bottom; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } -.buttonajax -{ - font-size: 100%; - border: 0px; - background-image : url(); - background-position : bottom; - padding: 0px 0px 0px 0px; - margin: 0px 0px 0px 0px; -} -form -{ +form { padding: 0em 0em 0em 0em; margin: 0em 0em 0em 0em; } @@ -150,166 +152,252 @@ form /* Styles de positionnement des zones */ /* ============================================================================== */ -/* Removed div.vmenuplusfiche, replaced div.vmenu by td.vmenu, removed div.fiche */ -div.vmenu -{ - margin-left: 2px; -} - -td.vmenu -{ - margin-right: 2px; +td.vmenu { + margin-: 2px; padding: 0px; padding-bottom: 0px; width: 164px; } -div.fiche -{ - margin-left: 4px; - margin-right: 2px; +div.fiche { + margin-: 4px; + margin-: 4px; } /* ============================================================================== */ /* Menu top et 1ere ligne tableau */ /* ============================================================================== */ -div.tmenu +browser->phone)) { + $minwidthtmenu=0; + $heightmenu=19; +} +else +{ + $minwidthtmenu=70; + $heightmenu=39; +} +?> + +div.tmenu { display:none; position: relative; - display: block; + display: block; white-space: nowrap; - border-left: 0px; - padding: 0px 0px 0px 0px; - margin: 0px 0px 2px 0px; - font-size: 13px; - background-image : url() ; - height: 22px; + border-top: 0px solid #D3E5EC; + border-: 0px; + border-: 0px solid #555555; + border-bottom: 1px solid #ABB9B9; + padding: 0px 0px 0px 0px; /* t r b l */ + margin: 0px 0px 2px 0px; /* t r b l */ + font-weight: normal; + height: px; + background: #7FAEC6; + background-image: url(); +/* background-position: center bottom; */ + color: #000000; + text-decoration: none; } -a.tmenudisabled -{ - color: #9FCED9; - font-size: 12px; - padding-left: 6px; - padding-right: 6px; - padding-top: 2px; - cursor: not-allowed; - font-weight: normal; - font-size: 13px; -} -a.tmenudisabled:link -{ - color: #9FCED9; - font-weight: normal; -} -a.tmenudisabled:visited -{ - color: #9FCED9; - font-weight: normal; -} -a.tmenudisabled:hover -{ - color: #9FCED9; - font-weight: normal; -} -a.tmenudisabled:active -{ - color: #9FCED9; - font-weight: normal; + + +/* +div.mainmenu { + position : relative; + color: white; + background-repeat:no-repeat; + background-position:center top; + height: px; + margin-left: 0px; } -a.tmenu -{ - color:#FFFFFF; - text-decoration:none; - padding-left:6px; - padding-right:6px; - padding-top: 2px; - height: 22px; - font-weight: normal; - font-size: 13px; -} -a.tmenu:link -{ - color:#FFFFFF; - font-weight: normal; -} -a.tmenu:visited -{ - color:#FFFFFF; - font-weight: normal; -} -a.tmenu:hover -{ - color:#234046; - font-weight: normal; -} -a.tmenu:active -{ - color:#234046; - font-weight: normal; +browser->phone)) { ?> + +div.mainmenu.home{ + background-image: url(); } -a.tmenusel -{ - color:#234046; - text-decoration:none; - padding-left: 6px; - padding-right: 6px; - padding-top: 2px; - height: 22px; - font-weight: normal; - background: #FFFFFF; - font-size: 13px; -} -a.tmenusel:link -{ - font-weight: normal; -} -a.tmenusel:visited -{ - font-weight: normal; -} -a.tmenusel:hover -{ - font-weight: normal; -} -a.tmenusel:active -{ - font-weight: normal; +div.mainmenu.companies { + background-image: url(); } -table.tmenu -{ - padding: 1px 0px 0px 0px; // x y z w x=top offset - margin: 0px 0px 0px 0px; +div.mainmenu.products { + background-image: url(); + margin-left: 10px; } -* html li.tmenu a -{ - width:40px; +div.mainmenu.commercial { + background-image: url(); } -ul.tmenu { - padding: 3px 0px 0px 0px; - margin: 0px 0px 0px 0px; - list-style: none; +div.mainmenu.accountancy { + background-image: url(); } -li.tmenu { - float: left; - border-right: solid 1px #4F9EC9; - height: 18px; + +div.mainmenu.project { + background-image: url(); +} + +div.mainmenu.tools { + background-image: url(); +} + +div.mainmenu.members { + background-image: url(); +} + +div.mainmenu.shop { + background-image: url(); +} + +div.mainmenu.agenda { + background-image: url(); +} + +div.mainmenu.ecm { + background-image: url(); +} + +div.mainmenu.cashdesk { + background-image: url(); +} +*/ +'name of class for div') + +$moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial', + 'produit'=>'products','service'=>'products','stock'=>'products', + 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools', + 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial', + 'fournisseur'=>'companies', + 'barcode'=>'','fckeditor'=>'','categorie'=>'', +); +$mainmenuused='home'; +foreach($conf->modules as $key => $val) +{ + $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val); +} +//var_dump($mainmenuused); +$mainmenuusedarray=array_unique(explode(',',$mainmenuused)); + +$mainmenuusedarray=array(); // Disable + +$generic=1; +$divalreadydefined=array('home','companies','products','commercial','accountancy','project','tools','members','shop','agenda','ecm','cashdesk'); +foreach($mainmenuusedarray as $key => $val) +{ + if (empty($val) || in_array($val,$divalreadydefined)) continue; + //print "XXX".$val; + + // Search img file in module dir + $found=0; $url=''; + foreach($conf->file->dol_document_root as $dirroot) + { + if (file_exists($dirroot."/".$val."/img/".$val.".png")) + { + $url=DOL_URL_ROOT.'/'.$val.'/img/'.$val.'.png'; + $found=1; + break; + } + } + // Img file not found + if (! $found && $generic <= 4) + { + $url=DOL_URL_ROOT."/theme/auguria/img/menus/generic".$generic.".png"; + $found=1; + $generic++; + } + if ($found) + { + print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n"; + print "div.mainmenu.".$val." {\n"; + print " background-image: url(".$url.");\n"; + print " height:28px;\n"; + print "}\n"; + } +} +// End of part to add more div class css +?> + + + + +.tmenu{ position:relative; - display: block; - padding: 0px 0px 0px 0px; - margin: 0px 0px 0px 0px; + font-size: 10px; /* To reduce to have more entries */ + font-family:Tahoma,sans-serif; + text-transform:uppercase; + background: url(/img/menus/topmenu_bg.gif) repeat-x bottom left; + padding:0 0 0 10px; } +.tmenu ul{ + margin:0; + padding:0; + list-style-type:none; + width:auto; + float:left; +} + +.tmenu ul li{ + display:block; + float:left; + margin:0 1px; + padding-left: 0px; + padding-right: 0px; +} + +.tmenu ul li a{ + display:block; + float:left; + color:#EAF3F8; + text-decoration:none; + padding:0 0 0 8px; + height:33px; +} + +.tmenu ul li a span{ + padding:12px 8px 0 0; + height:21px; + float:left; +} + +.tmenu ul li a:hover{ + color:#fff; + background:transparent url(/img/menus/topmenu_bg_over.gif) repeat-x bottom left; +} + +.tmenu ul li a:hover span{ + display:block; + width:auto; + cursor:pointer; +} + +.tmenu ul li a.tmenusel,.tmenu ul li a.tmenusel{ + color:#fff; + background: url(/img/menus/topmenu_left.gif) no-repeat top left; + line-height:305%; +} + +.tmenu ul li a.tmenusel span{ + display:block; + padding:4px 8px 0 0; + width:auto; + background: url(/img/menus/topmenu_right.gif) no-repeat top right; + height:33px; +} +/* --- end nav --- */ + + + /* Login */ @@ -317,38 +405,28 @@ a.login { position: absolute; : 30px; - top: 3px; + color: #234046; - padding: 0px 8px; + padding: 12px 8px; margin: 0px 0px 1px 0px; - font-weight:bold; - font-size:12px; + font-weight: bold; } a.login:hover { - color:black; + color: black; } -img.login -{ +img.login, img.printer { position: absolute; : 20px; - top: 3px; - - text-decoration:none; - color:white; - font-weight:bold; -} -img.printer -{ - position: absolute; - : 4px; - top: 3px; - + padding: 10px 0px 0px 0px; text-decoration: none; color: white; font-weight: bold; } +img.printer { + : 4px; +} /* ============================================================================== */ @@ -357,26 +435,17 @@ img.printer .vmenu { - display:none; + display: none; } -a.vmenu:link { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; } -a.vmenu:visited { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; } -a.vmenu:active { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; } -a.vmenu:hover { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; } -font.vmenudisabled { font-size:12px; text-align:left; font-weight: normal; color: #9FCED9; margin: 1px 1px 1px 4px; } +a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active { font-size:px; font-family: ; text-align: ; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 5px; } +font.vmenudisabled { font-size:px; font-family: ; text-align: ; font-weight: bold; color: #93a5aa; } -a.vsmenu:link { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; } -a.vsmenu:visited { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; } -a.vsmenu:active { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; } -a.vsmenu:hover { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; } -font.vsmenudisabled { font-size:11px; text-align:left; font-weight: normal; color: #9FCED9; margin: 1px 1px 1px 4px; } +a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active { font-size:px; font-family: ; text-align: ; font-weight: normal; color: #202020; margin: 1px 1px 1px 5px; } +font.vsmenudisabled { font-size:px; font-family: ; text-align: ; font-weight: normal; color: #93a5aa; margin: 1px 1px 1px 6px; } -a.help:link { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #68ACCF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -a.help:visited { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #68ACCF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -a.help:active { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #6198BA; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -a.help:hover { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #6198BA; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } +a.help:link, a.help:visited, a.help:hover, a.help:active { font-size:px; font-family: ; text-align: ; font-weight: normal; } div.blockvmenupair @@ -396,10 +465,10 @@ div.blockvmenuimpair border : 0px solid #68ACCF; } - div.blockvmenuimpair form a.vmenu, div.blockvmenupair form a.vmenu { width: 166px; + border-spacing: 0px; color: #000000; text-align:left; text-decoration: none; @@ -409,16 +478,33 @@ div.blockvmenuimpair form a.vmenu, div.blockvmenupair form a.vmenu margin-bottom: -12px; } -div.help -{ - width: 166px; - padding: 0px; - margin-top: 15px; - text-align: center; +div.blockvmenusearch { + padding: 3px 0px 3px 0px; } +div.blockvmenubookmarks +{ + margin: 0px; + border-spacing: 0px; + padding: 0px; + width: 166px; + border : 0px solid #68ACCF; +} -/* Pour menu gauche Auguria */ +div.blockvmenuhelp { + text-align: center; + border-spacing: 0px; + width: 166px; + background: #f0f0f0; + font-family: ; + color: #000000; + text-decoration: none; + padding-left: 0px; + padding-right: 1px; + padding-top: 3px; + padding-bottom: 3px; + margin: 1px 0px 0px 0px; +} div.menu_titre { background: url(); @@ -434,6 +520,14 @@ div.menu_titre { font-weight: bold; } +#blockvmenusearch div.menu_titre, #blockvmenusearch form { + width:166px; + padding-top: 1px; + padding-bottom: 1px; + height: 16px; + background: #DDDDDD !important; +} + div.menu_contenu { background: url(); margin: 0px; @@ -460,8 +554,9 @@ td.barre { border-right: 1px solid #000000; border-bottom: 1px solid #000000; background: #b3c5cc; + font-family: ; color: #000000; - text-align:left; + text-align: ; text-decoration: none; } @@ -477,15 +572,16 @@ td.photo { } + /* ============================================================================== */ /* Onglets */ /* ============================================================================== */ div.tabs { top: 20px; - margin: 10px 0px 0px 0px; + margin: 1px 0px 0px 0px; padding: 0px 6px 0px 0px; - text-align: left; + text-align: ; } div.tabBar { @@ -499,11 +595,11 @@ div.tabBar { -moz-border-radius-topright:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px; - border-right: 1px solid #68ACCF ; - border-bottom: 1px solid #68ACCF; - border-left: 1px solid #68ACCF; - border-top: 1px solid #68ACCF; - background: #F0F0F0 url() repeat-x; + border-right: 1px solid #555555; + border-bottom: 1px solid #555555; + border-left: 1px solid #D0D0D0; + border-top: 1px solid #D8D8D8; + background: #dee7ec url() repeat-x; } div.tabsAction { @@ -514,21 +610,23 @@ div.tabsAction { a.tabTitle { - background: #EEEEEE; - color: #6198BA; - font-weight: bold; + background: #436976; + color: white; + font-family: ; + font-weight: normal; padding: 0px 6px; margin: 0px 6px; text-decoration: none; white-space: nowrap; - border-right: 1px solid #555555; - border-left: 1px solid #D8D8D8; + border-: 1px solid #555555; + border-: 1px solid #D8D8D8; border-top: 1px solid #D8D8D8; } a.tab:link { - background: #68ACCF; - color: #FFFFFF; + background: #dee7ec; + color: #436976; + font-family: ; padding: 0px 6px; margin: 0em 0.2em; text-decoration: none; @@ -536,13 +634,14 @@ a.tab:link { -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; - border-right: 1px solid #555555; - border-left: 1px solid #D8D8D8; + border-: 1px solid #555555; + border-: 1px solid #D8D8D8; border-top: 1px solid #D8D8D8; } a.tab:visited { - background: #68ACCF; - color: #FFFFFF; + background: #dee7ec; + color: #436976; + font-family: ; padding: 0px 6px; margin: 0em 0.2em; text-decoration: none; @@ -550,40 +649,44 @@ a.tab:visited { -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; - border-right: 1px solid #555555; - border-left: 1px solid #D8D8D8; + border-: 1px solid #555555; + border-: 1px solid #D8D8D8; border-top: 1px solid #D8D8D8; } a.tab#active { - background: #FFFFFF; - border-bottom: #FFFFFF 1px solid; - color: #6198BA; + background: white; + border-bottom: #dee7ec 1px solid; + font-family: ; + color: #436976; padding: 0px 6px; margin: 0em 0.2em; text-decoration: none; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; - border-right: 1px solid #555555; - border-left: 1px solid #D8D8D8; + border-: 1px solid #555555; + border-: 1px solid #D8D8D8; border-top: 1px solid #D8D8D8; + border-bottom: 1px solid white; } a.tab:hover { - background: #FFFFFF; - color: #6198BA; + background: white; + color: #436976; + font-family: ; padding: 0px 6px; margin: 0em 0.2em; text-decoration: none; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; - border-right: 1px solid #555555; - border-left: 1px solid #D8D8D8; + border-: 1px solid #555555; + border-: 1px solid #D8D8D8; border-top: 1px solid #D8D8D8; } a.tabimage { color: #436976; + font-family: ; text-decoration: none; white-space: nowrap; } @@ -598,90 +701,72 @@ td.tab { /* Nouvelle syntaxe a utiliser */ -a.butAction:link { - font-weight: bold; - background: #68ACCF; - border: 1px solid #8CACBB; - color: #FFFFFF; - padding: 0em 0.7em; - margin: 0em 0.5em; - text-decoration: none; - white-space: nowrap; } - -a.butAction:visited { - font-weight: bold; - background: #68ACCF; - border: 1px solid #8CACBB; - color: #FFFFFF; - padding: 0em 0.7em; - margin: 0em 0.5em; - text-decoration: none; - white-space: nowrap; } - -a.butAction:active { - font-weight: bold; - background: white; - border: 1px solid #8CACBB; - color: #6198BA; - padding: 0em 0.7em; - margin: 0em 0.5em; - text-decoration: none; - white-space: nowrap; } +a.butAction:link, a.butAction:visited, a.butAction:hover, a.butAction:active, a.butActionDelete, a.butActionDelete:link, a.butActionDelete:visited, a.butActionDelete:hover, a.butActionDelete:active { + font-family: ; + font-weight: bold; + background: white; + border: 1px solid #8CACBB; + color: #436976; + padding: 0em 0.7em; + margin: 0em 0.5em; + text-decoration: none; + white-space: nowrap; +} a.butAction:hover { - font-weight: bold; - background: #FFFFFF; - border: 1px solid #8CACBB; - color: #6198BA; - padding: 0em 0.7em; - margin: 0em 0.5em; - text-decoration: none; - white-space: nowrap; } - -a.butActionRefused { - font-weight: bold; - background: white; - border: 1px solid #AAAAAA; - color: #AAAAAA; - padding: 0em 0.7em; - margin: 0em 0.5em; - text-decoration: none; - white-space: nowrap; - cursor: not-allowed; - } + background: #dee7ec; +} a.butActionDelete { - font-weight: bold; - background: red; - border: 1px solid red; - color: red; - padding: 0em 0.7em; - margin: 0em 0.5em; - text-decoration: none; - white-space: nowrap; } + border: 1px solid red; +} -a.butActionDelete:link { font-weight: bold; background: white; border: 1px solid #997777; color: #801111; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -a.butActionDelete:active { font-weight: bold; background: white; border: 1px solid #997777; color: #801111; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -a.butActionDelete:visited { font-weight: bold; background: white; border: 1px solid #997777; color: #801111; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } -a.butActionDelete:hover { font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #801111; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } +a.butActionDelete:link, a.butActionDelete:visited, a.butActionDelete:hover, a.butActionDelete:active { + border: 1px solid #997777; +} + +a.butActionDelete:hover { + background: #FFe7ec; +} + +.butActionRefused { + font-family: !important; + font-weight: bold !important; + background: white !important; + border: 1px solid #AAAAAA !important; + color: #AAAAAA !important; + padding: 0em 0.7em !important; + margin: 0em 0.5em !important; + text-decoration: none !important; + white-space: nowrap !important; + cursor: not-allowed; +} /* ============================================================================== */ /* Tables */ /* ============================================================================== */ +/* +#undertopmenu { +background-image: url(""); +background-repeat: repeat-x; +} +*/ + + .nocellnopadd { list-style-type:none; -margin:0px; -padding:0px; +margin: 0px; +padding: 0px; } .notopnoleft { border-collapse: collapse; border: 0px; padding-top: 0px; -padding-left: 0px; -padding-right: 4px; +padding-: 0px; +padding-: 4px; padding-bottom: 4px; margin: 0px 0px; } @@ -692,108 +777,19 @@ padding-top: 0px; padding-left: 0px; padding-right: 0px; padding-bottom: 4px; -margin: 0px 0px; - - +margin: 0px 0px 0px 0px; } + table.border { -border: 0px solid #9CACBB; -border-collapse: collapse; -} -table.border td { -padding: 2px 2px; -padding-left: 4px; border: 1px solid #9CACBB; border-collapse: collapse; } - -table.noborder { -border: 1px solid #FFFFFF; -border-spacing: 1px; -} -table.noborder td { -border: 0px; +table.border td { padding: 1px 2px; -} - - -table.nobordernopadding { +border: 1px solid #9CACBB; border-collapse: collapse; -border: 0px; -} -table.nobordernopadding td { -border: 0px; -padding: 0px 0px; -} -table.nobordernopadding tr { -border: 0px; -padding: 0px 0px; -} - -table.liste { -border-collapse: collapse; -width: 100%; -border: 0px; -} - -tr.liste_titre { -background: #68ACCF; -color: #FFFFFF; -font-size: 12px; -font-family: arial, helvetica, verdana, sans-serif; -font-weight: normal; -border-bottom: 1px solid #FDFFFF; -white-space: nowrap; - -} - -td.liste_titre { -background: #68ACCF; -color: #FFFFFF; -font-size: 12px; -font-family: arial, helvetica, verdana, sans-serif; -font-weight: normal; -border-bottom: 1px solid #FDFFFF; -white-space: nowrap; - -} - -td.liste_titre_sel -{ -background: #68ACCF; -color: #556262; -font-size: 12px; -font-family: arial, helvetica, verdana, sans-serif; -font-weight: normal; -border-bottom: 1px solid #FDFFFF; -white-space: normal; - -moz-border-radius-topleft:6px; - -moz-border-radius-topright:6px; -} -input.liste_titre { -background: #68ACCF; -border: 0px; -} - -tr.liste_total td { -border-top: 0px solid #888888; -background: #F4F4F4; -font-weight: bold; -white-space: normal; -} - -th { -background: #7699A9; -color: #334444; - -font-weight: bold; -border-left: 1px solid #FFFFFF; -border-right: 1px solid #FFFFFF; -border-top: 1px solid #FFFFFF; -border-bottom: 1px solid #FFFFFF; -white-space: normal; } td.border { @@ -803,21 +799,146 @@ border-bottom: 1px solid #000000; border-left: 1px solid #000000; } -.pair { -background: #e6ebed; +/* Main boxes */ +table.noborder { +border-collapse: collapse; +border-top-color: #FEFEFE; + +border-right-width: 1px; +border-right-color: #BBBBBB; +border-right-style: solid; + +border-left-width: 1px; +border-left-color: #BBBBBB; +border-left-style: solid; + +border-bottom-width: 1px; +border-bottom-color: #BBBBBB; +border-bottom-style: solid; + +margin-left: 1px; +margin-right: 1px; +margin-bottom: 2px; +margin-top: 0px; +} + +table.noborder tr { +border-top-color: #FEFEFE; + +border-right-width: 1px; +border-right-color: #BBBBBB; +border-right-style: solid; + +border-left-width: 1px; +border-left-color: #BBBBBB; +border-left-style: solid; +} + +table.noborder td { +padding: 1px 2px; /* t r b l */ +} + +table.nobordernopadding { +border-collapse: collapse; border: 0px; } -/* -.pair:hover { -background: #c0c4c7; +table.nobordernopadding tr { +border: 0px; +padding: 0px 0px; +} +table.nobordernopadding td { +border: 0px; +padding: 0px 0px; +} + +/* For lists */ + +table.liste { +width: 100%; +border-collapse: collapse; +border-top-color: #FEFEFE; + +border-right-width: 1px; +border-right-color: #BBBBBB; +border-right-style: solid; + +border-bottom-width: 1px; +border-bottom-color: #BBBBBB; +border-bottom-style: solid; + +margin-bottom: 2px; +margin-top: 0px; +} +table.liste td { +padding-right: 2px; +} + +tr.liste_titre { +height: 28px; +background: #7699A9; +background-image: url(); +background-repeat: repeat-x; +color: #FFFFFF; +font-family: ; +/* border-bottom: 1px solid #FDFFFF; */ +white-space: nowrap; +} +td.liste_titre { +background: #7699A9; +background-image: url(); +background-repeat: repeat-x; +color: #FFFFFF; +font-family: ; +font-weight: normal; +/* border-bottom: 1px solid #FDFFFF; */ +white-space: nowrap; +} +td.liste_titre_sel +{ +background: #7699A9; +background-image: url(); +background-repeat: repeat-x; +color: #FFCCAA; +font-family: ; +font-weight: normal; +/* border-bottom: 1px solid #FDFFFF; */ +white-space: nowrap; +} +input.liste_titre { +background: #7699A9; +background-image: url(); +background-repeat: repeat-x; border: 0px; } -*/ + +tr.liste_total td { +border-top: 1px solid #DDDDDD; +background: #F0F0F0; +/* background-image: url(); */ +background-repeat: repeat-x; +color: #332266; +font-weight: normal; +white-space: nowrap; +} + +th { +/* background: #7699A9; */ +background: #91ABB3; +color: #334444; +font-family: ; +font-weight: bold; +border-left: 1px solid #FFFFFF; +border-right: 1px solid #FFFFFF; +border-top: 1px solid #FFFFFF; +border-bottom: 1px solid #FFFFFF; +white-space: nowrap; +} .impair { -background: #d0d4d7; - +/* background: #d0d4d7; */ +background: #eaeaea; +font-family: ; border: 0px; } /* @@ -827,36 +948,59 @@ border: 0px; } */ +.pair { +/* background: #e6ebed; */ +background: #f4f4f4; +font-family: ; +border: 0px; +} +/* +.pair:hover { +background: #c0c4c7; +border: 0px; +} +*/ + + /* * Boxes */ .box { -padding-right: 2px; -padding-bottom: 2px; +padding-right: 0px; +padding-left: 0px; +padding-bottom: 4px; } tr.box_titre { -background: #68ACCF; +height: 28px; +background: #7699A9; +background-image: url(); +background-repeat: repeat-x; color: #FFFFFF; -font-size: 12px; +font-family: , sans-serif; font-weight: normal; border-bottom: 1px solid #FDFFFF; -white-space: normal; +white-space: nowrap; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; } tr.box_impair { -background: #e6ebed; -font-size: 12px; +/* background: #e6ebed; */ +background: #eaeaea; +font-family: ; } tr.box_pair { -background: #d0d4d7; -font-size: 12px; +/* background: #d0d4d7; */ +background: #f4f4f4; +font-family: ; } +tr.fiche { +font-family: ; +} @@ -878,6 +1022,11 @@ div.ok { div.warning { color: #997711; + padding: 0.2em 0.2em 0.2em 0.2em; + margin: 0.5em 0em 0.5em 0em; + border: 1px solid #e0e0d0; + -moz-border-radius:6px; + background: #efefd4; } div.error { @@ -885,13 +1034,17 @@ div.error { padding: 0.2em 0.2em 0.2em 0.2em; margin: 0.5em 0em 0.5em 0em; border: 1px solid #8C9CAB; + -moz-border-radius:6px; } -div.info { /* Info admin */ - color: #888888; +/* Info admin */ +div.info { + color: #707070; padding: 0.2em 0.2em 0.2em 0.2em; margin: 0.5em 0em 0.5em 0em; - border: 1px solid #ACACAB; + border: 1px solid #e0e0d0; + -moz-border-radius:6px; + background: #efefd4; } @@ -912,7 +1065,7 @@ a.impayee:hover { font-weight: bold; color: #550000; } /* - * Other + * Other */ .fieldrequired { font-weight: bold; color: #000055; } @@ -928,11 +1081,13 @@ border: 0px; } div.titre { + font-family: ; font-weight: normal; - color: #57A2CA; + color: #336666; text-decoration: none; } + /* ============================================================================== */ /* Formulaire confirmation (HTML) */ /* ============================================================================== */ @@ -947,11 +1102,11 @@ table.valid { padding-right: 0px; padding-bottom: 0px; margin: 0px 0px; - background: #EECC55; + background: #D5BAA8; } .validtitre { - background: #EECC55; + background: #D5BAA8; font-weight: bold; } @@ -1105,9 +1260,239 @@ table.valid { /* ============================================================================== */ -/* Admin Menu */ +/* Tooltips */ /* ============================================================================== */ +#dhtmltooltip +{ +position: absolute; +width: px; +border-top: solid 1px #BBBBBB; +border-: solid 1px #BBBBBB; +border-: solid 1px #444444; +border-bottom: solid 1px #444444; +padding: 2px; +background-color: #FFFFE0; +visibility: hidden; +z-index: 100; +} + + +/* ============================================================================== */ +/* Calendar */ +/* ============================================================================== */ +.bodyline { + -moz-border-radius:8px; + border: 1px #E4ECEC outset; + padding: 0px; + margin-bottom: 5px; +} +table.dp { + width: 180px; + background-color: #FFFFFF; + border-top: solid 2px #DDDDDD; + border-: solid 2px #DDDDDD; + border-: solid 1px #222222; + border-bottom: solid 1px #222222; +} +.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;} +/* Barre titre */ +.dpHead,.tpHead,.tpHour td:Hover .tpHead{ + font-weight:bold; + background-color:#b3c5cc; + color:white; + font-size:11px; + cursor:auto; +} +/* Barre navigation */ +.dpButtons,.tpButtons { + text-align:center; + background-color:#617389; + color:#FFFFFF; + font-weight:bold; + border: 1px outset black; + cursor:pointer; +} +.dpButtons:Active,.tpButtons:Active{border: 1px outset black;} +.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;} +.dpExplanation{ font-weight:normal; font-size:11px;} +.dpWeek td{text-align:center} + +.dpToday,.dpReg,.dpSelected{ + cursor:pointer; +} +.dpToday{font-weight:bold; color:black; background-color:#DDDDDD;} +.dpReg:Hover,.dpToday:Hover{background-color:black;color:white} + +/* Jour courant */ +.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; } + +.tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;} +.tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;} +.tpHour td:Hover {background-color:black;color:white;} + +.tpMinute {margin-top:5px;} +.tpMinute td:Hover {background-color:black; color:white; } +.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;} + +/* Bouton X fermer */ +.dpInvisibleButtons +{ +border-style:none; +background-color:transparent; +padding:0px; +font-size:9px; +border-width:0px; +color:#0B63A2; +vertical-align:middle; +cursor: pointer; +} + + +/* ============================================================================== */ +/* Afficher/cacher */ +/* ============================================================================== */ + +div.visible { + display: block; +} + +div.hidden { + display: none; +} + +tr.visible { + display: block; +} + +td.hidden { + display: none; +} + + +/* ============================================================================== */ +/* Module agenda */ +/* ============================================================================== */ + +.cal_other_month { background: #DDDDDD; border: solid 1px #ACBCBB; padding-: 2px; padding-: 1px; padding-top: 0px; padding-bottom: 0px; } +.cal_past_month { background: #EEEEEE; border: solid 1px #ACBCBB; padding-: 2px; padding-: 1px; padding-top: 0px; padding-bottom: 0px; } +.cal_current_month { background: #FFFFFF; border: solid 1px #ACBCBB; padding-: 2px; padding-: 1px; padding-top: 0px; padding-bottom: 0px; } +.cal_today { background: #FFFFFF; border: solid 2px #6C7C7B; padding-: 2px; padding-: 1px; padding-top: 0px; padding-bottom: 0px; } +table.cal_event { border-collapse: collapse; margin-bottom: 1px; } +table.cal_event td { border: 0px; padding-: 0px; padding-: 2px; padding-top: 0px; padding-bottom: 0px; } +.cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; } +.cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; } +.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; } +.cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; } + + + +/* ============================================================================== */ +/* Afficher/cacher */ +/* ============================================================================== */ + +#evolForm input.error { + font-weight: bold; + border: solid 1px #FF0000; + padding: 1px 1px 1px 1px; + margin: 1px 1px 1px 1px; + } + +#evolForm input.focuserr { + font-weight: bold; + background: #FAF8E8; + color: black; + border: solid 1px #FF0000; + padding: 1px 1px 1px 1px; + margin: 1px 1px 1px 1px; + } + + +#evolForm input.focus { /*** Mise en avant des champs en cours d'utilisation ***/ + background: #FAF8E8; + color: black; + border: solid 1px #000000; + padding: 1px 1px 1px 1px; + margin: 1px 1px 1px 1px; + } + +#evolForm input.normal { /*** Retour a l'etat normal apres l'utilisation ***/ + background: white; + color: black; + border: solid 1px white; + padding: 1px 1px 1px 1px; + margin: 1px 1px 1px 1px; + } + + + +/* ============================================================================== */ +/* Ajax - Liste deroulante de l'autocompletion */ +/* ============================================================================== */ + +div.autocomplete { + position:absolute; + width:250px; + background-color:white; + border:1px solid #888; + margin:0px; + padding:0px; + } +div.autocomplete ul { + list-style-type:none; + margin:0px; + padding:0px; + } +div.autocomplete ul li.selected { background-color: #D3E5EC;} +div.autocomplete ul li { + list-style-type:none; + display:block; + margin:0; + padding:2px; + height:16px; + cursor:pointer; + } + + +/* ============================================================================== */ +/* Ajax - In place editor */ +/* ============================================================================== */ + +form.inplaceeditor-form { /* The form */ +} + +form.inplaceeditor-form input[type="text"] { /* Input box */ +} + +form.inplaceeditor-form textarea { /* Textarea, if multiple columns */ +background: #FAF8E8; +color: black; +} + +form.inplaceeditor-form input[type="submit"] { /* The submit button */ + font-size: 100%; + font-weight:normal; + border: 0px; + background-image : url(); + background-position : bottom; + cursor:pointer; +} + +form.inplaceeditor-form a { /* The cancel link */ + margin-left: 5px; + font-size: 11px; + font-weight:normal; + border: 0px; + background-image : url(); + background-position : bottom; + cursor:pointer; +} + + + +/* ============================================================================== */ +/* Admin Menu */ +/* ============================================================================== */ /* CSS a appliquer a l'arbre hierarchique */ @@ -1148,6 +1533,7 @@ ul.arbre li { margin: 0; list-style: none; } +/* This is to create an indent */ ul.arbre li li { margin: 0 0 0 16px; } @@ -1177,7 +1563,7 @@ img.menuDel div.menuNew { margin-top:-20px; - margin-left:270px; + margin-:270px; height:20px; padding:0px; width:30px; @@ -1187,7 +1573,7 @@ div.menuNew div.menuEdit { margin-top:-15px; - margin-left:250px; + margin-:250px; height:20px; padding:0px; width:30px; @@ -1198,7 +1584,7 @@ div.menuEdit div.menuDel { margin-top:-20px; - margin-left:290px; + margin-:290px; height:20px; padding:0px; width:30px; @@ -1209,7 +1595,7 @@ div.menuDel div.menuFleche { margin-top:-16px; - margin-left:320px; + margin-:320px; height:20px; padding:0px; width:30px; @@ -1218,167 +1604,8 @@ div.menuFleche } - /* ============================================================================== */ -/* Tooltips */ -/* ============================================================================== */ - -#dhtmltooltip -{ -position: absolute; -width: px; -border: 1px solid #444444; -padding: 2px; -background-color: #FFFFE0; -visibility: hidden; -z-index: 100; -} - - -/* ============================================================================== */ -/* Calendar */ -/* ============================================================================== */ -.bodyline { - -moz-border-radius:8px; - border: 1px #E4ECEC outset; - padding:0px; - margin-bottom:5px; -} -table.dp { - width: 180px; - background-color: #FFFFFF; - border-top: solid 2px #DDDDDD; - border-left: solid 2px #DDDDDD; - border-right: solid 1px #222222; - border-bottom: solid 1px #222222; -} -.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;} -.dpHead,.tpHead,.tpHour td:Hover .tpHead{ - font-weight:bold; - background-color:#b3c5cc; - color:white; - font-size:11px; - cursor:auto; -} -.dpButtons,.tpButtons { - text-align:center; - background-color:#617389;color:#FFFFFF; font-weight:bold; - border: 1px outset black; - cursor:pointer; -} -.dpButtons:Active,.tpButtons:Active{border: 1px outset black;} -.dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;} -.dpExplanation{ font-weight:normal; font-size:11px;} -.dpWeek td{text-align:center} - -.dpToday,.dpReg,.dpSelected{ - cursor:pointer; -} -.dpToday{font-weight:bold; color:black; background-color:#DDDDDD;} -.dpReg:Hover,.dpToday:Hover{background-color:black;color:white} -.dpSelected{background-color:#0B63A2;color:white;font-weight:bold; } - -.tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;} -.tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;} -.tpHour td:Hover {background-color:black;color:white;} - -.tpMinute {margin-top:5px;} -.tpMinute td:Hover {background-color:black; color:white; } -.tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;} - -.dpInvisibleButtons -{ -border-style:none; -background-color:transparent; -padding:0px; -font-size:9px; -border:0px; -color:#0B63A2; -vertical-align:middle; -cursor: pointer; -} - - -/* ============================================================================== */ -/* Module agenda */ -/* ============================================================================== */ - -.cal_other_month { background: #DDDDDD; border: solid 1px #ACBCBB; padding-left: 2px; padding-right: 1px; padding-top: 0px; padding-bottom: 0px; } -.cal_past_month { background: #EEEEEE; border: solid 1px #ACBCBB; padding-left: 2px; padding-right: 1px; padding-top: 0px; padding-bottom: 0px; } -.cal_current_month { background: #FFFFFF; border: solid 1px #ACBCBB; padding-left: 2px; padding-right: 1px; padding-top: 0px; padding-bottom: 0px; } -.cal_today { background: #FFFFFF; border: solid 2px #6C7C7B; padding-left: 2px; padding-right: 1px; padding-top: 0px; padding-bottom: 0px; } -table.cal_event { border-collapse: collapse; margin-bottom: 1px; } -table.cal_event td { border: 0px; padding-left: 0px; padding-right: 2px; padding-top: 0px; padding-bottom: 0px; } -.cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; } -.cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; } -.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; } -.cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; } - - - -/* ============================================================================== */ -/* Ajax - Liste deroulante de l'autocompletion */ -/* ============================================================================== */ - -div.autocomplete { - position:absolute; - width:250px; - background-color:white; - border:1px solid #888; - margin:0px; - padding:0px; - } -div.autocomplete ul { - list-style-type:none; - margin:0px; - padding:0px; - } -div.autocomplete ul li.selected { background-color: #D3E5EC;} -div.autocomplete ul li { - list-style-type:none; - display:block; - margin:0; - padding:2px; - height:16px; - cursor:pointer; - } - -/* ============================================================================== */ -/* Ajax - In place editor */ -/* ============================================================================== */ - -form.inplaceeditor-form { /* The form */ -} - -form.inplaceeditor-form input[type="text"] { /* Input box */ -} - -form.inplaceeditor-form textarea { /* Textarea, if multiple columns */ -background: #FAF8E8; -color: black; -} - -form.inplaceeditor-form input[type="submit"] { /* The submit button */ - font-size: 100%; - font-weight:normal; - border: 0px; - background-image : url(); - background-position : bottom; - cursor:pointer; -} - -form.inplaceeditor-form a { /* The cancel link */ - margin-left: 5px; - font-size: 11px; - font-weight:normal; - border: 0px; - background-image : url(); - background-position : bottom; - cursor:pointer; -} - -/* ============================================================================== */ -/* Affichage tableau Excel */ +/* Show Excel tabs */ /* ============================================================================== */ .table_data @@ -1422,7 +1649,6 @@ form.inplaceeditor-form a { /* The cancel link */ } - /* ============================================================================== */ /* CSS for color picker */ /* ============================================================================== */ @@ -1460,14 +1686,14 @@ A.none, A.none:active, A.none:visited, A.none:hover { padding : 1px; } .tblContainer { - background-color : #FFFFFF; + background-color : #b3c5cc; } .tblGlobal { position : absolute; top : 0px; left : 0px; display : none; - background-color : #FFFFFF; + background-color : #b3c5cc; border : 2px outset; } .tdContainer { @@ -1483,21 +1709,21 @@ A.none, A.none:active, A.none:visited, A.none:hover { width : 50%; height : 24px; line-height : 12px; - font-family: helvetica, verdana, arial, sans-serif; + font-family : ; font-size : 8pt; color : black; text-align : center; } .btnColor { width : 100%; - font-family: helvetica, verdana, arial, sans-serif; + font-family : ; font-size : 10pt; padding : 0px; margin : 0px; } .btnPalette { width : 100%; - font-family: helvetica, verdana, arial, sans-serif; + font-family : ; font-size : 8pt; padding : 0px; margin : 0px; diff --git a/htdocs/theme/auguria/thumb.png b/htdocs/theme/auguria/thumb.png index 617686a8e54..75792e46294 100644 Binary files a/htdocs/theme/auguria/thumb.png and b/htdocs/theme/auguria/thumb.png differ diff --git a/htdocs/theme/bluelagoon/style.css.php b/htdocs/theme/bluelagoon/style.css.php index 7345b494ac6..e24d240b5b9 100644 --- a/htdocs/theme/bluelagoon/style.css.php +++ b/htdocs/theme/bluelagoon/style.css.php @@ -308,7 +308,7 @@ a.help:visited { font-size:11px; font-family: helvetica, verdana, arial, sa a.help:active { font-size:11px; font-family: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; } a.help:hover { font-size:11px; font-family: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; } -div.blockvmenupair +div.blockvmenupair, div.blockvmenuimpair { border-right: 1px solid #000000; border-bottom: 1px solid #000000; @@ -320,7 +320,7 @@ div.blockvmenupair margin: 1px 0px 0px 0px; } -div.blockvmenuimpair +div.blockvmenusearch, div.blockvmenubookmarks { border-right: 1px solid #000000; border-bottom: 1px solid #000000; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index b9a1a8c4b86..255b1cbeec6 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -474,7 +474,26 @@ div.blockvmenupair, div.blockvmenuimpair { background-repeat:repeat-x; } -div.help { +div.blockvmenusearch, div.blockvmenubookmarks { + width:164px; + border-right: 1px solid #555555; + border-bottom: 1px solid #555555; + font-family: ; + color: #000000; + text-align: ; + text-decoration: none; + padding-left: 3px; + padding-right: 1px; + padding-top: 3px; + padding-bottom: 3px; + margin: 1px 0px 0px 0px; + background: #A3BCC6; + background-image: url(); + background-position:top; + background-repeat:repeat-x; +} + +div.blockvmenuhelp { width:164px; border-right: 1px solid #000000; border-bottom: 1px solid #000000; diff --git a/htdocs/theme/freelug/style.css.php b/htdocs/theme/freelug/style.css.php index 094ce7214cd..ae0eb145f95 100644 --- a/htdocs/theme/freelug/style.css.php +++ b/htdocs/theme/freelug/style.css.php @@ -405,7 +405,7 @@ a.help:active { font-family: helvetica, verdana, arial, sans-serif; text-align: a.help:hover { font-family: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; } -div.blockvmenupair +div.blockvmenupair, div.blockvmenuimpair { border-right: 1px solid #555555; border-bottom: 1px solid #555555; @@ -418,7 +418,7 @@ div.blockvmenupair margin: 1px 0px 0px 0px; } -div.blockvmenuimpair +div.blockvmenusearch, div.blockvmenubookmarks { border-right: 1px solid #555555; border-bottom: 1px solid #555555; @@ -431,7 +431,7 @@ div.blockvmenuimpair margin: 1px 0px 0px 0px; } -div.help +div.blockvmenuhelp { border-right: 1px solid #000000; border-bottom: 1px solid #000000; diff --git a/htdocs/theme/rodolphe/style.css.php b/htdocs/theme/rodolphe/style.css.php index a2338411f14..e7dc88ea19f 100644 --- a/htdocs/theme/rodolphe/style.css.php +++ b/htdocs/theme/rodolphe/style.css.php @@ -347,7 +347,7 @@ div.blockvmenupair text-decoration: none; padding: 3px; margin: 0px 0px 0px 0px; - } +} div.blockvmenuimpair { @@ -360,9 +360,21 @@ div.blockvmenuimpair text-decoration: none; padding: 3px; margin: 0px 0px 0px 0px; - } +} -div.help +div.blockvmenusearch, div.blockvmenubookmarks +{ + border-bottom: 1px solid #000000; + background: #ded8d2; + font-family: helvetica, verdana, arial, sans-serif; + color: #000000; + text-align:left; + text-decoration: none; + padding: 3px; + margin: 0px 0px 0px 0px; +} + +div.blockvmenuhelp { border-right: 1px solid #000000; border-bottom: 1px solid #000000; diff --git a/htdocs/theme/yellow/style.css.php b/htdocs/theme/yellow/style.css.php index bb023cbab21..777c499b9fc 100644 --- a/htdocs/theme/yellow/style.css.php +++ b/htdocs/theme/yellow/style.css.php @@ -383,7 +383,7 @@ a.help:visited { font-size:11px; font-family: helvetica, verdana, arial, sans-se a.help:active { font-size:11px; font-family: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; } a.help:hover { font-size:11px; font-family: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; } -div.blockvmenupair +div.blockvmenupair, div.blockvmenuimpair { width:160px; border-right: 1px solid #555555; @@ -400,7 +400,7 @@ div.blockvmenupair margin: 1px 0px 0px 0px; } -div.blockvmenuimpair +div.blockvmenusearch, div.blockvmenubookmarks { width:160px; border-right: 1px solid #555555; @@ -417,7 +417,7 @@ div.blockvmenuimpair margin: 1px 0px 0px 0px; } -div.help +div.blockvmenuhelp { width:160px; border-right: 1px solid #000000;