diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index d29d2f927a2..f6f65abb6a5 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -163,7 +163,6 @@ if ($_GET["action"] == 'edit') // Theme show_theme(1); - print '
'; print ''; @@ -199,7 +198,6 @@ else // Skin show_theme(0); - print '
'; print ''; @@ -219,7 +217,7 @@ llxFooter('$Date$ - $Revision$'); function show_theme($edit=0) { - global $langs,$dirtheme,$bc; + global $user,$langs,$dirtheme,$bc; $nbofthumbs=5; print ''; @@ -240,7 +238,7 @@ function show_theme($edit=0) $file=$dirtheme."/".$subdir."/thumb.png"; if (! file_exists($file)) $file=$dirtheme."/nophoto.jpg"; print '
'; - if ($subdir == MAIN_THEME) + if ($subdir == $user->conf->MAIN_THEME) { print ' '.$subdir.''; }