Subversion Repositories eFlore/Archives.chorologie

Rev

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

Rev 13 Rev 23
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.3 2005-02-22 19:36:03 jpm Exp $
24
// CVS : $Id: eflore_chorologie.php,v 1.4 2005-02-23 17:31:04 jpm 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.3 $ $Date: 2005-02-22 19:36:03 $
37
*@version       $Revision: 1.4 $ $Date: 2005-02-23 17:31:04 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 125... Line 125...
125
    
125
    
126
    
126
    
Line 127... Line 127...
127
    // +--------------------------------------------------------------------------------------------------+
127
    // +--------------------------------------------------------------------------------------------------+
128
    // PARAMETRAGE des TABLEAUX de la FONCTION rechercheAlphabet()
128
    // PARAMETRAGE des TABLEAUX de la FONCTION rechercheAlphabet()
Line 129... Line 129...
129
    
129
    
130
    $tablo_formatLigne['Class_pair'] = 'texte_tb2';
130
    $tablo_formatLigne['Class_pair'] = 'echoro_ligne_paire';
131
    $tablo_formatLigne['Class_impair'] = 'eflore_ligne';
131
    $tablo_formatLigne['Class_impair'] = 'echoro_ligne_impaire';
132
    
132
    
133
    //Choix du contenu de la colonne affichant le nom du taxon.
133
    //Choix du contenu de la colonne affichant le nom du taxon.
134
    $tab_valeur_colonne_nom_complet[0] = array(
134
    $tab_valeur_colonne_nom_complet[0] = array(
135
    'type' => 'texte',
135
    'type' => 'texte',
136
    'valeur' => ' <b> ');
136
    'valeur' => ' <b> ');
137
    $tab_valeur_colonne_nom_complet[1] = array(
137
    $tab_valeur_colonne_nom_complet[1] = array(
138
        'type' => 'colonne',
138
        'type' => 'colonne',
139
        'valeur' => ENT_NOM_COMPLET_02);
139
        'valeur' => ENT_NOM_COMPLET_02);
140
    $tab_valeur_colonne_nom_complet[2] = array(
140
    $tab_valeur_colonne_nom_complet[2] = array(
141
    'type' => 'texte',
141
    'type' => 'texte',
142
    'valeur' => ' [ <span class="eflore_num_nomen">');
142
    'valeur' => ' [ <span class="echoro_num_nomen">');
143
    $tab_valeur_colonne_nom_complet[3] = array(
143
    $tab_valeur_colonne_nom_complet[3] = array(
144
    'type' => 'colonne',
144
    'type' => 'colonne',
145
    'valeur' => ENT_NUM_NOMEN);
145
    'valeur' => ENT_NUM_NOMEN);
146
    $tab_valeur_colonne_nom_complet[4] = array(
146
    $tab_valeur_colonne_nom_complet[4] = array(
147
    'type' => 'texte',
147
    'type' => 'texte',
148
    'valeur' => '</span> - <span class="eflore_num_taxo">' );
148
    'valeur' => '</span> - <span class="echoro_num_taxo">' );
149
    $tab_valeur_colonne_nom_complet[5] = array(
149
    $tab_valeur_colonne_nom_complet[5] = array(
Line 159... Line 159...
159
    //Implémentation du tableau contenant les informations pour 
159
    //Implémentation du tableau contenant les informations pour 
160
    //l'affichage des résultats.
160
    //l'affichage des résultats.
161
    $tablo_formatResultat[0] = array(
161
    $tablo_formatResultat[0] = array(
162
        'Col_nom' => $tab_valeur_colonne_nom_complet, 
162
        'Col_nom' => $tab_valeur_colonne_nom_complet, 
163
        'Col_width' => 450,
163
        'Col_width' => 450,
164
        'Col_class' => 'texte_tb2 texte_i',
164
        'Col_class' => 'texte_i',
165
        'Col_lien_href' => $GLOBALS['_ECHORO_']['url_base']->getURL().'nn',
165
        'Col_lien_href' => $GLOBALS['_ECHORO_']['url_base']->getURL().'nn',
166
        'Col_lien_href_param' => ENT_NUM_NOMEN,
166
        'Col_lien_href_param' => ENT_NUM_NOMEN,
167
        'Col_lien_target' => '_blank',
167
        'Col_lien_target' => '_blank',
168
        'Col_lien_class' => 'eflore_lien',
168
        'Col_lien_class' => 'echoro_lien',
169
        'Col_lien_title' => 'Voir la fiche correspondante dans l\'index des plantes');
169
        'Col_lien_title' => 'Voir la fiche correspondante dans l\'index des plantes');
170
    if ($departement == 971 || $departement == 972 ) {
170
    if ($departement == 971 || $departement == 972 ) {
171
        $tablo_formatResultat[0]['Col_lien_href'] = $GLOBALS['_ECHORO_']['url_base']->getURL().'bdnfgm_nn';
171
        $tablo_formatResultat[0]['Col_lien_href'] = $GLOBALS['_ECHORO_']['url_base']->getURL().'bdnfgm_nn';
172
    } elseif ($departement == 974) {
172
    } elseif ($departement == 974) {
173
        $tablo_formatResultat[0]['Col_lien_href'] = $GLOBALS['_ECHORO_']['url_base']->getURL().'bdnfr_nn';
173
        $tablo_formatResultat[0]['Col_lien_href'] = $GLOBALS['_ECHORO_']['url_base']->getURL().'bdnfr_nn';
174
    }
174
    }
175
    $tablo_formatResultat[1]=array(
175
    $tablo_formatResultat[1]=array(
176
    'Col_nom' => ECS_INTITULE, 
176
    'Col_nom' => ECS_INTITULE, 
177
    'Col_width' => 150, 
177
    'Col_width' => 150, 
178
    'Col_class' => 'texte_tb2 texte_c');
178
    'Col_class' => 'texte_c');
Line 179... Line 179...
179
    
179
    
180
    $fragmenteur['nbre_ligne_page_defaut'] = NBRE_LIGNE_PAGE_DEFAUT;
180
    $fragmenteur['nbre_ligne_page_defaut'] = NBRE_LIGNE_PAGE_DEFAUT;
181
    $fragmenteur['numero_ligne_depart'] = NUMERO_LIGNE_DEPART;
181
    $fragmenteur['numero_ligne_depart'] = NUMERO_LIGNE_DEPART;
182
    $fragmenteur['afficher_titre'] = AFFICHER_TITRE;
182
    $fragmenteur['afficher_titre'] = AFFICHER_TITRE;
Line 541... Line 541...
541
 
541
 
542
 
542
 
543
/* +--Fin du code ----------------------------------------------------------------------------------------+
543
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
544
*
-
 
545
* $Log: not supported by cvs2svn $
-
 
546
* Revision 1.3  2005/02/22 19:36:03  jpm
544
*
547
* Suppression de code html superflu.
545
* $Log: not supported by cvs2svn $
548
*
546
* Revision 1.2  2005/02/22 16:39:20  jpm
549
* Revision 1.2  2005/02/22 16:39:20  jpm
547
* Changement divers pour l'adaptation à Papyrus.
550
* Changement divers pour l'adaptation à Papyrus.
548
*
551
*