Subversion Repositories Applications.papyrus

Rev

Rev 1716 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1716 Rev 1754
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.38.2.2 2007-11-21 09:38:44 alexandre_tb Exp $
23
// CVS : $Id: projetControleur.class.php,v 1.38.2.3 2007-12-04 13:53:06 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.38.2.2 $
36
*@version       $Revision: 1.38.2.3 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 1523... Line 1523...
1523
				    }
1523
				    }
1524
					$tpl->setVariable('nom', $utilisateur->getInfo( 'nom')) ;
1524
					$tpl->setVariable('nom', $utilisateur->getInfo( 'nom')) ;
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())) ;
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
            		}
1531
            		}
-
 
1532
            		// On enleve la virgule finale
-
 
1533
            		$entetes['To'] = substr ($entetes['To'], 0, count ($entetes['To']) - 1);
-
 
1534
            		
-
 
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
            	}
1534
            }
1538
            }
Line 1535... Line 1539...
1535
 
1539
 
1536
            if ($this->_presentation != 'arbre') {
1540
            if ($this->_presentation != 'arbre') {