From 7682e026b9a813e1f84d7a70320247cf8c6b1d01 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Aug 2005 22:10:07 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20L'=E9cran=20de=20personalisation=20des?= =?UTF-8?q?=20param=E8tres=20doit=20etre=20accessible=20=E0=20l'utilisateu?= =?UTF-8?q?r.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/user/param_ihm.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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.''; }