diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index 39178ab3874..bf9c98dc903 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -288,7 +288,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) $var=!$var; print '
';
$i=0;
foreach($dirthemes as $dir)
@@ -310,22 +310,15 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
// Disable not stable themes
//if ($conf->global->MAIN_FEATURES_LEVEL < 1 && preg_match('/bureau2crea/i',$subdir)) continue;
- if ($i % $thumbsbyrow == 0)
- {
- print ' ';
+ print ' | ';
+ print '';
$i++;
-
- if ($i % $thumbsbyrow == 0) print '';
$file=$dirtheme."/".$subdir."/thumb.png";
$url=$urltheme."/".$subdir."/thumb.png";
if (! file_exists($file)) $url=$urltheme."/common/nophoto.jpg";
- print '
| ';
- $i++;
- }
- print ' |