diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 5d3b4b26c68..0e56ae1258c 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -1292,7 +1292,7 @@ function img_tick($alt = "default") \param allow Authorise ou non \return string Retourne tag img */ -function img_allow($allow) +function img_allow($allow,$alt='default') { global $conf,$langs; if ($alt=="default") $alt=$langs->trans("Active"); @@ -1858,7 +1858,7 @@ function print_titre($titre) * \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 */ -function print_fiche_titre($titre, $mesg='', $picto='title.gif', $pictoisfullpath=0) +function print_fiche_titre($titre, $mesg='', $picto='title.png', $pictoisfullpath=0) { print "\n"; print ''; @@ -1887,7 +1887,7 @@ function print_fiche_titre($titre, $mesg='', $picto='title.gif', $pictoisfullpat * \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 */ -function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1, $totalnboflines=0, $picto='title.gif', $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; diff --git a/htdocs/theme/auguria/img/title.gif b/htdocs/theme/auguria/img/title.gif deleted file mode 100644 index f7b6917596f..00000000000 Binary files a/htdocs/theme/auguria/img/title.gif and /dev/null differ diff --git a/htdocs/theme/auguria/img/title.png b/htdocs/theme/auguria/img/title.png new file mode 100644 index 00000000000..bcd70489c80 Binary files /dev/null and b/htdocs/theme/auguria/img/title.png differ diff --git a/htdocs/theme/bluelagoon/img/title.gif b/htdocs/theme/bluelagoon/img/title.gif deleted file mode 100644 index 52d910c1b9b..00000000000 Binary files a/htdocs/theme/bluelagoon/img/title.gif and /dev/null differ diff --git a/htdocs/theme/bluelagoon/img/title.png b/htdocs/theme/bluelagoon/img/title.png new file mode 100644 index 00000000000..bcd70489c80 Binary files /dev/null and b/htdocs/theme/bluelagoon/img/title.png differ diff --git a/htdocs/theme/eldy/img/title.gif b/htdocs/theme/eldy/img/title.gif deleted file mode 100644 index c1afa93ae4c..00000000000 Binary files a/htdocs/theme/eldy/img/title.gif and /dev/null differ diff --git a/htdocs/theme/freelug/img/title.gif b/htdocs/theme/freelug/img/title.gif deleted file mode 100644 index c1afa93ae4c..00000000000 Binary files a/htdocs/theme/freelug/img/title.gif and /dev/null differ diff --git a/htdocs/theme/rodolphe/img/title.gif b/htdocs/theme/rodolphe/img/title.gif deleted file mode 100644 index 3b0ece8b73e..00000000000 Binary files a/htdocs/theme/rodolphe/img/title.gif and /dev/null differ diff --git a/htdocs/theme/rodolphe/img/title.png b/htdocs/theme/rodolphe/img/title.png new file mode 100644 index 00000000000..bcd70489c80 Binary files /dev/null and b/htdocs/theme/rodolphe/img/title.png differ diff --git a/htdocs/theme/yellow/img/title.gif b/htdocs/theme/yellow/img/title.gif deleted file mode 100644 index 575bc31ef29..00000000000 Binary files a/htdocs/theme/yellow/img/title.gif and /dev/null differ