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 163... Line 163...
163
        }
163
        }
164
        $res .= "</tbody></table></div>\n";
164
        $res .= "</tbody></table></div>\n";
Line 165... Line 165...
165
        
165
        
166
        if ($mailer==1) {
166
        if ($mailer==1) {
167
            if (!is_array($select)) {
167
            if (!is_array($select)) {
168
                $res .= "<div>".CAR_NO_DESTINATAIRE."</div>";
168
                $res .= '<p class="attention">'.CAR_NO_DESTINATAIRE.'<p>';
169
            } else {
169
            } else {
170
                $res .= envoie_mail_modere($GLOBALS['car_db']) ;
170
                $res .= envoie_mail_modere($GLOBALS['car_db']) ;
171
            }
171
            }
172
        } else {
172
        } else {
173
            $res .= carto_texte_cocher() ;
173
            $res .= carto_texte_cocher() ;
Line 174... Line 174...
174
        }
174
        }
175
        
175
        
Line 176... Line 176...
176
        $res .= carto_formulaire($titre_mail, $corps) ;
176
        $res .= carto_formulaire($titre_mail, stripslashes($corps)) ;
Line 177... Line 177...
177
    }
177
    }
Line 224... Line 224...
224
    if ($ligne_2->nbr == 0) {
224
    if ($ligne_2->nbr == 0) {
225
        $res .= 'aucun inscrit '.CAR_LABEL_PROJET."</h1>\n";
225
        $res .= 'aucun inscrit '.CAR_LABEL_PROJET."</h1>\n";
226
        if (!$GLOBALS['car_auth']->getAuth()) {
226
        if (!$GLOBALS['car_auth']->getAuth()) {
227
            $res .= AUTH_formulaire_login();
227
            $res .= AUTH_formulaire_login();
228
        } else {
228
        } else {
229
            $res .= '<div class="message_pas_dinscrit">'.CAR_PAS_D_INSCRIT.'</div>'."\n" ;
229
            $res .= '<p class="attention">'.CAR_PAS_D_INSCRIT.'<p>';
230
        }
230
        }
231
        return $res ;
231
        return $res ;
232
    } else if ($ligne_2->nbr == 1) {
232
    } else if ($ligne_2->nbr == 1) {
233
        $res .= $ligne_2->nbr." inscrit " ;
233
        $res .= $ligne_2->nbr." inscrit " ;
234
    } else {
234
    } else {
Line 288... Line 288...
288
                                    </tr>\n";
288
                                    </tr>\n";
289
        }
289
        }
290
        $res.="</tbody></table></div>\n";
290
        $res.="</tbody></table></div>\n";
291
        if ($mailer==1) {
291
        if ($mailer==1) {
292
            if (!is_array($select)) {
292
            if (!is_array($select)) {
293
                $res.= CAR_NO_DESTINATAIRE;
293
                $res.= '<p class="attention">'.CAR_NO_DESTINATAIRE.'<p>';
294
            } else {
294
            } else {
295
                $res .= envoie_mail_modere($GLOBALS['car_db']) ;
295
                $res .= envoie_mail_modere($GLOBALS['car_db']) ;
296
            }
296
            }
297
        } else {
297
        } else {
298
            $res .=carto_texte_cocher() ;
298
            $res .=carto_texte_cocher() ;
299
        }
299
        }
300
        $res .= carto_formulaire($titre_mail, $corps) ;
300
        $res .= carto_formulaire($titre_mail,stripslashes($corps)) ;
301
    }
301
    }
302
}
302
}
303
?>
303
?>
304
304