Fix: Restore the picto title in gif format because the png transparency is not supported on IE6 (54% of users).
This commit is contained in:
parent
de4809286f
commit
25b608c9f6
@ -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 '<div class="tabsAction"> </div>';
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
@ -1866,8 +1866,11 @@ function print_titre($titre)
|
|||||||
* \param picto Icon to use before title (should be a 32x32 transparent png file)
|
* \param picto Icon to use before title (should be a 32x32 transparent png file)
|
||||||
* \param pictoisfullpath 1=Icon name is a full absolute url of image
|
* \param pictoisfullpath 1=Icon name is a full absolute url of image
|
||||||
*/
|
*/
|
||||||
function print_fiche_titre($titre, $mesg='', $picto='title.gif', $pictoisfullpath=0)
|
function print_fiche_titre($titre, $mesg='', $picto='title.png', $pictoisfullpath=0)
|
||||||
{
|
{
|
||||||
|
global $conf;
|
||||||
|
if (empty($conf->browser->firefox) && $picto=='title.png') $picto='title.gif';
|
||||||
|
|
||||||
print "\n";
|
print "\n";
|
||||||
print '<table width="100%" border="0" class="notopnoleftnoright" style="margin-bottom: 2px;"><tr>';
|
print '<table width="100%" border="0" class="notopnoleftnoright" style="margin-bottom: 2px;"><tr>';
|
||||||
if ($picto && $titre) print '<td class="nobordernopadding" width="40" align="left" valign="middle">'.img_picto('',$picto, '', $pictoisfullpath).'</td>';
|
if ($picto && $titre) print '<td class="nobordernopadding" width="40" align="left" valign="middle">'.img_picto('',$picto, '', $pictoisfullpath).'</td>';
|
||||||
@ -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)
|
function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1, $totalnboflines=0, $picto='title.png', $pictoisfullpath=0)
|
||||||
{
|
{
|
||||||
global $conf,$langs;
|
global $conf,$langs;
|
||||||
|
if (empty($conf->browser->firefox) && $picto=='title.png') $picto='title.gif';
|
||||||
|
|
||||||
if ($num > $conf->liste_limit or $num == -1)
|
if ($num > $conf->liste_limit or $num == -1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -640,8 +640,8 @@ $bc[1]="class=\"pair\"";
|
|||||||
$yesno[0]="no";
|
$yesno[0]="no";
|
||||||
$yesno[1]="yes";
|
$yesno[1]="yes";
|
||||||
|
|
||||||
// Constantes utilisees pour definir le nombre de lignes des textarea
|
// Constants used to defined number of lines in textarea
|
||||||
if (! eregi("firefox",$_SERVER["HTTP_USER_AGENT"]))
|
if (empty($conf->browser->firefox))
|
||||||
{
|
{
|
||||||
define('ROWS_1',1);
|
define('ROWS_1',1);
|
||||||
define('ROWS_2',2);
|
define('ROWS_2',2);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user