Subversion Repositories Applications.referentiel

Rev

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

Rev 229 Rev 235
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
	Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <b><a href="mailto:<?=$forum_referentiel?>"><?=$forum_referentiel?></a></b>.<br />
40
	Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <b><a href="mailto:<?=$forum_referentiel?>"><?=$forum_referentiel?></a></b>.<br />
41
	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>
41
	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>
42
</p>
42
</p>
43
<h1>Consultation de la <?=$nom_referentiel?></h1>
43
<h1>Consultation de la <?=$nom_referentiel?></h1>
44
<p><i>
44
<p><i>
45
	Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
45
	Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
46
	en intercalant automatiquement le joker % avant et après le terme recherché.
46
	en intercalant automatiquement le joker % avant et après le terme recherché.
47
</i></p>
47
</i></p>
48
<form id="ref-form" action="<?=$url_form;?>" method="get">
48
<form id="ref-form" action="<?=$url_form;?>" method="get">
49
	<p>
49
	<p>
50
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
50
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
51
		<input name="module" type="hidden" value="<?=$url_module;?>" />
51
		<input name="module" type="hidden" value="<?=$url_module;?>" />
52
		<input name="action" type="hidden" value="<?=$url_action;?>" />
52
		<input name="action" type="hidden" value="<?=$url_action;?>" />
53
		<label id="ref-rech" for="recherche">Rechercher</label>
53
		<label id="ref-rech" for="recherche">Rechercher</label>
54
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
54
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
55
		<input id="ref-rech-ok" type="submit" value="OK" />
55
		<input id="ref-rech-ok" type="submit" value="OK" />
56
		
56
		
57
		<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>
57
		<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>
58
	</p>
58
	</p>
59
</form>
59
</form>
60
<br />
60
<br />
61
<div id="ref-rech-opt">
61
<div id="ref-rech-opt">
62
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
62
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
63
	<div id="ref-rech-opt-txt">
63
	<div id="ref-rech-opt-txt">
64
 
64
 
65
		<p>
65
		<p>
66
			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 
66
			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 
67
			le tableau ci-dessous. <br />
67
			le tableau ci-dessous. <br />
68
		</p>
68
		</p>
69
		
69
		
70
		<table class="largeur-14"> 
70
		<table class="largeur-14"> 
71
			<thead>
71
			<thead>
72
				<tr>
72
				<tr>
73
					<th class="largeur-01">Opérateur</th>
73
					<th class="largeur-01">Opérateur</th>
74
					<th class="largeur-10">Signification</th>
74
					<th class="largeur-10">Signification</th>
75
					<th class="largeur-03">Exemples</th>
75
					<th class="largeur-03">Exemples</th>
76
				</tr>
76
				</tr>
77
			</thead>
77
			</thead>
78
			<tbody>
78
			<tbody>
79
				<tr>
79
				<tr>
80
					<td>sg:</td>
80
					<td>sg:</td>
81
					<td>Nom supra-générique</td>
81
					<td>Nom supra-générique</td>
82
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', $url_referentiel)?>">sg:Adiantaceae</a></td>
82
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', $url_referentiel)?>">sg:Adiantaceae</a></td>
83
				</tr>
83
				</tr>
84
				<tr>
84
				<tr>
85
					<td>gen:</td>
85
					<td>gen:</td>
86
					<td>Genre</td>
86
					<td>Genre</td>
87
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', $url_referentiel)?>">gen:abies</a></td>
87
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', $url_referentiel)?>">gen:abies</a></td>
88
				</tr>
88
				</tr>
89
				<tr>
89
				<tr>
90
					<td>sp:</td>
90
					<td>sp:</td>
91
					<td>Espèce</td>
91
					<td>Espèce</td>
92
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', $url_referentiel)?>">
92
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', $url_referentiel)?>">
93
						sp:maritimum</a></td>
93
						sp:maritimum</a></td>
94
				</tr>
94
				</tr>
95
				<tr>
95
				<tr>
96
					<td>ssp:</td>
96
					<td>ssp:</td>
97
					<td>Epithète infra-spécifique</td>
97
					<td>Epithète infra-spécifique</td>
98
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', $url_referentiel)?>">ssp:cuprina</a></td>
98
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', $url_referentiel)?>">ssp:cuprina</a></td>
99
				</tr>
99
				</tr>
100
				<tr>
100
				<tr>
101
					<td>au:</td>
101
					<td>au:</td>
102
					<td>Auteur</td>
102
					<td>Auteur</td>
103
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', $url_referentiel)?>">au:Tausch</a></td>
103
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', $url_referentiel)?>">au:Tausch</a></td>
104
				</tr>
104
				</tr>
105
				<tr>
105
				<tr>
106
					<td>an:</td>
106
					<td>an:</td>
107
					<td>Année</td>
107
					<td>Année</td>
108
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', $url_referentiel)?>">an:2010</a></td>
108
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', $url_referentiel)?>">an:2010</a></td>
109
				</tr>
109
				</tr>
110
				<tr>
110
				<tr>
111
					<td>nn:</td>
111
					<td>nn:</td>
112
					<td>Identifiant numérique unique du nom scientifique.</td>
112
					<td>Identifiant numérique unique du nom scientifique.</td>
113
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', $url_referentiel)?>">nn:7128,7547</a></td>
113
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', $url_referentiel)?>">nn:7128,7547</a></td>
114
				</tr>
114
				</tr>
115
				<tr>
115
				<tr>
116
					<td>bib:</td>
116
					<td>bib:</td>
117
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
117
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
118
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', $url_referentiel)?>">bib:Linnaea, 21 :</a></td>
118
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', $url_referentiel)?>">bib:Linnaea, 21 :</a></td>
119
				</tr>
119
				</tr>
120
				<tr>
120
				<tr>
121
					<td>nr:[0|1]</td>
121
					<td>nr:[0|1]</td>
122
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie le nom scientifique retenu pour désigner le taxon</td>
122
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie le nom scientifique retenu pour désigner le taxon</td>
123
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', $url_referentiel)?>">nr:1</a></td>
123
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', $url_referentiel)?>">nr:1</a></td>
124
				</tr>
124
				</tr>
125
				<tr>
125
				<tr>
126
					<td>tax:[0|1]</td>
126
					<td>tax:[0|1]</td>
127
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms retenus et synonymes quand au moins 
127
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms retenus et synonymes quand au moins 
128
					un synonyme répond à la recherche (Retourne le nombre de noms retenus correspondants et affiche un nom 
128
					un synonyme répond à la recherche (Retourne le nombre de noms retenus correspondants et affiche un nom 
129
					suivi de ces synonymes)</td>
129
					suivi de ces synonymes)</td>
130
					<td><a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', $url_referentiel)?>">gen:scirpus tax:1</a></td>
130
					<td><a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', $url_referentiel)?>">gen:scirpus tax:1</a></td>
131
				</tr>
131
				</tr>
-
 
132
				<tr>
-
 
133
					<td>pre:[0|1]</td>
-
 
134
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms signalés présent en France</td>
-
 
135
					<td><a href="<?=Recherche::getUrlRecherche('pre:1', $url_referentiel)?>">pre:1</a> ,<br />
-
 
136
						<a href="<?=Recherche::getUrlRecherche('acer pre:1', $url_referentiel)?>">acer pre:1</a>
-
 
137
					</td>
-
 
138
				</tr>
-
 
139
				<tr>
-
 
140
					<td>tax:[0|1]</td>
-
 
141
					<td>Prend pour valeur 0 ou 1.<br />Si 1, renvoie la liste des noms envoyés à taxref. 
-
 
142
					Si 0, renvoie la liste des noms non envoyés à taxref</td>
-
 
143
					<td><a href="<?=Recherche::getUrlRecherche('taxref:1', $url_referentiel)?>">taxref:1</a> ,<br />
-
 
144
						<a href="<?=Recherche::getUrlRecherche('acer taxref:0', $url_referentiel)?>">acer taxref:0</a>
-
 
145
					</td>
-
 
146
				</tr>
132
			</tbody>
147
			</tbody>
133
		</table>
148
		</table>
134
		<p>
149
		<p>
135
			Si vous souhaitez utiliser deux opérateurs à la suite, ou un terme et un opérateur, pour 
150
			Si vous souhaitez utiliser deux opérateurs à la suite, ou un terme et un opérateur, pour 
136
			faire une recherche croisée, séparez-les uniquement par un espace.<br />
151
			faire une recherche croisée, séparez-les uniquement par un espace.<br />
137
			<em>Exemples&nbsp;:</em>
152
			<em>Exemples&nbsp;:</em>
138
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', $url_referentiel)?>">"l. gen:aba"</a>&nbsp;=>172 résultats;&nbsp;
153
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', $url_referentiel)?>">"l. gen:aba"</a>&nbsp; =>172 résultats;&nbsp;
139
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', $url_referentiel)?>">"au:l. gen:aba"</a>&nbsp;=> 25 résultats.
154
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', $url_referentiel)?>">"au:l. gen:aba"</a>&nbsp; => 25 résultats.
140
			<br /><br />
155
			<br /><br />
141
			Des "jokers" permettent d'élargir la recherche.
156
			Des "jokers" permettent d'élargir la recherche.
142
		</p>
157
		</p>
143
		<table class="largeur-14">
158
		<table class="largeur-14">
144
			<thead>
159
			<thead>
145
				<tr>
160
				<tr>
146
					<th class="largeur-01">Joker</th>
161
					<th class="largeur-01">Joker</th>
147
					<th class="largeur-10">Explication</th>
162
					<th class="largeur-10">Explication</th>
148
					<th class="largeur-03">Exemples</th>
163
					<th class="largeur-03">Exemples</th>
149
				</tr>
164
				</tr>
150
			</thead>
165
			</thead>
151
			<tbody>
166
			<tbody>
152
				<tr>
167
				<tr>
153
					<td>%</td>
168
					<td>%</td>
154
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
169
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
155
					<td><a href="<?=Recherche::getUrlRecherche('gen:de%m sp:m%m', $url_referentiel)?>">
170
					<td><a href="<?=Recherche::getUrlRecherche('gen:de%m sp:m%m', $url_referentiel)?>">
156
						gen:de%m sp:m%m</a></td>
171
						gen:de%m sp:m%m</a></td>
157
				</tr>
172
				</tr>
158
				<tr>
173
				<tr>
159
					<td>_</td>
174
					<td>_</td>
160
					<td>Remplace exactement un caractère</td>
175
					<td>Remplace exactement un caractère</td>
161
					<td><a href="<?=Recherche::getUrlRecherche('gen:a_ar', $url_referentiel)?>">gen:a_ar</a></td>
176
					<td><a href="<?=Recherche::getUrlRecherche('gen:a_ar', $url_referentiel)?>">gen:a_ar</a></td>
162
				</tr>
177
				</tr>
163
			</tbody>
178
			</tbody>
164
		</table>
179
		</table>
165
	</div>
180
	</div>
166
</div>
181
</div>
167
<!-- REF - FIN MOTEUR RECHERCHE -->
182
<!-- REF - FIN MOTEUR RECHERCHE -->