From d18ecc464743150890e339208d3185a094c7c96a Mon Sep 17 00:00:00 2001 From: opensides Date: Tue, 19 Oct 2004 18:58:50 +0000 Subject: [PATCH] changement de * Copyright (C) 2002-2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur @@ -146,7 +146,7 @@ class Adherent $texttosend = preg_replace ($patterns, $replace, $text); $subjectosend = preg_replace ($patterns, $replace, $subject); if (defined('ADHERENT_MAIL_FROM') && ADHERENT_MAIL_FROM != ''){ - return mail($recipients,$subjectosend,$texttosend,"From: ".ADHERENT_MAIL_FROM."\nReply-To: ".ADHERENT_MAIL_FROM."\nX-Mailer: PHP/" . phpversion()); + return mail($recipients,$subjectosend,$texttosend,"From: ".ADHERENT_MAIL_FROM."\nReply-To: ".ADHERENT_MAIL_FROM."\nX-Mailer: php/" . phpversion()); }else{ return mail($recipients,$subjectosend,$texttosend); } diff --git a/htdocs/adherents/adherent_options.class.php b/htdocs/adherents/adherent_options.class.php index 3125a69bfad..d705626376b 100644 --- a/htdocs/adherents/adherent_options.class.php +++ b/htdocs/adherents/adherent_options.class.php @@ -1,4 +1,4 @@ - * Copyright (C) 2002-2003 Jean-Louis Bergamo * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/adherents/adherent_type.class.php b/htdocs/adherents/adherent_type.class.php index 1066b56eff2..d5cf0845061 100644 --- a/htdocs/adherents/adherent_type.class.php +++ b/htdocs/adherents/adherent_type.class.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/adherents/cartes/pre.inc.php b/htdocs/adherents/cartes/pre.inc.php index 502adab3fb2..a44fd7e58c8 100644 --- a/htdocs/adherents/cartes/pre.inc.php +++ b/htdocs/adherents/cartes/pre.inc.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/adherents/cotisation.class.php b/htdocs/adherents/cotisation.class.php index ff985839887..686d2ff11b0 100644 --- a/htdocs/adherents/cotisation.class.php +++ b/htdocs/adherents/cotisation.class.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/adherents/cotisations.php b/htdocs/adherents/cotisations.php index e3859931a38..79bced4cccb 100644 --- a/htdocs/adherents/cotisations.php +++ b/htdocs/adherents/cotisations.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/adherents/edit.php b/htdocs/adherents/edit.php index 0095b0441df..8753985a704 100644 --- a/htdocs/adherents/edit.php +++ b/htdocs/adherents/edit.php @@ -1,4 +1,4 @@ - * Copyright (C) 2002 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 019e00af5d5..696845fbf08 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -1,4 +1,4 @@ - * Copyright (C) 2002-2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/adherents/htpasswd.php b/htdocs/adherents/htpasswd.php index be42861e6a8..8ec62c86da2 100644 --- a/htdocs/adherents/htpasswd.php +++ b/htdocs/adherents/htpasswd.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 05291f5c014..9eb7468cba3 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/adherents/liste.php b/htdocs/adherents/liste.php index 1ffb22a46a9..e097d21f574 100644 --- a/htdocs/adherents/liste.php +++ b/htdocs/adherents/liste.php @@ -1,4 +1,4 @@ - * Copyright (C) 2002-2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/adherents/options.php b/htdocs/adherents/options.php index 309d712d972..0ec4a32d878 100644 --- a/htdocs/adherents/options.php +++ b/htdocs/adherents/options.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/adherents/pre.inc.php b/htdocs/adherents/pre.inc.php index 59220c9a5a0..fc1a27a9321 100644 --- a/htdocs/adherents/pre.inc.php +++ b/htdocs/adherents/pre.inc.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index d3594715ede..aa2e7d0504d 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/admin/adherent.php b/htdocs/admin/adherent.php index 688f211e7b9..6c5cd35e711 100644 --- a/htdocs/admin/adherent.php +++ b/htdocs/admin/adherent.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/admin/boutique-special-all.php b/htdocs/admin/boutique-special-all.php index bee9965b63d..49ccc5cd432 100644 --- a/htdocs/admin/boutique-special-all.php +++ b/htdocs/admin/boutique-special-all.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/boutique-update-all.php b/htdocs/admin/boutique-update-all.php index e57e02cd837..48f1ce95cf8 100644 --- a/htdocs/admin/boutique-update-all.php +++ b/htdocs/admin/boutique-update-all.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/boutique.php b/htdocs/admin/boutique.php index 388bce9df53..35b6ed5acbe 100644 --- a/htdocs/admin/boutique.php +++ b/htdocs/admin/boutique.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Sebastien Di Cintio * Copyright (C) 2004 Benoit Mortier diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php index 68ea426d04f..cbc2c0fade8 100644 --- a/htdocs/admin/boxes.php +++ b/htdocs/admin/boxes.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php index ff98ecb01ee..196556024f8 100644 --- a/htdocs/admin/commande.php +++ b/htdocs/admin/commande.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php index 7b4793188a5..1e88a605df7 100644 --- a/htdocs/admin/compta.php +++ b/htdocs/admin/compta.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php index 1f74833c9f3..38b89122d41 100644 --- a/htdocs/admin/const.php +++ b/htdocs/admin/const.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 27849dbb324..062a2d1f18a 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Benoit Mortier diff --git a/htdocs/admin/expedition.php b/htdocs/admin/expedition.php index a52db33f85c..c83ce16a099 100644 --- a/htdocs/admin/expedition.php +++ b/htdocs/admin/expedition.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/external_rss.php b/htdocs/admin/external_rss.php index ae58b7ba205..7632c17aa15 100644 --- a/htdocs/admin/external_rss.php +++ b/htdocs/admin/external_rss.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Rodolphe Quiedeville * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index a798f0a342a..bde5cf60458 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/fichinter.php b/htdocs/admin/fichinter.php index 8f17669a052..8e23024fd69 100644 --- a/htdocs/admin/fichinter.php +++ b/htdocs/admin/fichinter.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 3a687c80908..884627490e0 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index bf840612b47..7f59dc5eda3 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php index 604c412867c..a824eee01cb 100644 --- a/htdocs/admin/ldap.php +++ b/htdocs/admin/ldap.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Sebastien Di Cintio * Copyright (C) 2004 Benoit Mortier diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index f258324ad84..045799c04ec 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/admin/osc-languages.php b/htdocs/admin/osc-languages.php index a49a15bbfb9..e59d6875ebd 100644 --- a/htdocs/admin/osc-languages.php +++ b/htdocs/admin/osc-languages.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php index 407f1050c3c..e3af7e46aaa 100644 --- a/htdocs/admin/perms.php +++ b/htdocs/admin/perms.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/pre.inc.php b/htdocs/admin/pre.inc.php index 4f52161f2fd..0477a8bfa13 100644 --- a/htdocs/admin/pre.inc.php +++ b/htdocs/admin/pre.inc.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/propale.php b/htdocs/admin/propale.php index e4c5f3dcef0..303abeaf49c 100644 --- a/htdocs/admin/propale.php +++ b/htdocs/admin/propale.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/sqltables.php b/htdocs/admin/sqltables.php index fbc39c47664..8c7a985bcc9 100644 --- a/htdocs/admin/sqltables.php +++ b/htdocs/admin/sqltables.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/system/constall.php b/htdocs/admin/system/constall.php index fccd1395c7a..01ae18c1e71 100644 --- a/htdocs/admin/system/constall.php +++ b/htdocs/admin/system/constall.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/system/database-tables-contraintes.php b/htdocs/admin/system/database-tables-contraintes.php index edb2b471dd9..d0ad3227855 100644 --- a/htdocs/admin/system/database-tables-contraintes.php +++ b/htdocs/admin/system/database-tables-contraintes.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/system/database-tables.php b/htdocs/admin/system/database-tables.php index 4c057e4403a..73757e5523f 100644 --- a/htdocs/admin/system/database-tables.php +++ b/htdocs/admin/system/database-tables.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/system/database.php b/htdocs/admin/system/database.php index b05cc2de91f..7f078fcd317 100644 --- a/htdocs/admin/system/database.php +++ b/htdocs/admin/system/database.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/system/gen-commande.php b/htdocs/admin/system/gen-commande.php index 1c886752c81..466c8722edd 100644 --- a/htdocs/admin/system/gen-commande.php +++ b/htdocs/admin/system/gen-commande.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/system/gendata.php b/htdocs/admin/system/gendata.php index fda3abc4a06..1f7a0bd1de9 100644 --- a/htdocs/admin/system/gendata.php +++ b/htdocs/admin/system/gendata.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * @@ -43,7 +43,7 @@ pas utiliser sur une base de donn Home

- * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/system/os.php b/htdocs/admin/system/os.php index da88008442e..970baf769b7 100644 --- a/htdocs/admin/system/os.php +++ b/htdocs/admin/system/os.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify @@ -42,10 +42,10 @@ print ''; print ''; print "\n"; // Récupère la version de l'OS -ob_start(); +ob_start(); phpinfo(); -$chaine = ob_get_contents(); -ob_end_clean(); +$chaine = ob_get_contents(); +ob_end_clean(); eregi('System ',$chaine,$reg); print "\n"; print '
'.$langs->trans("Parameter").''.$langs->trans("Value").'
([^\/]*)
".$langs->trans("Version")."".$reg[1]."
'; diff --git a/htdocs/admin/system/pear.php b/htdocs/admin/system/pear.php index e8914080f61..ec46a937028 100644 --- a/htdocs/admin/system/pear.php +++ b/htdocs/admin/system/pear.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/system/pear_packages.php b/htdocs/admin/system/pear_packages.php index c95f639a328..3c68940d06f 100644 --- a/htdocs/admin/system/pear_packages.php +++ b/htdocs/admin/system/pear_packages.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php index 5de2f0a4ec5..4f6b2cbe690 100644 --- a/htdocs/admin/system/phpinfo.php +++ b/htdocs/admin/system/phpinfo.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * @@ -22,7 +22,7 @@ */ /*! \file htdocs/admin/system/phpinfo.php - \brief Page des infos système de PHP + \brief Page des infos système de php \version $Revision$ */ @@ -36,7 +36,7 @@ if (!$user->admin) llxHeader(); -ob_start(); +ob_start(); if ($_GET["what"] == 'conf') { @@ -55,8 +55,8 @@ else phpinfo(); } -$chaine = ob_get_contents(); -ob_end_clean(); +$chaine = ob_get_contents(); +ob_end_clean(); # Nettoie la sortie php pour inclusion dans une page deja existante $chaine = eregi_replace('background-color: #ffffff;','',$chaine); @@ -69,7 +69,7 @@ $chaine = eregi_replace('
','',$chaine); $chaine = eregi_replace('','',$chaine); $chaine = eregi_replace('body, td, th, h1, h2 {font-family: sans-serif;}','',$chaine); -print "$chaine\n"; // Ne pas centrer la réponse php car certains tableau du bas très large rendent ceux du haut complètement à droite +print "$chaine\n"; // Ne pas centrer la réponse php car certains tableau du bas très large rendent ceux du haut complètement à droite print "
\n"; llxfooter(); diff --git a/htdocs/admin/system/pre.inc.php b/htdocs/admin/system/pre.inc.php index e2707bdcc0a..6f6ed1a26e6 100644 --- a/htdocs/admin/system/pre.inc.php +++ b/htdocs/admin/system/pre.inc.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio diff --git a/htdocs/admin/system/update.php b/htdocs/admin/system/update.php index aad28c06fe4..ebfc8b1b2c4 100644 --- a/htdocs/admin/system/update.php +++ b/htdocs/admin/system/update.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/admin/system/web.php b/htdocs/admin/system/web.php index 46bf6818242..334cf303cdd 100644 --- a/htdocs/admin/system/web.php +++ b/htdocs/admin/system/web.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/update/paiement.php b/htdocs/admin/update/paiement.php index 4c52982582d..3156cad5daa 100644 --- a/htdocs/admin/update/paiement.php +++ b/htdocs/admin/update/paiement.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/update/pre.inc.php b/htdocs/admin/update/pre.inc.php index 44037748a41..766db26d0c7 100644 --- a/htdocs/admin/update/pre.inc.php +++ b/htdocs/admin/update/pre.inc.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/admin/webcalendar.php b/htdocs/admin/webcalendar.php index 4d1d039c800..cb3695d23da 100644 --- a/htdocs/admin/webcalendar.php +++ b/htdocs/admin/webcalendar.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Éric Seigne * Copyright (C) 2004 Laurent Destailleur diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 195d3a1aa23..46c48879128 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index c32aeb31d6d..ef030d85ee4 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index 595ed17faef..a877efb036f 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php index 902182b3160..9e6809c90a6 100644 --- a/htdocs/commande/liste.php +++ b/htdocs/commande/liste.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/commande/osccommande.class.php b/htdocs/commande/osccommande.class.php index 50867cd0fb8..fe56c226dfc 100644 --- a/htdocs/commande/osccommande.class.php +++ b/htdocs/commande/osccommande.class.php @@ -1,4 +1,4 @@ - * Copyright (C) 2003 Éric Seigne * diff --git a/htdocs/commande/pre.inc.php b/htdocs/commande/pre.inc.php index 0de9a372c51..815756967d1 100644 --- a/htdocs/commande/pre.inc.php +++ b/htdocs/commande/pre.inc.php @@ -1,4 +1,4 @@ - * Copyright (C) 2004 Laurent Destailleur * diff --git a/htdocs/commande/stats/commandestats.class.php b/htdocs/commande/stats/commandestats.class.php index 7d80f3308f0..b342c092afc 100644 --- a/htdocs/commande/stats/commandestats.class.php +++ b/htdocs/commande/stats/commandestats.class.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php index d20ffc9e161..7ed0e8dfad0 100644 --- a/htdocs/commande/stats/index.php +++ b/htdocs/commande/stats/index.php @@ -1,5 +1,6 @@ - + * Copyright (c) 2004 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 diff --git a/htdocs/commande/stats/month.php b/htdocs/commande/stats/month.php index d3ad0e6339b..0780c52264a 100644 --- a/htdocs/commande/stats/month.php +++ b/htdocs/commande/stats/month.php @@ -1,5 +1,6 @@ - + * Copyright (c) 2004 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 diff --git a/htdocs/commande/stats/pre.inc.php b/htdocs/commande/stats/pre.inc.php index 17940e74ff9..34b7d2697fb 100644 --- a/htdocs/commande/stats/pre.inc.php +++ b/htdocs/commande/stats/pre.inc.php @@ -1,4 +1,4 @@ - * * This program is free software; you can redistribute it and/or modify