diff --git a/htdocs/index.php b/htdocs/index.php index bb543bf76c4..2a20964444d 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -702,13 +702,6 @@ if (sizeof($boxarray)) } } -// Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent -/*if (empty($conf->browser->firefox)) -{ - print '
| '.img_picto('',$picto, '', $pictoisfullpath).' | '; @@ -1898,6 +1901,7 @@ function print_fiche_titre($titre, $mesg='', $picto='title.gif', $pictoisfullpat function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1, $totalnboflines=0, $picto='title.png', $pictoisfullpath=0) { global $conf,$langs; + if (empty($conf->browser->firefox) && $picto=='title.png') $picto='title.gif'; if ($num > $conf->liste_limit or $num == -1) { diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index dcd25540953..bac590168b1 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -640,8 +640,8 @@ $bc[1]="class=\"pair\""; $yesno[0]="no"; $yesno[1]="yes"; -// Constantes utilisees pour definir le nombre de lignes des textarea -if (! eregi("firefox",$_SERVER["HTTP_USER_AGENT"])) +// Constants used to defined number of lines in textarea +if (empty($conf->browser->firefox)) { define('ROWS_1',1); define('ROWS_2',2);