diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 189c17fdc88..766413fe4f4 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -987,6 +987,12 @@ class Conf extends stdClass if (!isset($this->global->MAIN_ENABLE_AJAX_TOOLTIP)) { $this->global->MAIN_ENABLE_AJAX_TOOLTIP = 1; // Try to have it enabled by default with v21+ } + if (!isset($this->global->THEME_SHOW_BORDER_ON_INPUT)) { + $this->global->THEME_SHOW_BORDER_ON_INPUT = 1; + } + if (!isset($this->global->THEME_ELDY_BORDER_RADIUS)) { + $this->global->THEME_ELDY_BORDER_RADIUS = 6; + } // By default, suppliers objects can be linked to all projects if (!isset($this->global->PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS)) { diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 4644e1c04d0..03731dbb97f 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -938,10 +938,10 @@ class FormOther ); }); '; - $out .= ''; + $out .= ''; } else { $color = ($set_color !== '' ? $set_color : ($default !== '' ? $default : 'FFFFFF')); - $out .= ''; + $out .= ''; $out .= ''; } - $out .= ''; //print ''; foreach ($arrayofcolors as $val) { $out .= '