From 7d6dab23ea6e524e74a32e5b5e1c8e27d7a26cd8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 4 Jan 2011 00:23:23 +0000 Subject: [PATCH] Prepare 3.0 --- htdocs/lib/usergroups.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/lib/usergroups.lib.php b/htdocs/lib/usergroups.lib.php index eb105999c20..5ab1f16353b 100644 --- a/htdocs/lib/usergroups.lib.php +++ b/htdocs/lib/usergroups.lib.php @@ -232,6 +232,9 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) if (is_dir($dirtheme."/".$subdir) && substr($subdir, 0, 1) <> '.' && substr($subdir, 0, 3) <> 'CVS' && ! preg_match('/common|phones/i',$subdir)) { + // Disable not stable themes + if ($conf->global->MAIN_FEATURES_LEVEL < 1 && preg_match('/bureau2crea/i',$subdir)) continue; + if ($i % $thumbsbyrow == 0) { print '';