diff --git a/htdocs/product/ajaxproducts.php b/htdocs/product/ajaxproducts.php index 479ad8d6361..fe1dfedf828 100644 --- a/htdocs/product/ajaxproducts.php +++ b/htdocs/product/ajaxproducts.php @@ -1,6 +1,7 @@ * Copyright (C) 2005-2007 Regis Houssin + * Copyright (C) 2007 Laurent Destailleur * * 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 @@ -26,18 +27,14 @@ \version $Revision$ */ -require('../master.inc.php'); +require('../main.inc.php'); $langs->load("products"); $langs->load("main"); -//header("Content-type: text/html; charset=UTF-8"); -//header("Content-type: text/html; charset=$character_set_client"); //TODO: ne fonctionne pas !! -header("Content-type: text/html; charset=iso-8859-1"); -print ''; -print "\n"; -print "\n"; +top_htmlhead("", "", 1); +print ''."\n"; // Generation liste de produits if(isset($_GET['keysearch']) && !empty($_GET['keysearch']))