diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index c92a28a3062..c47646419aa 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -906,8 +906,7 @@ class FormOther
';
}
$out .= '';
- } else // In most cases, this is not used. We used instead function with no specific list of colors
- {
+ } else { // In most cases, this is not used. We used instead function with no specific list of colors
if (empty($conf->dol_use_jmobile) && !empty($conf->use_javascript_ajax)) {
$out .= '';
$out .= '';
diff --git a/htdocs/core/js/lib_head.js.php b/htdocs/core/js/lib_head.js.php
index 68bb8236d72..ce139601ff1 100644
--- a/htdocs/core/js/lib_head.js.php
+++ b/htdocs/core/js/lib_head.js.php
@@ -562,7 +562,7 @@ function setConstant(url, code, input, entity, strict, forcereload, userid, toke
value: value
},
function() { /* handler for success of post */
- console.log("url request success forcereload="+forcereload+" value="+value);
+ console.log("Ajax url request to set constant is a success. forcereload="+forcereload+" value="+value);
if (value == 0) {
$("#set_" + code).show();
$("#del_" + code).hide();
@@ -642,7 +642,7 @@ function delConstant(url, code, input, entity, strict, forcereload, userid, toke
token: token
},
function() {
- console.log("url request success forcereload="+forcereload);
+ console.log("Ajax url request to delete constant is success forcereload="+forcereload);
$("#del_" + code).hide();
$("#set_" + code).show();
$.each(input, function(type, data) {
diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php
index 65a59d55819..c963c74c8b6 100644
--- a/htdocs/core/lib/usergroups.lib.php
+++ b/htdocs/core/lib/usergroups.lib.php
@@ -407,7 +407,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
} else {
$title = $langs->trans("ShowPreview");
}
- print '';
+ print '
';
print '
';
if ($subdir == $selected_theme) {
print '';
@@ -440,6 +440,9 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
$colorbacklinepairhover = '';
$colorbacklinepairhover = '';
$colorbacklinepairchecked = '';
+ $butactionbg = '';
+ $textbutaction = '';
+ // Set the variables with the default value
if (file_exists(DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php')) {
include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
}
@@ -954,7 +957,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
print '