diff --git a/htdocs/product/barcode.php b/htdocs/product/barcode.php
index a2567fb5f69f0a60d17375b37003e9f13c2fe558..ea9acdd366fcd03e59c22aa227cfaf0f4b8fe0e0 100644
--- a/htdocs/product/barcode.php
+++ b/htdocs/product/barcode.php
@@ -1,7 +1,7 @@
 <?php
 /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  * Copyright (C) 2004-2009 Laurent Destailleur  <eldy@users.sourceforge.net>
- * Copyright (C) 2005-2009 Regis Houssin        <regis@dolibarr.fr>
+ * Copyright (C) 2005-2010 Regis Houssin        <regis@dolibarr.fr>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -62,18 +62,16 @@ if ($_POST['action'] ==	'setbarcode'	&& $user->rights->barcode->creer)
 {
 	$product =	new	Product($db);
 	$product->fetch($_GET["id"]);
-	$product->barcode = $_POST['barcode']; //Todo: ajout v�rification de la validit� du code barre en fonction du type
+	$product->barcode = $_POST['barcode']; //Todo: ajout verification de la validite du code barre en fonction du type
 	$result = $product->update_barcode($user);
 	Header("Location: barcode.php?id=".$_GET["id"]);
 	exit;
 }
 
 
-/* *****************************************/
-/*																			   */
-/* Mode vue et edition										 */
-/*																			   */
-/* *************************************** */
+/*
+ *   Mode vue et edition
+ */
 
 llxHeader("","",$langs->trans("BarCode"));
 
@@ -84,10 +82,10 @@ $product = new Product($db);
 if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
 if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
 
-
 $head=product_prepare_head($product, $user);
 $titre=$langs->trans("CardProduct".$product->type);
-dol_fiche_head($head, 'barcode', $titre);
+$picto=($product->type==1?'service':'product');
+dol_fiche_head($head, 'barcode', $titre, 0, $picto);
 
 
 print '<table class="border" width="100%">'."\n";
@@ -171,14 +169,6 @@ print '</td></tr>'."\n";
 print "</table>\n";
 print "</div>\n";
 
-
-/*
- * Affiche code barre
- */
-
-
-
-
 $db->close();
 
 llxFooter('$Date$ - $Revision$');
diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php
index 7db67fbaa6793692dc5925be4646e9c7af8ecdb6..8eb84622916ce9e74108ecd315c3c054fa059d0d 100644
--- a/htdocs/product/photos.php
+++ b/htdocs/product/photos.php
@@ -2,7 +2,7 @@
 /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  * Copyright (C) 2004-2009 Laurent Destailleur  <eldy@users.sourceforge.net>
  * Copyright (C) 2005      Eric Seigne          <eric.seigne@ryxeo.com>
- * Copyright (C) 2005-2009 Regis Houssin        <regis@dolibarr.fr>
+ * Copyright (C) 2005-2010 Regis Houssin        <regis@dolibarr.fr>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -82,8 +82,8 @@ $html = new Form($db);
 
 if ($_GET["id"] || $_GET["ref"])
 {
-
 	$product = new Product($db);
+	
 	if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
 	if ($_GET["id"]) $result = $product->fetch($_GET["id"]);