diff --git a/htdocs/comm/propal/class/propalestats.class.php b/htdocs/comm/propal/class/propalestats.class.php index 2b8c5d9047d..1e688457623 100644 --- a/htdocs/comm/propal/class/propalestats.class.php +++ b/htdocs/comm/propal/class/propalestats.class.php @@ -172,7 +172,7 @@ class PropaleStats extends Stats * @param int $format 0=Label of abscissa is a translated text, 1=Label of abscissa is month number, 2=Label of abscissa is first letter of month * @return array Array with amount by month */ - public function getAmountByMonth($year, $format) + public function getAmountByMonth($year, $format = 0) { global $user; diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 5eda12f56de..433a7d26cfd 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -22,6 +22,7 @@ --colorbacklinebreak: rgb(); --colorbackbody: rgb(); --colorbackmobilemenu: #f8f8f8; + --colorbackgrey: #f0f0f0; --colortexttitlenotab: rgb(); --colortexttitlenotab2: rgb(); --colortexttitle: rgba(, 0.9); @@ -72,6 +73,7 @@ if (!empty($conf->global->THEME_DARKMODEENABLED)) { --colorbacklinepairchecked: #0e5ccd; --colorbackbody: #1d1e20; --colorbackmobilemenu: #080808; + --colorbackgrey: #0f0f0f; --tooltipbgcolor: #2b2d2f; --colortexttitlenotab: rgb(220,220,220); --colortexttitlenotab2: rgb(220,220,220); @@ -273,8 +275,7 @@ input:invalid, select:invalid, input.--error , select.--error { section.setupsection { padding: 20px; - /* background-color: var(--colorbacktitle1); */ - background-color: #f0f0f0; + background-color: var(--colorbackgrey); border-radius: 5px; }