Subversion Repositories eFlore/Archives.chorologie

Rev

Rev 39 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39 Rev 42
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: eflore_chorologie.php,v 1.13 2006-05-31 16:00:13 jp_milcent Exp $
24
// CVS : $Id: eflore_chorologie.php,v 1.14 2007-07-17 17:12:46 jp_milcent Exp $
25
/**
25
/**
26
* Affichage des listes de noms de plantes par zones géographiques.
26
* Affichage des listes de noms de plantes par zones géographiques.
27
*
27
*
28
* Ce script fournit le code html correspondant aux listes de noms de plantes par zone géographique.
28
* Ce script fournit le code html correspondant aux listes de noms de plantes par zone géographique.
29
*
29
*
Line 32... Line 32...
32
//Auteur original :
32
//Auteur original :
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        Aucun
35
*@author        Aucun
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.13 $ $Date: 2006-05-31 16:00:13 $
37
*@version       $Revision: 1.14 $ $Date: 2007-07-17 17:12:46 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 95... Line 95...
95
{
95
{
96
    // +--------------------------------------------------------------------------------------------------+
96
    // +--------------------------------------------------------------------------------------------------+
97
    // Initialisation
97
    // Initialisation
98
    $sortie = '';
98
    $sortie = '';
Line -... Line 99...
-
 
99
    
99
    
100
    $image_x = null;
100
    global $choro_dep_TABLEAU_CHOIX_LIGNE_PAGE;
101
    if (isset($_POST['image_x'])) $image_x = $_POST['image_x'];
-
 
102
    $image_y = null;
101
    global $image_x;
103
    if (isset($_POST['image_y'])) $image_y = $_POST['image_y'];
-
 
104
    $historique_cartes = null;
102
    global $image_y;
105
    if (isset($_POST['historique_cartes'])) $historique_cartes = $_POST['historique_cartes'];
-
 
106
    $liste_zone_carte = null;
103
    global $historique_cartes;
107
    if (isset($_POST['liste_zone_carte'])) $liste_zone_carte = $_POST['liste_zone_carte'];
-
 
108
    $lettre = null;
-
 
109
    if (isset($_GET['lettre'])) $lettre = $_GET['lettre'];
104
    global $lettre;
110
    $GLOBALS['lettre'] = $lettre;
-
 
111
    $departement = null;
-
 
112
    if (isset($_GET['departement'])) $departement = $_GET['departement'];
105
    global $departement;
113
    $GLOBALS['departement'] = $departement;
-
 
114
    $nombre_taxon = null;
106
    global $nombre_taxon;
115
    if (isset($_GET['nombre_taxon'])) $nombre_taxon = $_GET['nombre_taxon'];
107
    global $liste_zone_carte;
-
 
108
    
-
 
109
    
116
    $GLOBALS['nombre_taxon'] = $nombre_taxon;
110
    // +--------------------------------------------------------------------------------------------------+
117
    // +--------------------------------------------------------------------------------------------------+
Line 111... Line 118...
111
    // PARAMETRAGE des TABLEAUX de la FONCTION rechercheAlphabet()
118
    // PARAMETRAGE des TABLEAUX de la FONCTION rechercheAlphabet()
112
    
119
    
Line 162... Line 169...
162
    
169
    
163
    $fragmenteur['nbre_ligne_page_defaut'] = NBRE_LIGNE_PAGE_DEFAUT;
170
    $fragmenteur['nbre_ligne_page_defaut'] = NBRE_LIGNE_PAGE_DEFAUT;
164
    $fragmenteur['numero_ligne_depart'] = NUMERO_LIGNE_DEPART;
171
    $fragmenteur['numero_ligne_depart'] = NUMERO_LIGNE_DEPART;
165
    $fragmenteur['afficher_titre'] = AFFICHER_TITRE;
172
    $fragmenteur['afficher_titre'] = AFFICHER_TITRE;
166
    $fragmenteur['titre'] = TITRE_FRAGMENTEUR;
173
    $fragmenteur['titre'] = TITRE_FRAGMENTEUR;
167
    $fragmenteur['tableau_choix_ligne_page'] = $choro_dep_TABLEAU_CHOIX_LIGNE_PAGE;
174
    $fragmenteur['tableau_choix_ligne_page'] = $GLOBALS['choro_dep_TABLEAU_CHOIX_LIGNE_PAGE'];
168
    $fragmenteur['modele_info'] = MODELE_INFO;
175
    $fragmenteur['modele_info'] = MODELE_INFO;
169
    $fragmenteur['classe_css_titre'] = CLASSE_CSS_TITRE;
176
    $fragmenteur['classe_css_titre'] = CLASSE_CSS_TITRE;
170
    $fragmenteur['classe_css_fragmenteur'] = CLASSE_CSS_FRAGMENTEUR;
177
    $fragmenteur['classe_css_fragmenteur'] = CLASSE_CSS_FRAGMENTEUR;
Line 428... Line 435...
428
					$format_intro = $workbook->addFormat();
435
					$format_intro = $workbook->addFormat();
429
					$format_intro->setBold(1);
436
					$format_intro->setBold(1);
430
					$format_intro->setSize(12);
437
					$format_intro->setSize(12);
Line 431... Line 438...
431
					
438
					
432
					$worksheet->mergeCells($i++, 0, $i, 8);
439
					$worksheet->mergeCells($i++, 0, $i, 8);
433
					if ($GLOBALS['lettre'] != 'tous') {
440
					if ($lettre != 'tous') {
434
						$titre = 'Export des taxons commençant par la lettre '.$GLOBALS['lettre'].' présents dans le département '.$tableau_infoDep['NUMERO'];
441
						$titre = 'Export des taxons commençant par la lettre '.$lettre.' présents dans le département '.$tableau_infoDep['NUMERO'];
435
					} else {
442
					} else {
436
						$titre = 'Export des taxons présents dans le département '.$tableau_infoDep['NUMERO'];
443
						$titre = 'Export des taxons présents dans le département '.$tableau_infoDep['NUMERO'];
437
					}
444
					}
Line 628... Line 635...
628
 
635
 
629
 
636
 
630
/* +--Fin du code ----------------------------------------------------------------------------------------+
637
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
638
*
-
 
639
* $Log: not supported by cvs2svn $
-
 
640
* Revision 1.13  2006-05-31 16:00:13  jp_milcent
631
*
641
* Gestion de l'url pour le lien vers la licence du fichier d'export.
632
* $Log: not supported by cvs2svn $
642
*
633
* Revision 1.12  2006/05/31 15:14:51  jp_milcent
643
* Revision 1.12  2006/05/31 15:14:51  jp_milcent
634
* Amélioration de la gestion de l'export xls (suite).
644
* Amélioration de la gestion de l'export xls (suite).
635
*
645
*