From 598a2413667d732b23904d881892df27f7448dd6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Dec 2013 10:23:26 +0100 Subject: [PATCH] Fix: minor css. Fix: Alignement of screenshot was wrong. Wrapping too. --- htdocs/core/lib/usergroups.lib.php | 30 ++++++------------------------ htdocs/theme/amarok/style.css.php | 1 - htdocs/theme/auguria/style.css.php | 1 - 3 files changed, 6 insertions(+), 26 deletions(-) diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index 39178ab38749f..bf9c98dc9038a 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 ''; - print ''; + print '
'; - } - - print ''; + print ''; $i++; - - if ($i % $thumbsbyrow == 0) print ''; } } } } } - if ($i % $thumbsbyrow != 0) - { - while ($i % $thumbsbyrow != 0) - { - print ''; - $i++; - } - print ''; - } - 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 '
'; $file=$dirtheme."/".$subdir."/thumb.png"; $url=$urltheme."/".$subdir."/thumb.png"; if (! file_exists($file)) $url=$urltheme."/common/nophoto.jpg"; - print '
'; print 'id:'').'" style="font-weight: normal;" alt="'.$langs->trans("Preview").'">'; if ($subdir == $conf->global->MAIN_THEME) $title=$langs->trans("ThemeCurrentlyActive"); else $title=$langs->trans("ShowPreview"); - print ''.$title.''; - print ''; - print '
'; + print ''.$title.''; + print '
'; if ($subdir == $selected_theme) { print ' '.$subdir.''; @@ -334,27 +327,16 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) { print ' '.$subdir; } - print '
 
'; + print ''; print ''; print ''; diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 62f727c5ce83e..b3407c17c9a9c 100644 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -1283,7 +1283,6 @@ tr.liste_titre td, tr.liste_titre th, form.liste_titre div { padding:2px; padding-left:2px !important; - white-space:nowrap; text-shadow:1px 1px 1px #ffffff; } diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 702b02bad49eb..7942eb87bb91c 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -1391,7 +1391,6 @@ color: #FFFFFF; font-family: ; /* border-bottom: 1px solid #FDFFFF; */ - white-space: nowrap; text-align: ; } th.liste_titre, td.liste_titre