Subversion Repositories Applications.referentiel

Rev

Rev 248 | Rev 277 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 248 Rev 274
1
<!-- REF - DEBUT MOTEUR RECHERCHE -->
1
<!-- REF - DEBUT MOTEUR RECHERCHE -->
2
<script type="text/javascript">                                         
2
<script type="text/javascript">                                         
3
	// Function pour cacher / afficher les options de recherche
3
	// Function pour cacher / afficher les options de recherche
4
	$(document).ready(function() {
4
	$(document).ready(function() {
5
		// affichage lors du chargement de la page
5
		// affichage lors du chargement de la page
6
		$.cookie('AfficherCacherRech', <?=$affiche_moteur?>) ; 
6
		$.cookie('AfficherCacherRech', <?=$affiche_moteur?>) ; 
7
		if ($.cookie('AfficherCacherRech') == null) {
7
		if ($.cookie('AfficherCacherRech') == null) {
8
			$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
8
			$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
9
			$('#ref-rech-opt').show();
9
			$('#ref-rech-opt').show();
10
			$.cookie('AfficherCacherRech', 20);
10
			$.cookie('AfficherCacherRech', 20);
11
		} else if ($.cookie('AfficherCacherRech') == 10) {
11
		} else if ($.cookie('AfficherCacherRech') == 10) {
12
			$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
12
			$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
13
			$('#ref-rech-opt').hide();
13
			$('#ref-rech-opt').hide();
14
			$.cookie('AfficherCacherRech', 10);
14
			$.cookie('AfficherCacherRech', 10);
15
		} else {
15
		} else {
16
			$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
16
			$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
17
			$('#ref-rech-opt').show();
17
			$('#ref-rech-opt').show();
18
			$.cookie('AfficherCacherRech', 20);
18
			$.cookie('AfficherCacherRech', 20);
19
		}	
19
		}	
20
		// changement d'affichage après un clic
20
		// changement d'affichage après un clic
21
		$("#ref-rech-opt-toggle").click(function() {
21
		$("#ref-rech-opt-toggle").click(function() {
22
			if ($.cookie('AfficherCacherRech') == 20) {
22
			if ($.cookie('AfficherCacherRech') == 20) {
23
				$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
23
				$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
24
				$('#ref-rech-opt').hide();
24
				$('#ref-rech-opt').hide();
25
				$.cookie('AfficherCacherRech', 10);
25
				$.cookie('AfficherCacherRech', 10);
26
			} else {
26
			} else {
27
				$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
27
				$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
28
				$('#ref-rech-opt').show();
28
				$('#ref-rech-opt').show();
29
				$.cookie('AfficherCacherRech', 20);
29
				$.cookie('AfficherCacherRech', 20);
30
			}
30
			}
31
		});
31
		});
32
		// Sélection du texte de la zone de recherche sur le focus
32
		// Sélection du texte de la zone de recherche sur le focus
33
		$("#recherche").focus(function(){
33
		$("#recherche").focus(function(){
34
			this.select();
34
			this.select();
35
		});
35
		});
36
	});
36
	});
37
</script>
37
</script>
38
<p> 
38
<p> 
39
	Bienvenue dans l'espace de consultation de la <?=$nom_referentiel?> en cours d'actualisation.<br />
39
	Bienvenue dans l'espace de consultation de la <?=$nom_referentiel?> en cours d'actualisation.<br />
40
	<?= ($forum_referentiel != false) ? 
40
	<?= ($forum_referentiel != false) ? 
41
		'Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <b><a href="mailto:'.
41
		'Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <b><a href="mailto:'.
42
		$forum_referentiel.'">'.$forum_referentiel.'</a></b>.<br />'
42
		$forum_referentiel.'">'.$forum_referentiel.'</a></b>.<br />'
43
		 : ''; ?>
43
		 : ''; ?>
44
	<?= ($site_referentiel != false) ? 
44
	<?= ($site_referentiel != false) ? 
45
		'Vous pouvez accéder au site de l\'auteur : <b><a href="'.
45
		'Vous pouvez accéder au site de l\'auteur : <b><a href="'.
46
		$site_referentiel.'">'.$site_referentiel.'</a></b>.<br />'
46
		$site_referentiel.'">'.$site_referentiel.'</a></b>.<br />'
47
		 : ''; ?>
47
		 : ''; ?>
48
	Pour les remarques concernant les fonctionnalités de l'interface de consultation, veuillez utiliser l'adresse : <b><a href="mailto:referentiels@tela-botanica.org">referentiels@tela-botanica.org</a></b>
48
	Pour les remarques concernant les fonctionnalités de l'interface de consultation, veuillez utiliser l'adresse : <b><a href="mailto:referentiels@tela-botanica.org">referentiels@tela-botanica.org</a></b>
49
</p>
49
</p>
50
<h1>Consultation de la <?=$nom_referentiel?></h1>
50
<h1>Consultation de la <?=$nom_referentiel?></h1>
51
<p><i>
51
<p><i>
52
	Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
52
	Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
53
	en intercalant automatiquement le joker % avant et après le terme recherché.
53
	en intercalant automatiquement le joker % avant et après le terme recherché.
54
</i></p>
54
</i></p>
55
<form id="ref-form" action="<?=$url_form;?>" method="get">
55
<form id="ref-form" action="<?=$url_form;?>" method="get">
56
	<p>
56
	<p>
57
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
57
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
58
		<input name="module" type="hidden" value="<?=$url_module;?>" />
58
		<input name="module" type="hidden" value="<?=$url_module;?>" />
59
		<input name="action" type="hidden" value="<?=$url_action;?>" />
59
		<input name="action" type="hidden" value="<?=$url_action;?>" />
60
		<label id="ref-rech" for="recherche">Rechercher</label>
60
		<label id="ref-rech" for="recherche">Rechercher</label>
61
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
61
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
62
		<input id="ref-rech-ok" type="submit" value="OK" />
62
		<input id="ref-rech-ok" type="submit" value="OK" />
63
		
63
		
64
		<a id="ref-rech-opt-toggle" href="#ref-rech-opt-txt" title="Précisions sur les options de recherche">Cacher la recherche avancée</a>
64
		<a id="ref-rech-opt-toggle" href="#ref-rech-opt-txt" title="Précisions sur les options de recherche">Cacher la recherche avancée</a>
65
	</p>
65
	</p>
66
</form>
66
</form>
67
<br />
67
<br />
68
<div id="ref-rech-opt">
68
<div id="ref-rech-opt">
69
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
69
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
70
	<div id="ref-rech-opt-txt">
70
	<div id="ref-rech-opt-txt">
71
 
71
 
72
		<p>
72
		<p>
73
			La recherche avancée permet de préciser la requête en associant des opérateurs au(x) terme(s) recherché(s). Les opérateurs sont listés dans 
73
			La recherche avancée permet de préciser la requête en associant des opérateurs au(x) terme(s) recherché(s). Les opérateurs sont listés dans 
74
			le tableau ci-dessous. <br />
74
			le tableau ci-dessous. <br />
75
		</p>
75
		</p>
76
		
76
		
77
		<table class="largeur-14"> 
77
		<table class="largeur-14"> 
78
			<thead>
78
			<thead>
79
				<tr>
79
				<tr>
80
					<th class="largeur-01">Opérateur</th>
80
					<th class="largeur-01">Opérateur</th>
81
					<th class="largeur-10">Signification</th>
81
					<th class="largeur-10">Signification</th>
82
					<th class="largeur-03">Exemples</th>
82
					<th class="largeur-03">Exemples</th>
83
				</tr>
83
				</tr>
84
			</thead>
84
			</thead>
85
			<tbody>
85
			<tbody>
86
				<tr>
86
				<tr>
87
					<td>sg:</td>
-
 
88
					<td>Nom supra-générique</td>
-
 
89
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', $url_referentiel)?>">sg:Adiantaceae</a></td>
-
 
90
				</tr>
-
 
91
				<tr>
-
 
92
					<td>gen:</td>
87
					<td>gen:</td>
93
					<td>Genre</td>
88
					<td>Genre</td>
94
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', $url_referentiel)?>">gen:abies</a></td>
89
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', $url_referentiel)?>">gen:abies</a></td>
95
				</tr>
90
				</tr>
96
				<tr>
91
				<tr>
97
					<td>sp:</td>
92
					<td>sp:</td>
98
					<td>Espèce</td>
93
					<td>Espèce</td>
99
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', $url_referentiel)?>">
94
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', $url_referentiel)?>">
100
						sp:maritimum</a></td>
95
						sp:maritimum</a></td>
101
				</tr>
96
				</tr>
102
				<tr>
97
				<tr>
-
 
98
					<td>sg:</td>
-
 
99
					<td>Famille, ordre, classe ("nom supra-générique")</td>
-
 
100
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', $url_referentiel)?>">sg:Adiantaceae</a></td>
-
 
101
				</tr>
-
 
102
				<tr>
103
					<td>ssp:</td>
103
					<td>ssp:</td>
104
					<td>Epithète infra-spécifique</td>
104
					<td>Sous-espèce, variété, forme ("nom infra-spécifique")</td>
105
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', $url_referentiel)?>">ssp:cuprina</a></td>
105
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', $url_referentiel)?>">ssp:cuprina</a></td>
106
				</tr>
106
				</tr>
107
				<tr>
107
				<tr>
108
					<td>au:</td>
108
					<td>au:</td>
109
					<td>Auteur</td>
109
					<td>Auteur</td>
110
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', $url_referentiel)?>">au:Tausch</a></td>
110
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', $url_referentiel)?>">au:Tausch</a></td>
111
				</tr>
111
				</tr>
112
				<tr>
112
				<tr>
113
					<td>an:</td>
113
					<td>an:</td>
114
					<td>Année</td>
114
					<td>Année</td>
115
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', $url_referentiel)?>">an:2010</a></td>
115
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', $url_referentiel)?>">an:2010</a></td>
116
				</tr>
116
				</tr>
117
				<tr>
117
				<tr>
118
					<td>nn:</td>
118
					<td>nn:</td>
119
					<td>Identifiant numérique unique du nom scientifique.</td>
119
					<td>Numéro unique du nom scientifique</td>
120
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', $url_referentiel)?>">nn:7128,7547</a></td>
120
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', $url_referentiel)?>">nn:7128,7547</a></td>
121
				</tr>
121
				</tr>
122
				<tr>
122
				<tr>
123
					<td>bib:</td>
123
					<td>bib:</td>
124
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
124
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
125
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', $url_referentiel)?>">bib:Linnaea, 21 :</a></td>
125
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', $url_referentiel)?>">bib:Linnaea, 21 :</a></td>
126
				</tr>
126
				</tr>
127
				<tr>
127
				<tr>
128
					<td>nr:[0|1]</td>
128
					<td>nr:[1]</td>
129
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie le nom scientifique retenu pour désigner le taxon</td>
129
					<td>Affichage des noms retenus ([0] affiche les synonymes)</td>
130
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', $url_referentiel)?>">nr:1</a></td>
130
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', $url_referentiel)?>">nr:1</a></td>
131
				</tr>
131
				</tr>
132
				<tr>
132
				<tr>
133
					<td>tax:[0|1]</td>
133
					<td>tax:[1]</td>
134
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms retenus et synonymes quand au moins 
-
 
135
					un synonyme répond à la recherche (Retourne le nombre de noms retenus correspondants et affiche un nom 
134
					<td>Affichage des synonymes sous les noms retenus correspondants</td>
136
					suivi de ces synonymes)</td>
-
 
137
					<td><a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', $url_referentiel)?>">gen:scirpus tax:1</a></td>
135
					<td><a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', $url_referentiel)?>">gen:scirpus tax:1</a></td>
138
				</tr>
136
				</tr>
139
				<tr>
137
				<tr>
140
					<td>pre:[0|1]</td>
138
					<td>pre:[1]</td>
-
 
139
					<td>Affichage des taxons français (présent, supposé, douteux...),
141
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms signalés présent en France</td>
140
						inversement [0] ressort absents et non précisés</td>
142
					<td><a href="<?=Recherche::getUrlRecherche('pre:1', $url_referentiel)?>">pre:1</a> ,<br />
141
					<td><a href="<?=Recherche::getUrlRecherche('pre:1', $url_referentiel)?>">pre:1</a> ,<br />
143
						<a href="<?=Recherche::getUrlRecherche('acer pre:1', $url_referentiel)?>">acer pre:1</a>
142
						<a href="<?=Recherche::getUrlRecherche('acer pre:1', $url_referentiel)?>">acer pre:1</a>
144
					</td>
143
					</td>
145
				</tr>
144
				</tr>
146
				<tr>
145
				<tr>
147
					<td>taxref:[0|1]</td>
146
					<td>taxref:[1]</td>
148
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms envoyés à taxref. 
147
					<td>Affichage des taxons qui seront envoyés au MNHN dans le cadre du programme TaxRef, 
149
					Si 0, renvoie la liste des noms non envoyés à taxref</td>
148
						inversement [0] ressort les taxons mis en attente car non publiés ou non présents en France</td>
150
					<td><a href="<?=Recherche::getUrlRecherche('taxref:1', $url_referentiel)?>">taxref:1</a> ,<br />
149
					<td><a href="<?=Recherche::getUrlRecherche('taxref:1', $url_referentiel)?>">taxref:1</a> ,<br />
151
						<a href="<?=Recherche::getUrlRecherche('acer taxref:0', $url_referentiel)?>">acer taxref:0</a>
150
						<a href="<?=Recherche::getUrlRecherche('acer taxref:0', $url_referentiel)?>">acer taxref:0</a>
152
					</td>
151
					</td>
153
				</tr>
152
				</tr>
154
			</tbody>
153
			</tbody>
155
		</table>
154
		</table>
156
		<p>
155
		<p>
157
			Si vous souhaitez utiliser deux opérateurs à la suite, ou un terme et un opérateur, pour 
156
			Si vous souhaitez utiliser deux opérateurs à la suite, ou un terme et un opérateur, pour 
158
			faire une recherche croisée, séparez-les uniquement par un espace.<br />
157
			faire une recherche croisée, séparez-les uniquement par un espace.<br />
159
			<em>Exemples&nbsp;:</em>
158
			<em>Exemples&nbsp;:</em>
160
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', $url_referentiel)?>">"l. gen:aba"</a>&nbsp; =>172 résultats;&nbsp;
159
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', $url_referentiel)?>">"l. gen:aba"</a>&nbsp; =>172 résultats;&nbsp;
161
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', $url_referentiel)?>">"au:l. gen:aba"</a>&nbsp; => 25 résultats.
160
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', $url_referentiel)?>">"au:l. gen:aba"</a>&nbsp; => 25 résultats.
162
			<br /><br />
161
			<br /><br />
163
			Des "jokers" permettent d'élargir la recherche.
162
			Des "jokers" permettent d'élargir la recherche.
164
		</p>
163
		</p>
165
		<table class="largeur-14">
164
		<table class="largeur-14">
166
			<thead>
165
			<thead>
167
				<tr>
166
				<tr>
168
					<th class="largeur-01">Joker</th>
167
					<th class="largeur-01">Joker</th>
169
					<th class="largeur-10">Explication</th>
168
					<th class="largeur-10">Explication</th>
170
					<th class="largeur-03">Exemples</th>
169
					<th class="largeur-03">Exemples</th>
171
				</tr>
170
				</tr>
172
			</thead>
171
			</thead>
173
			<tbody>
172
			<tbody>
174
				<tr>
173
				<tr>
175
					<td>%</td>
174
					<td>%</td>
176
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
175
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
177
					<td><a href="<?=Recherche::getUrlRecherche('gen:de%m sp:m%m', $url_referentiel)?>">
176
					<td><a href="<?=Recherche::getUrlRecherche('gen:de%m sp:m%m', $url_referentiel)?>">
178
						gen:de%m sp:m%m</a></td>
177
						gen:de%m sp:m%m</a></td>
179
				</tr>
178
				</tr>
180
				<tr>
179
				<tr>
181
					<td>_</td>
180
					<td>_</td>
182
					<td>Remplace exactement un caractère</td>
181
					<td>Remplace exactement un caractère</td>
183
					<td><a href="<?=Recherche::getUrlRecherche('gen:a_ar', $url_referentiel)?>">gen:a_ar</a></td>
182
					<td><a href="<?=Recherche::getUrlRecherche('gen:a_ar', $url_referentiel)?>">gen:a_ar</a></td>
184
				</tr>
183
				</tr>
185
			</tbody>
184
			</tbody>
186
		</table>
185
		</table>
187
	</div>
186
	</div>
188
</div>
187
</div>
189
<!-- REF - FIN MOTEUR RECHERCHE -->
188
<!-- REF - FIN MOTEUR RECHERCHE -->