Subversion Repositories Applications.projet

Rev

Rev 272 | Rev 288 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 272 Rev 276
Line 18... Line 18...
18
// | You should have received a copy of the GNU General Public                                            |
18
// | You should have received a copy of the GNU General Public                                            |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
Line 22... Line 22...
22
 
22
 
Line 23... Line 23...
23
// CVS : $Id: projetControleur.class.php,v 1.40 2007-11-21 09:42:50 alexandre_tb Exp $
23
// CVS : $Id: projetControleur.class.php,v 1.41 2007-12-04 13:55:07 alexandre_tb Exp $
24
 
24
 
25
/**
25
/**
26
* Application projet
26
* Application projet
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Alexandre Granier <alexandre@tela-botanica.org>
32
*@author        Alexandre Granier <alexandre@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.40 $
36
*@version       $Revision: 1.41 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 1525... Line 1525...
1525
					$tpl->setVariable('prenom', $utilisateur->getInfo( 'prenom')) ;
1525
					$tpl->setVariable('prenom', $utilisateur->getInfo( 'prenom')) ;
1526
					$tpl->setVariable('nom_projet', $projet->getTitre()) ;
1526
					$tpl->setVariable('nom_projet', $projet->getTitre()) ;
1527
					$tpl->setVariable('lien', str_replace ('&amp;', '&', $this->_url->getURL())) ;
1527
					$tpl->setVariable('lien', str_replace ('&amp;', '&', $this->_url->getURL())) ;
Line 1528... Line 1528...
1528
				
1528
				
1529
            		foreach ($tableau_coordinateur as $coordinateur) {
1529
            		foreach ($tableau_coordinateur as $coordinateur) {
1530
            			$entetes['To'] .= $coordinateur[3];	// Le champs 3 est le mail
1530
            			$entetes['To'] .= $coordinateur[3].',';	// Le champs 3 est le mail
-
 
1531
            		}
-
 
1532
            		// On enleve la virgule finale
-
 
1533
            		$entetes['To'] = substr ($entetes['To'], 0, count ($entetes['To']) - 1);
-
 
1534
            		
1531
            		}
1535
            		// on envoie le mail
1532
            		$objet_mail->send($entetes['To'], $entetes, $tpl->get());
1536
            		$objet_mail->send($entetes['To'], $entetes, html_entity_decode ($tpl->get()));
1533
            	}
1537
            	}
Line 1534... Line 1538...
1534
            }
1538
            }
1535
 
1539