diff --git a/htdocs/product/canvas/default/liste.tpl b/htdocs/product/canvas/default/liste.tpl index a2ecbee3335..7bbcce22321 100644 --- a/htdocs/product/canvas/default/liste.tpl +++ b/htdocs/product/canvas/default/liste.tpl @@ -15,7 +15,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ *} diff --git a/htdocs/product/canvas/livre/liste.tpl b/htdocs/product/canvas/livre/liste.tpl index 86d9bdfe6fa..b0802e04f7f 100644 --- a/htdocs/product/canvas/livre/liste.tpl +++ b/htdocs/product/canvas/livre/liste.tpl @@ -16,7 +16,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ *} diff --git a/htdocs/product/canvas/livre/livre-create.tpl b/htdocs/product/canvas/livre/livre-create.tpl index 3ee987989d0..eaa5dc8aa72 100644 --- a/htdocs/product/canvas/livre/livre-create.tpl +++ b/htdocs/product/canvas/livre/livre-create.tpl @@ -16,7 +16,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ *} diff --git a/htdocs/product/canvas/livre/livre-edit.tpl b/htdocs/product/canvas/livre/livre-edit.tpl index 1ef9883f92e..0937be23bf0 100644 --- a/htdocs/product/canvas/livre/livre-edit.tpl +++ b/htdocs/product/canvas/livre/livre-edit.tpl @@ -16,7 +16,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ *} diff --git a/htdocs/product/canvas/livre/livre-view.tpl b/htdocs/product/canvas/livre/livre-view.tpl index 966de625fe4..861b39d8203 100644 --- a/htdocs/product/canvas/livre/livre-view.tpl +++ b/htdocs/product/canvas/livre/livre-view.tpl @@ -16,7 +16,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ *} diff --git a/htdocs/product/canvas/livrecontrat/livrecontrat-edit.tpl b/htdocs/product/canvas/livrecontrat/livrecontrat-edit.tpl index 654e6a5d0a2..f7a2dfbc24e 100644 --- a/htdocs/product/canvas/livrecontrat/livrecontrat-edit.tpl +++ b/htdocs/product/canvas/livrecontrat/livrecontrat-edit.tpl @@ -1,4 +1,24 @@ - +{* Copyright (C) 2006-2007 Rodolphe Quiedeville + * Copyright (C) 2006-2007 Auguria SARL + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + *} + +
diff --git a/htdocs/product/canvas/livrecontrat/livrecontrat-view.tpl b/htdocs/product/canvas/livrecontrat/livrecontrat-view.tpl index 6f1514e06b6..4111bf1b6fc 100644 --- a/htdocs/product/canvas/livrecontrat/livrecontrat-view.tpl +++ b/htdocs/product/canvas/livrecontrat/livrecontrat-view.tpl @@ -1,4 +1,24 @@ - +{* Copyright (C) 2006-2007 Rodolphe Quiedeville + * Copyright (C) 2006-2007 Auguria SARL + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + *} + + diff --git a/htdocs/product/canvas/livrecouverture/livrecouverture-edit.tpl b/htdocs/product/canvas/livrecouverture/livrecouverture-edit.tpl index be3c52463c7..da12ff9ab1e 100644 --- a/htdocs/product/canvas/livrecouverture/livrecouverture-edit.tpl +++ b/htdocs/product/canvas/livrecouverture/livrecouverture-edit.tpl @@ -1,4 +1,24 @@ - +{* Copyright (C) 2006-2007 Rodolphe Quiedeville + * Copyright (C) 2006-2007 Auguria SARL + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + *} + + diff --git a/htdocs/product/canvas/livrecouverture/livrecouverture-view.tpl b/htdocs/product/canvas/livrecouverture/livrecouverture-view.tpl index a09ebcbe59f..32f038802dd 100644 --- a/htdocs/product/canvas/livrecouverture/livrecouverture-view.tpl +++ b/htdocs/product/canvas/livrecouverture/livrecouverture-view.tpl @@ -1,4 +1,24 @@ - +{* Copyright (C) 2006-2007 Rodolphe Quiedeville + * Copyright (C) 2006-2007 Auguria SARL + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + *} + +
Référence
diff --git a/htdocs/product/canvas/product.livrecontrat.class.php b/htdocs/product/canvas/product.livrecontrat.class.php index e8139fefc77..e6835a4edef 100644 --- a/htdocs/product/canvas/product.livrecontrat.class.php +++ b/htdocs/product/canvas/product.livrecontrat.class.php @@ -15,16 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ */ /** \file htdocs/product/canvas/product.livre.class.php \ingroup produit \brief Fichier de la classe des produits specifiques de type livre - \version $Revision$ + \version $Id$ */ require_once(DOL_DOCUMENT_ROOT.'/product/canvas/product.livre.class.php'); @@ -71,7 +68,7 @@ class ProductLivreContrat extends Product { $sql = " INSERT INTO ".MAIN_DB_PREFIX."product_cnv_livre_contrat (rowid,fk_cnv_livre)"; $sql.= " VALUES ('".$id."','".$livre_id."');"; - + $result = $this->db->query($sql) ; if ($result) { @@ -129,7 +126,7 @@ class ProductLivreContrat extends Product $sql.= " FROM ".MAIN_DB_PREFIX."product_cnv_livre_contrat"; if ($id) $sql.= " WHERE rowid = '".$id."'"; if ($ref) $sql.= " WHERE ref = '".addslashes($ref)."'"; - + $result = $this->db->query($sql) ; if ( $result ) diff --git a/htdocs/product/canvas/product.livrecouverture.class.php b/htdocs/product/canvas/product.livrecouverture.class.php index 332183283e9..3dcb1b9fcf6 100644 --- a/htdocs/product/canvas/product.livrecouverture.class.php +++ b/htdocs/product/canvas/product.livrecouverture.class.php @@ -14,16 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ */ /** \file htdocs/product/canvas/product.livre.class.php \ingroup produit \brief Fichier de la classe des produits specifiques de type livre - \version $Revision$ + \version $Id$ */ require_once(DOL_DOCUMENT_ROOT.'/product/canvas/product.livre.class.php'); @@ -90,7 +87,7 @@ class ProductLivreCouverture extends Product $sql = "SELECT p.rowid,p.ref,p.label"; $sql.= " FROM ".MAIN_DB_PREFIX."product_cnv_livre as pl,".MAIN_DB_PREFIX."product as p"; $sql.= " WHERE pl.rowid=p.rowid AND pl.fk_couverture = '".$id."'"; - + $result = $this->db->query($sql) ; if ( $result ) @@ -103,7 +100,7 @@ class ProductLivreCouverture extends Product $this->db->free(); } } - + return $result; } /**
Réf