Subversion Repositories Sites.tela-botanica.org

Rev

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

Rev 540 Rev 541
Line 186... Line 186...
186
    $_POST['titre_mail']='';
186
    $_POST['titre_mail']='';
187
    return $res ;
187
    return $res ;
188
}
188
}
Line 189... Line 189...
189
 
189
 
190
function envoie_mail_modere (&$db) {
190
function envoie_mail_modere (&$db) {
191
    $res = '<div class=\"attention_surveillance\">'.CAR_MAIL_ATTENTE_MODERATION.'</div>' ;
191
    $res = '<p class="attention">'.CAR_MAIL_ATTENTE_MODERATION.'</p>' ;
192
    $requete = "select ".CAR_CHAMPS_MAIL." from ".CAR_ANNUAIRE.
192
    $requete = "select ".CAR_CHAMPS_MAIL." from ".CAR_ANNUAIRE.
193
            " where ".CAR_CHAMPS_ID."='".$GLOBALS['car_auth']->getAuthData (CAR_CHAMPS_ID)."'";
193
            " where ".CAR_CHAMPS_ID."='".$GLOBALS['car_auth']->getAuthData (CAR_CHAMPS_ID)."'";
194
    $resultat = $db->query($requete);
194
    $resultat = $db->query($requete);
195
    if (DB::isError($resultat)) {
195
    if (DB::isError($resultat)) {
Line 206... Line 206...
206
	$precorps = $ligne[CAR_CHAMPS_MAIL]." ".CAR_EXPEDITEUR_ORIGINAL." \n"  ;
206
	$precorps = $ligne[CAR_CHAMPS_MAIL]." ".CAR_EXPEDITEUR_ORIGINAL." \n"  ;
207
	$precorps .= CAR_LISTE_DESTINATAIRES." : ".$liste." \n" ;
207
	$precorps .= CAR_LISTE_DESTINATAIRES." : ".$liste." \n" ;
208
	$precorps .= CAR_TITRE_MAIL.' : '.$_POST['titre_mail']." \n" ;
208
	$precorps .= CAR_TITRE_MAIL.' : '.$_POST['titre_mail']." \n" ;
209
	$precorps .= "\n------".CAR_CONTENU_MESSAGE."------\n"; 
209
	$precorps .= "\n------".CAR_CONTENU_MESSAGE."------\n"; 
Line 210... Line 210...
210
	
210
	
Line 211... Line 211...
211
	$corps = $precorps.$_POST['corps'] ;
211
	$corps = stripslashes($precorps.$_POST['corps']) ;
212
	
212
	
Line 213... Line 213...
213
	$corps .= "\n----------------------------------------------------------------------------";
213
	$corps .= "\n----------------------------------------------------------------------------";