From 8dab02e10ad020269cabe0dcef5e3000dfa5b8eb Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 28 Sep 2007 18:38:50 +0000 Subject: [PATCH] Fix: suppression du nom de domaine --- htdocs/includes/barcode/pi_barcode/pi_barcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/barcode/pi_barcode/pi_barcode.php b/htdocs/includes/barcode/pi_barcode/pi_barcode.php index 4ecc897ac14..cd27a688a39 100644 --- a/htdocs/includes/barcode/pi_barcode/pi_barcode.php +++ b/htdocs/includes/barcode/pi_barcode/pi_barcode.php @@ -523,7 +523,7 @@ class pi_barcode $ifw = imagefontwidth(2); imagestring($img, 2, floor(($this->WIDTH/2)-(($ifw * strlen(implode('',$this->CODE)))/2)), 13, implode('',$this->CODE), $color[1]); $ifw = imagefontwidth(1); - imagestring($img, 1, ($this->WIDTH)-($ifw * 9)-2, 26, "Pitoo.com", $color[2]); + //imagestring($img, 1, ($this->WIDTH)-($ifw * 9)-2, 26, "Pitoo.com", $color[2]); break; case "EAN" : if(strlen($this->HR) > 10) imagestring($img, 3, 3, $this->HEIGHT - $ifh, substr($this->HR,-13,1), $color[1]); @@ -546,7 +546,7 @@ class pi_barcode $ifw = imagefontwidth(1) * 9; if( (rand(0,50)<1) AND ($this->HEIGHT >= $ifw) ) { - imagestringup($img, 1, $nb_elem + 12, $this->HEIGHT - 2, "Pitoo.com", $color[2]); + imagestringup($img, 1, $nb_elem + 12, $this->HEIGHT - 2, "", $color[2]); } if( $this->SHOWTYPE == "Y" ) { if(($this->TYPE == "EAN") AND (substr($this->HR,-13,1) != "0") AND (strlen($this->HR) > 10)) {