Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 539 → Rev 540

/trunk/client/annuaire/langues/ann_langue_fr.inc.php
96,7 → 96,7
define ('ANN_PIED_INFO', 'Si vous constatez des problèmes en utilisant cette application, veuillez contacter : ') ;
define ('ANN_PIED_MAIL', 'accueil@tela-botanica.org') ;
define ('ANN_TITRE_MAIL_MODERATION', 'Un nouveau message aux adhérents est en attente de modération') ;
define ('ANN_EXPEDITEUR_ORIGINAL', 'vous a envoyé un message par l\'intermédiaire du reseau Tela Botanica') ;
define ('ANN_EXPEDITEUR_ORIGINAL', 'a envoyé un message par l\'intermédiaire de la cartographie du reseau Tela Botanica') ;
define ('ANN_LISTE_DESTINATAIRES','aux destinataires suivants') ;
define ('ANN_CONTENU_MESSAGE','Contenu du message') ;
define ('ANN_TITRE_MAIL','Sujet du message') ;
/trunk/client/annuaire/recu_pdf_corps.php
50,6 → 50,7
}
 
@include_once "api/fpdf/fpdf.php";
@include_once "bibliotheque/Words.php";
 
if (!isset($envoie)) $chemin = "client/annuaire/" ;
 
79,9 → 80,9
$pdf->SetFont('Arial','B',14);
$pdf->Cell(0,10,'Reçu dons aux œuvres', 0, 1, "C");
$pdf->SetFont('Arial', '', 10) ;
$pdf->Cell(0, 0, '(Article 200-5 et 238 bis du Code Général des impôts)', 0, 1, "C") ;
$pdf->Cell(0, 0, 'Articles 200, 238 bis et 885-0 du code général des impôts (CGI)', 0, 1, "C") ;
 
$pdf->Cell(0, 10, 'REÇU A CONSERVER ET A JOINDRE A VOTRE DECLARATION DE REVENUS 2007', 0, 1, "L") ;
$pdf->Cell(0, 10, 'REÇU A CONSERVER ET A JOINDRE A VOTRE DECLARATION DE REVENUS 2009', 0, 1, "L") ;
 
// On met le logo de Tela
$pdf->Image($chemin."logotb.png", 12, 35, "29", "", "PNG", "http://www.tela-botanica.org/") ;
128,7 → 129,6
$pdf->MultiCell(100,4, 'Organisme d\'intérêt général à caractère scientifique concourant à la diffusion de la langue et des connaissances scientifiques françaises.', 0,1, "R") ;
 
 
 
// On remonte le curseur de 52
$pdf->SetY($pdf->GetY() - 58) ;
 
138,10 → 138,15
$pdf->Ln() ;
 
$pdf->SetFontSize(10) ;
$pdf->Cell(0,10, 'L\'Association reconnaît avoir reçu, à titre de don, la somme de :', 0, 1, "L") ;
$pdf->Cell(0,10, 'L\'Association reconnaît avoir reçu en numéraire, à titre de don, la somme de :', 0, 1, "L") ;
 
$wordsConverter = new Numbers_Words() ;
$montantLettres = $wordsConverter->toWords($ligne->IC_MONTANT,'fr') ;
 
$pdf->SetFont('Arial', 'B', 11) ;
$pdf->Cell(0,10, "*** $ligne->IC_MONTANT euros ***", 0, 1, "C") ;
$pdf->Ln() ;
$pdf->Cell(0,10, "*** ($montantLettres euros) ***", 0, 1, "C") ;
 
$pdf->SetFont('Arial', '', 10) ;
 
/trunk/client/annuaire/bibliotheque/Words/lang.fr.php
New file
0,0 → 1,439
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at |
// | http://www.php.net/license/3_0.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: Kouber Saparev <kouber@php.net> |
// +----------------------------------------------------------------------+
//
// $Id: lang.fr.php,v 1.4 2004/10/22 18:22:52 kouber Exp $
 
/**
* Include needed files
*/
require_once("Numbers/Words.php");
 
/**
* Class for translating numbers into French.
*
* @author Kouber Saparev <kouber@php.net>
* @package Numbers_Words
*/
class Numbers_Words_fr extends Numbers_Words
{
 
// {{{ properties
 
/**
* Locale name.
* @var string
* @access public
*/
var $locale = 'fr';
 
/**
* Language name in English.
* @var string
* @access public
*/
var $lang = 'French';
 
/**
* Native language name.
* @var string
* @access public
*/
var $lang_native = 'Français';
 
/**
* The words for some numbers.
* @var string
* @access private
*/
var $_misc_numbers = array(
10=>'dix', // 10
'onze', // 11
'douze', // 12
'treize', // 13
'quatorze', // 14
'quinze', // 15
'seize', // 16
20=>'vingt', // 20
30=>'trente', // 30
40=>'quarante', // 40
50=>'cinquante',// 50
60=>'soixante', // 60
100=>'cent' // 100
);
 
 
/**
* The words for digits (except zero).
* @var string
* @access private
*/
var $_digits = array(1=>"un", "deux", "trois", "quatre", "cinq", "six", "sept", "huit", "neuf");
 
/**
* The word for zero.
* @var string
* @access private
*/
var $_zero = 'zéro';
 
/**
* The word for infinity.
* @var string
* @access private
*/
var $_infinity = 'infini';
 
/**
* The word for the "and" language construct.
* @var string
* @access private
*/
var $_and = 'et';
/**
* The word separator.
* @var string
* @access private
*/
var $_sep = ' ';
 
/**
* The dash liaison.
* @var string
* @access private
*/
var $_dash = '-';
 
/**
* The word for the minus sign.
* @var string
* @access private
*/
var $_minus = 'moins'; // minus sign
 
/**
* The plural suffix (except for hundred).
* @var string
* @access private
*/
var $_plural = 's'; // plural suffix
 
/**
* The suffixes for exponents (singular).
* @var array
* @access private
*/
var $_exponent = array(
0 => '',
3 => 'mille',
6 => 'million',
9 => 'milliard',
12 => 'trillion',
15 => 'quadrillion',
18 => 'quintillion',
21 => 'sextillion',
24 => 'septillion',
27 => 'octillion',
30 => 'nonillion',
33 => 'decillion',
36 => 'undecillion',
39 => 'duodecillion',
42 => 'tredecillion',
45 => 'quattuordecillion',
48 => 'quindecillion',
51 => 'sexdecillion',
54 => 'septendecillion',
57 => 'octodecillion',
60 => 'novemdecillion',
63 => 'vigintillion',
66 => 'unvigintillion',
69 => 'duovigintillion',
72 => 'trevigintillion',
75 => 'quattuorvigintillion',
78 => 'quinvigintillion',
81 => 'sexvigintillion',
84 => 'septenvigintillion',
87 => 'octovigintillion',
90 => 'novemvigintillion',
93 => 'trigintillion',
96 => 'untrigintillion',
99 => 'duotrigintillion',
102 => 'trestrigintillion',
105 => 'quattuortrigintillion',
108 => 'quintrigintillion',
111 => 'sextrigintillion',
114 => 'septentrigintillion',
117 => 'octotrigintillion',
120 => 'novemtrigintillion',
123 => 'quadragintillion',
126 => 'unquadragintillion',
129 => 'duoquadragintillion',
132 => 'trequadragintillion',
135 => 'quattuorquadragintillion',
138 => 'quinquadragintillion',
141 => 'sexquadragintillion',
144 => 'septenquadragintillion',
147 => 'octoquadragintillion',
150 => 'novemquadragintillion',
153 => 'quinquagintillion',
156 => 'unquinquagintillion',
159 => 'duoquinquagintillion',
162 => 'trequinquagintillion',
165 => 'quattuorquinquagintillion',
168 => 'quinquinquagintillion',
171 => 'sexquinquagintillion',
174 => 'septenquinquagintillion',
177 => 'octoquinquagintillion',
180 => 'novemquinquagintillion',
183 => 'sexagintillion',
186 => 'unsexagintillion',
189 => 'duosexagintillion',
192 => 'tresexagintillion',
195 => 'quattuorsexagintillion',
198 => 'quinsexagintillion',
201 => 'sexsexagintillion',
204 => 'septensexagintillion',
207 => 'octosexagintillion',
210 => 'novemsexagintillion',
213 => 'septuagintillion',
216 => 'unseptuagintillion',
219 => 'duoseptuagintillion',
222 => 'treseptuagintillion',
225 => 'quattuorseptuagintillion',
228 => 'quinseptuagintillion',
231 => 'sexseptuagintillion',
234 => 'septenseptuagintillion',
237 => 'octoseptuagintillion',
240 => 'novemseptuagintillion',
243 => 'octogintillion',
246 => 'unoctogintillion',
249 => 'duooctogintillion',
252 => 'treoctogintillion',
255 => 'quattuoroctogintillion',
258 => 'quinoctogintillion',
261 => 'sexoctogintillion',
264 => 'septoctogintillion',
267 => 'octooctogintillion',
270 => 'novemoctogintillion',
273 => 'nonagintillion',
276 => 'unnonagintillion',
279 => 'duononagintillion',
282 => 'trenonagintillion',
285 => 'quattuornonagintillion',
288 => 'quinnonagintillion',
291 => 'sexnonagintillion',
294 => 'septennonagintillion',
297 => 'octononagintillion',
300 => 'novemnonagintillion',
303 => 'centillion'
);
// }}}
 
// {{{ _splitNumber()
 
/**
* Split a number to groups of three-digit numbers.
*
* @param mixed $num An integer or its string representation
* that need to be split
*
* @return array Groups of three-digit numbers.
*
* @access private
* @author Kouber Saparev <kouber@php.net>
* @since PHP 4.2.3
*/
 
function _splitNumber($num)
{
if (is_string($num)) {
$ret = array();
$strlen = strlen($num);
$first = substr($num, 0, $strlen%3);
preg_match_all('/\d{3}/', substr($num, $strlen%3, $strlen), $m);
$ret =& $m[0];
if ($first) array_unshift($ret, $first);
return $ret;
}
else
return explode(' ', number_format($num, 0, '', ' ')); // a faster version for integers
}
// }}}
 
// {{{ _showDigitsGroup()
 
/**
* Converts a three-digit number to its word representation
* in French language.
*
* @param integer $num An integer between 1 and 999 inclusive.
*
* @param boolean $last A flag, that determines if it is the last group of digits -
* this is used to accord the plural suffix of the "hundreds".
* Example: 200 = "deux cents", but 200000 = "deux cent mille".
*
*
* @return string The words for the given number.
*
* @access private
* @author Kouber Saparev <kouber@php.net>
*/
function _showDigitsGroup($num, $last = false)
{
$ret = '';
// extract the value of each digit from the three-digit number
$e = $num%10; // ones
$d = ($num-$e)%100/10; // tens
$s = ($num-$d*10-$e)%1000/100; // hundreds
// process the "hundreds" digit.
if ($s) {
if ($s>1) {
$ret .= $this->_digits[$s].$this->_sep.$this->_misc_numbers[100];
if ($last && !$e && !$d) {
$ret .= $this->_plural;
}
} else {
$ret .= $this->_misc_numbers[100];
}
$ret .= $this->_sep;
}
 
// process the "tens" digit, and optionally the "ones" digit.
if ($d) {
// in the case of 1, the "ones" digit also must be processed
if ($d==1) {
if ($e<=6) {
$ret .= $this->_misc_numbers[10+$e];
} else {
$ret .= $this->_misc_numbers[10].'-'.$this->_digits[$e];
}
$e = 0;
} elseif ($d>5) {
if ($d<8) {
$ret .= $this->_misc_numbers[60];
$resto = $d*10+$e-60;
if ($e==1) {
$ret .= $this->_sep.$this->_and.$this->_sep;
}
elseif ($resto) {
$ret .= $this->_dash;
}
if ($resto) {
$ret .= $this->_showDigitsGroup($resto);
}
$e = 0;
} else {
$ret .= $this->_digits[4].$this->_dash.$this->_misc_numbers[20];
$resto = $d*10+$e-80;
if ($resto) {
$ret .= $this->_dash;
$ret .= $this->_showDigitsGroup($resto);
$e = 0;
} else {
$ret .= $this->_plural;
}
}
} else {
$ret .= $this->_misc_numbers[$d*10];
}
}
 
// process the "ones" digit
if ($e) {
if ($d) {
if ($e==1) {
$ret .= $this->_sep.$this->_and.$this->_sep;
} else {
$ret .= $this->_dash;
}
}
$ret .= $this->_digits[$e];
}
 
// strip excessive separators
$ret = rtrim($ret, $this->_sep);
 
return $ret;
}
// }}}
 
// {{{ toWords()
 
/**
* Converts a number to its word representation
* in French language.
*
* @param integer $num An integer (or its string representation) between 9.99*-10^302
* and 9.99*10^302 (999 centillions) that need to be converted to words
*
* @return string The corresponding word representation
*
* @access public
* @author Kouber Saparev <kouber@php.net>
*/
function toWords($num = 0)
{
$ret = '';
 
// check if $num is a valid non-zero number
if (!$num || preg_match('/^-?0+$/', $num) || !preg_match('/^-?\d+$/', $num)) return $this->_zero;
 
// add a minus sign
if (substr($num, 0, 1) == '-') {
$ret = $this->_minus . $this->_sep;
$num = substr($num, 1);
}
 
// if the absolute value is greater than 9.99*10^302, return infinity
if (strlen($num)>306) {
return $ret . $this->_infinity;
}
 
// strip excessive zero signs
$num = ltrim($num, '0');
 
// split $num to groups of three-digit numbers
$num_groups = $this->_splitNumber($num);
 
$sizeof_numgroups = count($num_groups);
 
foreach ($num_groups as $i=>$number) {
// what is the corresponding exponent for the current group
$pow = $sizeof_numgroups-$i;
 
// skip processment for empty groups
if ($number!='000') {
if ($number!=1 || $pow!=2) {
$ret .= $this->_showDigitsGroup($number, $i+1==$sizeof_numgroups).$this->_sep;
}
$ret .= $this->_exponent[($pow-1)*3];
if ($pow>2 && $number>1) {
$ret .= $this->_plural;
}
$ret .= $this->_sep;
}
}
 
return rtrim($ret, $this->_sep);
}
// }}}
}
?>
/trunk/client/annuaire/bibliotheque/Words.php
New file
0,0 → 1,188
<?php
/* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: */
//
// +----------------------------------------------------------------------+
// | PHP version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2006 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/3_0.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: Piotr Klaban <makler@man.torun.pl> |
// +----------------------------------------------------------------------+
//
// $Id: Words.php,v 1.4 2006/06/13 11:29:35 makler Exp $
//
 
/**
* The Numbers_Words class provides method to convert arabic numerals to
* words (also with currency name).
*
* @author Piotr Klaban <makler@man.torun.pl>
* @package Numbers_Words
*/
 
// {{{ Numbers_Words
 
/**
* The Numbers_Words class provides method to convert arabic numerals to words.
*
* @access public
* @author Piotr Klaban <makler@man.torun.pl>
* @since PHP 4.2.3
* @package Numbers_Words
*/
class Numbers_Words
{
// {{{ toWords()
 
/**
* Converts a number to its word representation
*
* @param integer $num An integer between -infinity and infinity inclusive :)
* that should be converted to a words representation
*
* @param string $locale Language name abbreviation. Optional. Defaults to en_US.
*
* @return string The corresponding word representation
*
* @access public
* @author Piotr Klaban <makler@man.torun.pl>
* @since PHP 4.2.3
*/
function toWords($num, $locale = 'en_US') {
 
include_once("Numbers/Words/lang.${locale}.php");
 
$classname = "Numbers_Words_${locale}";
 
if (!class_exists($classname)) {
return Numbers_Words::raiseError("Unable to include the Numbers/Words/lang.${locale}.php file");
}
 
$methods = get_class_methods($classname);
 
if (!in_array('toWords', $methods) && !in_array('towords', $methods)) {
return Numbers_Words::raiseError("Unable to find toWords method in '$classname' class");
}
 
@$obj =& new $classname;
 
return trim($obj->toWords($num));
}
// }}}
// {{{ toCurrency()
/**
* Converts a currency value to word representation (1.02 => one dollar two cents)
* If the number has not any fraction part, the "cents" number is omitted.
*
* @param float $num A float/integer/string number representing currency value
*
* @param string $locale Language name abbreviation. Optional. Defaults to en_US.
*
* @param string $int_curr International currency symbol
* as defined by the ISO 4217 standard (three characters).
* E.g. 'EUR', 'USD', 'PLN'. Optional.
* Defaults to $def_currency defined in the language class.
*
* @return string The corresponding word representation
*
* @access public
* @author Piotr Klaban <makler@man.torun.pl>
* @since PHP 4.2.3
*/
function toCurrency($num, $locale = 'en_US', $int_curr = '') {
$ret = $num;
 
@include_once("Numbers/Words/lang.${locale}.php");
 
$classname = "Numbers_Words_${locale}";
 
if (!class_exists($classname)) {
return Numbers_Words::raiseError("Unable to include the Numbers/Words/lang.${locale}.php file");
}
 
$methods = get_class_methods($classname);
 
if (!in_array('toCurrencyWords', $methods) && !in_array('tocurrencywords', $methods)) {
return Numbers_Words::raiseError("Unable to find toCurrencyWords method in '$classname' class");
}
 
@$obj =& new $classname;
 
if (strpos($num, '.') === false)
{
$ret = trim($obj->toCurrencyWords($int_curr, $num));
} else {
$currency = explode('.', $num, 2);
/* add leading zero */
if (strlen($currency[1]) == 1) {
$currency[1] .= '0';
}
$ret = trim($obj->toCurrencyWords($int_curr, $currency[0], $currency[1]));
}
return $ret;
}
// }}}
// {{{ getLocales()
/**
* Lists available locales for Numbers_Words
*
* @param string $int_curr International currency symbol
* @param mixed string/array of strings $locale
* Optional searched language name abbreviation.
* Default: all available locales.
*
* @return array The available locales (optionaly only the requested ones)
* @author Piotr Klaban <makler@man.torun.pl>
* @author Bertrand Gugger, bertrand at toggg dot com
*
* @access public
* @static
*/
function getLocales($locale = null) {
$ret = array();
if (isset($locale) && is_string($locale)) {
$locale = array($locale);
}
$dname = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Words' . DIRECTORY_SEPARATOR;
$dh=opendir($dname);
if ($dh) {
while ($fname = readdir($dh)) {
if (preg_match('#^lang\.([a-z_]+)\.php$#i', $fname, $matches)) {
if (is_file($dname . $fname) && is_readable($dname . $fname) &&
(!isset($locale) || in_array($matches[1], $locale))) {
$ret[] = $matches[1];
}
}
}
closedir($dh);
sort($ret);
}
return $ret;
}
// }}}
// {{{ raiseError()
/**
* Trigger a PEAR error
*
* To improve performances, the PEAR.php file is included dynamically.
*
* @param string error message
*/
function raiseError($msg)
{
include_once('PEAR.php');
return PEAR::raiseError($msg);
}
// }}}
}
 
// }}}
?>
/trunk/client/cartographie/bibliotheque/car_cartographie.fonct.php
151,7 → 151,7
*/
 
function envoie_mail (&$db) {
$res = "<h1 class=\"titre1_cartographie\">Votre message a &eacute;t&eacute; envoy&eacute;</div>\n" ;
$res = "<div class=\"titre1_cartographie\">Votre message a &eacute;t&eacute; envoy&eacute;</div>" ;
$requete = "select ".CAR_CHAMPS_MAIL." from ".CAR_ANNUAIRE.
" where ".CAR_CHAMPS_ID."='".$GLOBALS['car_auth']->getAuthData (CAR_CHAMPS_ID)."'";
$resultat = $db->query($requete);
187,6 → 187,46
return $res ;
}
 
function envoie_mail_modere (&$db) {
$res = '<div class=\"attention_surveillance\">'.CAR_MAIL_ATTENTE_MODERATION.'</div>' ;
$requete = "select ".CAR_CHAMPS_MAIL." from ".CAR_ANNUAIRE.
" where ".CAR_CHAMPS_ID."='".$GLOBALS['car_auth']->getAuthData (CAR_CHAMPS_ID)."'";
$resultat = $db->query($requete);
if (DB::isError($resultat)) {
die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo());
}
$ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC);
$liste = '';
$entete = '' ;
foreach ($_POST['select'] as $key => $value) {
$liste .= $value."\n" ;
}
$precorps = $ligne[CAR_CHAMPS_MAIL]." ".CAR_EXPEDITEUR_ORIGINAL." \n" ;
$precorps .= CAR_LISTE_DESTINATAIRES." : ".$liste." \n" ;
$precorps .= CAR_TITRE_MAIL.' : '.$_POST['titre_mail']." \n" ;
$precorps .= "\n------".CAR_CONTENU_MESSAGE."------\n";
$corps = $precorps.$_POST['corps'] ;
$corps .= "\n----------------------------------------------------------------------------";
$corps .= "\n".CAR_MESSAGE_APPLI."\n" ;
// Envoie du message au modérateur
foreach ($GLOBALS['mail_admin'] as $courriel) {
if(!mail($courriel,CAR_TITRE_MAIL_MODERATION,$corps, $entete))
{
trigger_error("Le courriel n'a pas été envoyé à : $courriel", E_USER_WARNING);
}
}
$_POST['corps']='';
$_POST['titre_mail']='';
return $res ;
}
 
//-- Fin du code source ------------------------------------------------------------
/*
* $Log: car_cartographie.fonct.php,v $
/trunk/client/cartographie/langues/car_langue_fr.inc.php
29,63 → 29,79
//Auteur original :
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
//Autres auteurs :
*@author Aucun
*@author Aurelien PERONNET
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.4 $ $Date: 2005/03/21 08:30:41 $
// +------------------------------------------------------------------------------------------------------+
*/
 
define ("CAR_NOM", "Nom") ;
define ("CAR_PRENOM", "Pr&eacute;nom") ;
define ("CAR_DATE_INS", "Date d'inscription") ;
define ("CAR_REGION", "R&eacute;gion") ;
define ("CAR_CP", "CP") ;
define ("CAR_VILLE", "Ville") ;
define ("CAR_PAYS", "Pays :") ;
define ("CAR_LANGUES_PARLES", "Langues parl&eacute;s :") ;
define ("CAR_EMAIL", "E-mail :") ;
define ("CAR_MOT_DE_PASSE", "Mot de passe :") ;
define ("CAR_REPETE_MOT_DE_PASSE", "R&eacute;p&eacute;ter le mot de passe :") ;
define ("CAR_RETABLIR", "R&eacute;tablir") ;
define ("CAR_VALIDER", "Valider") ;
define ("CAR_MOTS_DE_PASSE_DIFFERENTS", "Les mots de passe sont diff&eacute;rents !") ;
define ("CAR_EMAIL_REQUIS", "Vous devez saisir un email.") ;
define ("CAR_MOT_DE_PASSE_REQUIS", "Vous devez saisir un mot de passe.") ;
define ("CAR_MAIL_INCORRECT", "L'email doit avoir une forme correcte, utilisateur@domaine.ext") ;
define ("CAR_NOTE_REQUIS", "Indique les champs requis") ;
define ("CAR_MODIFIER_INSCRIPTION", "Modifier votre inscription") ;
define ("CAR_SUPPRIMER_INSCRIPTION", "Supprimer votre inscription") ;
define ("CAR_MESSAGE_BIENVENU", "Vous &ecirc;tes inscrit &agrave; Tela Botanica") ;
define ("CAR_DECONNEXION", 'D&eacute;connexion') ;
define ("CAR_INSCRIPTION", 'Inscription') ;
define ("CAR_TEXTE_PERDU", "Si vous avez perdu votre mot de passe, indiquer ".
"votre adresse email dans le champs login ci-dessus et cliquez sur \"Valider\"") ;
define ("CAR_CHECK_UNCHECK", "Cocher les cases pour s&eacute;lectionner votre destinataire ou cocher / d&eacute;cocher tout") ;
define ("CAR_ENVOYER_MAIL", "Envoyer un email") ;
define ("CAR_SUJET", "Sujet") ;
define ("CAR_MESSAGE", "Message") ;
define ("CAR_ENVOYER", "Envoyer") ;
define ("CAR_LABEL_PROJET", "à Tela Botanica") ;
define ("CAR_CLIQUER", "Cliquez sur une zone de la carte pour zoomer.") ;
define ("CAR_COULEUR", "La couleur est proportionnelle au nombre d'inscrits.") ;
define ("CAR_AVERTISSEMENT_TITRE", "Avertissement et d&eacute;ni de responsabilit&eacute;") ;
define ("CAR_AVERTISSEMENT", "La représentation et l'utilisation des fronti&egrave;res, des noms g&eacute;ographiques et autres ".
" donn&eacute;es employ&eacute;s sur les cartes et utilis&eacute;s dans les listes,".
" les tableaux, les documents et les bases de donn&eacute;es de ce site ne sont pas garanties sans ".
"erreurs, de m&ecirc;me qu'elles n'engagent pas la responsabilit&eacute; des auteurs de ce site ni ".
"n'impliquent de reconnaissance officielle de leur part.") ;
define ("CAR_MONDE", "Monde") ;
define ("CAR_CLIQUER_ACCEDER", "Cliquer sur la carte pour zoomer ou acc&eacute;der aux informations&nbsp;&nbsp;") ;
define ("CAR_LAIUS_INSCRIPTION", "Pour accéder aux informations sur les membres, il faut être inscrit au réseau Tela Botanica") ;
define ("CAR_S_INSCRIRE", "S'inscrire") ;
define ("CAR_MESSAGE_A_TOUS", 'Si votre message concerne une actualit&eacute; botanique (expo, sortie, stage, nouvel ouvrage, emploi,...) vous pouvez le diffuser &agrave; l\'ensemble des membres du r&eacute;seau en r&eacute;digeant un article dans <a href="http://www.tela-botanica.org/actu/article220.html">les actualités de Tela Botanica</a> ou en le publiant dans <a href="http://www.tela-botanica.org/page:ajouter_modifier_evenement">le calendrier des évènements</a>.');
define ("CAR_ACTUALITE", "les actualités de Tela Botanica");
define ("CAR_SURVEILLANCE", "<strong>Avertissement :</strong> la messagerie ci-dessous est destinée à vous permettre d'échanger des messages entre membres du réseau Tela Botanica, sans dévoiler les adresses email des adhérents. Afin de respecter la tranquillité de chacun, il est strictement interdit d'utiliser cette messagerie interne pour faire des relances périodiques d'informations ou des annonces publicitaires et commerciales. Une surveillance du contenu des mails échangés est effectuée par l'Association Tela Botanica. Merci de votre compréhension.") ;
define ("CAR_TEXTE_IDENTIFICATION_1", "Identifiez-vous pour accéder aux informations") ;
define ("CAR_TEXTE_IDENTIFICATION_2", "Informations sur les personnes inscrites dans cette unité géographique") ;
define ("CAR_PAS_D_INSCRIT", "Pas d'inscrit dans cette zone") ;
define ('CAR_NOM', 'Nom') ;
define ('CAR_PRENOM', 'Pr&eacute;nom') ;
define ('CAR_DATE_INS', 'Date d\'inscription') ;
define ('CAR_REGION', 'R&eacute;gion') ;
define ('CAR_CP', 'CP') ;
define ('CAR_VILLE', 'Ville') ;
define ('CAR_PAYS', 'Pays :') ;
define ('CAR_LANGUES_PARLES', 'Langues parl&eacute;s :') ;
define ('CAR_EMAIL', 'E-mail :') ;
define ('CAR_MOT_DE_PASSE', 'Mot de passe :') ;
define ('CAR_REPETE_MOT_DE_PASSE', 'R&eacute;p&eacute;ter le mot de passe :') ;
define ('CAR_RETABLIR', 'R&eacute;tablir') ;
define ('CAR_VALIDER', 'Valider') ;
define ('CAR_MOTS_DE_PASSE_DIFFERENTS', 'Les mots de passe sont diff&eacute;rents !') ;
define ('CAR_EMAIL_REQUIS', 'Vous devez saisir un email.') ;
define ('CAR_MOT_DE_PASSE_REQUIS', 'Vous devez saisir un mot de passe.') ;
define ('CAR_MAIL_INCORRECT', 'L\'email doit avoir une forme correcte, utilisateur@domaine.ext') ;
define ('CAR_NOTE_REQUIS', 'Indique les champs requis') ;
define ('CAR_MODIFIER_INSCRIPTION', 'Modifier votre inscription') ;
define ('CAR_SUPPRIMER_INSCRIPTION', 'Supprimer votre inscription') ;
define ('CAR_MESSAGE_BIENVENU', 'Vous &ecirc;tes inscrit &agrave; Tela Botanica') ;
define ('CAR_DECONNEXION', 'D&eacute;connexion') ;
define ('CAR_INSCRIPTION', 'Inscription') ;
define ('CAR_TEXTE_PERDU', 'Si vous avez perdu votre mot de passe, indiquer '.
'votre adresse email dans le champs login ci-dessus et cliquez sur \'Valider\'') ;
define ('CAR_CHECK_UNCHECK', 'Cocher les cases pour s&eacute;lectionner votre destinataire ou cocher / d&eacute;cocher tout') ;
define ('CAR_ENVOYER_MAIL', 'Envoyer un email') ;
define ('CAR_SUJET', 'Sujet') ;
define ('CAR_MESSAGE', 'Message') ;
define ('CAR_ENVOYER', 'Envoyer') ;
define ('CAR_LABEL_PROJET', 'à Tela Botanica') ;
define ('CAR_CLIQUER', 'Cliquez sur une zone de la carte pour zoomer.') ;
define ('CAR_COULEUR', 'La couleur est proportionnelle au nombre d\'inscrits.') ;
define ('CAR_AVERTISSEMENT_TITRE', 'Avertissement et d&eacute;ni de responsabilit&eacute;') ;
define ('CAR_AVERTISSEMENT', 'La représentation et l\'utilisation des fronti&egrave;res, des noms g&eacute;ographiques et autres '.
' donn&eacute;es employ&eacute;s sur les cartes et utilis&eacute;s dans les listes,'.
' les tableaux, les documents et les bases de donn&eacute;es de ce site ne sont pas garanties sans '.
'erreurs, de m&ecirc;me qu\'elles n\'engagent pas la responsabilit&eacute; des auteurs de ce site ni '.
'n\'impliquent de reconnaissance officielle de leur part.') ;
define ('CAR_MONDE', 'Monde') ;
define ('CAR_CLIQUER_ACCEDER', 'Cliquer sur la carte pour zoomer ou acc&eacute;der aux informations&nbsp;&nbsp;') ;
define ('CAR_LAIUS_INSCRIPTION', 'Pour accéder aux informations sur les membres, il faut être inscrit au réseau Tela Botanica') ;
define ('CAR_S_INSCRIRE', 'S\'inscrire') ;
define ('CAR_MESSAGE_A_TOUS', 'Si votre message concerne une actualit&eacute; botanique (expo, sortie, stage, nouvel ouvrage, emploi,...) vous pouvez le diffuser &agrave; l\'ensemble des membres du r&eacute;seau en r&eacute;digeant un article dans <a href='http://www.tela-botanica.org/actu/article220.html'>les actualités de Tela Botanica</a> ou en le publiant dans <a href='http://www.tela-botanica.org/page:ajouter_modifier_evenement'>le calendrier des évènements</a>.');
define ('CAR_ACTUALITE', 'les actualités de Tela Botanica');
define ('CAR_SURVEILLANCE', '<strong>Avertissement :</strong> la messagerie ci-dessous est destinée à vous permettre d\'échanger des messages entre membres du réseau Tela Botanica, sans dévoiler les adresses email des adhérents. Afin de respecter la tranquillité de chacun, il est strictement interdit d\'utiliser cette messagerie interne pour faire des relances périodiques d\'informations ou des annonces publicitaires et commerciales. Une surveillance du contenu des mails échangés est effectuée par l\'Association Tela Botanica. Merci de votre compréhension.') ;
define ('CAR_TEXTE_IDENTIFICATION_1', 'Identifiez-vous pour accéder aux informations') ;
define ('CAR_TEXTE_IDENTIFICATION_2', 'Informations sur les personnes inscrites dans cette unité géographique') ;
define ('CAR_PAS_D_INSCRIT', 'Pas d\'inscrit dans cette zone') ;
define ('CAR_MESSAGE_APPLI', 'Application CARTOGRAPHIE');
define ('CAR_MESSAGE_ENVOYE_A', 'Ce message a été envoyé à ');
define ('CAR_TITRE_MAIL_MODERATION', 'Un nouveau message aux adhérents est en attente de modération') ;
define ('CAR_EXPEDITEUR_ORIGINAL', 'vous a envoyé un message par l\'intermédiaire du reseau Tela Botanica') ;
define ('CAR_LISTE_DESTINATAIRES','aux destinataires suivants') ;
define ('CAR_CONTENU_MESSAGE','Contenu du message') ;
define ('CAR_TITRE_MAIL','Sujet du message') ;
define ('CAR_MESSAGE_APPLI', 'Application CARTOGRAPHIE');
define ('CAR_MAIL_ATTENTE_MODERATION','Ce message a été envoyé au modérateur, il sera envoyé aux destinataires dès sa validation') ;
define ('CAR_TEXTE_FIN_MAIL', '\n---------------------------------------------------------------------------\n'.
'Ce message vous est envoyé par l\'intermédiaire du site Internet\n'.
'(http://www.tela-botanica.org) de Tela Botanica, Réseau des Botanistes\n'.
'Francophones auquel vous êtes inscrit.\n'.
'D\'autres inscrits peuvent avoir reçu ce message.\n'.
'Ne répondez que si vous êtes concerné, ou si vous avez des informations\n'.
'utiles à transmettre au demandeur.\n'.
'----------------------------------------------------------------------------') ;
define ('CAR_NO_DESTINATAIRE', 'Veuillez cocher au moins un destinataire pour votre mail');
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
/trunk/client/cartographie/liste_inscrit.php
167,7 → 167,7
if (!is_array($select)) {
$res .= "<div>".CAR_NO_DESTINATAIRE."</div>";
} else {
$res .= envoie_mail($GLOBALS['car_db']) ;
$res .= envoie_mail_modere($GLOBALS['car_db']) ;
}
} else {
$res .= carto_texte_cocher() ;
292,7 → 292,7
if (!is_array($select)) {
$res.= CAR_NO_DESTINATAIRE;
} else {
$res .= envoie_mail($GLOBALS['car_db']) ;
$res .= envoie_mail_modere($GLOBALS['car_db']) ;
}
} else {
$res .=carto_texte_cocher() ;
/trunk/client/cartographie/configuration/car_config.inc.php
62,23 → 62,10
define ("PROJET_DPT", "gen_FRENCH_DPT") ; // Nom de la table département
define ("PROJET_PAYS", "gen_COUNTRY") ; // Nom de la table pays
 
/**
//==================================== CONSTANTES ==================================
* Constantes
//==================================================================================
**/
define ("CAR_TEXTE_FIN_MAIL", "\n---------------------------------------------------------------------------\n".
"Ce message vous est envoyé par l'intermédiaire du site Internet\n".
"(http://www.tela-botanica.org) de Tela Botanica, Réseau des Botanistes\n".
"Francophones auquel vous êtes inscrit.\n".
"D'autres inscrits peuvent avoir reçu ce message.\n".
"Ne répondez que si vous êtes concerné, ou si vous avez des informations\n".
"utiles à transmettre au demandeur.\n".
"----------------------------------------------------------------------------") ;
define ("CAR_NO_DESTINATAIRE", "Veuillez cocher au moins un destinataire pour votre mail");
 
 
/** Tableau global contenant les mails des administrateurs. */
// Liste des personne recevant le mail après envoie de courriel par l'annuaire
$GLOBALS['mail_admin'] = array ('carto@tela-botanica.org',
'Élise MOUYSSET <elise@tela-botanica.org>');
'Élise MOUYSSET <elise@tela-botanica.org>');
?>