Subversion Repositories Applications.referentiel

Rev

Rev 73 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
69 delphine 1
<!-- REF - DEBUT MOTEUR RECHERCHE -->
2
<script type="text/javascript">
3
	// Function pour cacher / afficher les options de recherche
4
	$(document).ready(function() {
5
		$("#ref-rech-opt").hide();
6
		$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
7
		$("#ref-rech-opt-toggle").toggle(
8
			function() {
9
				$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
10
				$("#ref-rech-opt").slideDown("fast");
11
			},
12
			function() {
13
				$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
14
				$("#ref-rech-opt").slideUp("fast");
15
			}
16
		);
17
		// Sélection du texte de la zone de recherche sur le focus
18
		$("#recherche").focus(function(){
19
			this.select();
20
		});
21
	});
22
</script>
23
<h2>Consultation du référentiel</h2>
24
<form id="ref-form" name="ref-form" action="<?=$url_form;?>" method="get">
25
	<p>
26
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
27
		<input name="module" type="hidden" value="<?=$url_module;?>" />
28
		<input name="action" type="hidden" value="<?=$url_action;?>" />
29
		<label id="ref-rech" for="recherche">Rechercher</label>
30
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
31
		<input id="ref-rech-ok" type="submit" value="OK" />
32
 
33
		<a id="ref-rech-opt-toggle" href="#ref-rech-opt-txt" title="Précisions sur les options de recherche">Allez à la recherche avancée</a>
34
	</p>
35
</form>
36
 
37
<div id="ref-rech-opt">
38
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
39
	<div id="ref-rech-opt-txt">
40
		<p>Le moteur de recherche permet de faire une recherche libre sur un mot, une expression ou un acronyme.<br />
41
			<em>Exemples&nbsp;:</em>
42
			<a href="<?=Recherche::getUrlExemple('mpu')?>">mpu</a>,
43
			<a href="<?=Recherche::getUrlExemple('Coste')?>">Coste</a>.</p>
44
		<p>
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 la chaine recherchée et entre chaque mot
47
			de celle-ci.
48
		</p>
49
		<p>
50
			Le moteur de recherche permet aussi d'utiliser des opérateurs dans le texte recherché pour préciser
51
			la requête. Vous les trouverez dans le tableau ci-dessous. Si vous souhaitez utiliser deux opérateurs
52
			à la suite, ou un opérateur et un mot clé de votre choix pour faire une recherche croisée, séparez-les
53
			uniquement par un espace.<br />
54
			<em>Exemples&nbsp;:</em>
55
			<a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a>,
56
			<a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a>,
57
			<a href="<?=Recherche::getUrlExemple('Coste bot:he')?>">Coste bot:he</a>,
58
			<a href="<?=Recherche::getUrlExemple('herbier zg:France')?>">herbier zg:France</a>,
59
			<a href="<?=Recherche::getUrlExemple('p:coste pr:co')?>">p:coste pr:co</a>,
60
			<a href="<?=Recherche::getUrlExemple('Erefe sci:1')?>">Erefe sci:1</a>.
61
		</p>
62
 
63
		<table>
64
			<thead>
65
				<tr>
66
					<th>Mot-clé</th>
67
					<th>Valeurs possibles</th>
68
					<th>Explication</th>
69
					<th>Exemples</th>
70
				</tr>
71
			</thead>
72
			<tbody>
73
				<tr>
74
					<td>sg:</td>
75
					<td>Nom supra-générique</td>
76
					<td></td>
77
					<td><a href="<?=Recherche::getUrlExemple('sg:Carex')?>">sg:Carex</a></td>
78
				</tr>
79
				<tr>
80
					<td>gen:</td>
81
					<td>Genre</td>
82
					<td></td>
83
					<td><a href="<?=Recherche::getUrlExemple('gen:abietinella')?>">gen:abietinella</a></td>
84
				</tr>
85
				<tr>
86
					<td>sp:</td>
87
					<td>Espèce</td>
88
					<td></td>
89
					<td><a href="<?=Recherche::getUrlExemple('sp:"abietinella abietina"')?>">
90
						sp:"abietinella abietina"</a></td>
91
				</tr>
92
				<tr>
93
					<td>ssp:</td>
94
					<td>Epithète infra-spécifique</td>
95
					<td></td>
96
					<td><a href="<?=Recherche::getUrlExemple('ssp:cuprina')?>">ssp:cuprina</a></td>
97
				</tr>
98
				<tr>
99
					<td>au:</td>
100
					<td>Auteur</td>
101
					<td></td>
102
					<td><a href="<?=Recherche::getUrlExemple('au:Tausch')?>">au:Tausch</a></td>
103
				</tr>
104
				<tr>
105
					<td>an:</td>
106
					<td>Année</td>
107
					<td></td>
108
					<td><a href="<?=Recherche::getUrlExemple('an:2010')?>">an:2010</a></td>
109
				</tr>
110
				<tr>
111
					<td>nn:</td>
112
					<td>Identifiant numérique unique du nom scientifique</td>
113
					<td></td>
114
					<td><a href="<?=Recherche::getUrlExemple('nn:1307')?>">nn:1307</a></td>
115
				</tr>
116
				<tr>
117
					<td>bib:</td>
118
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
119
					<td></td>
120
					<td><a href="<?=Recherche::getUrlExemple('bib:2010')?>">bib:2010</a></td>
121
				</tr>
122
				<tr>
123
					<td>nr:</td>
124
					<td>Nom scientifique retenu pour désigner le taxon</td>
125
					<td>Prend les valeurs 0 ou 1. Si 1, affiche uniquement les taxons dont le nom
126
					scientifique a été retenu</td>
127
					<td><a href="<?=Recherche::getUrlExemple('an:2010')?>">nr:0</a></td>
128
				</tr>
129
				<tr>
130
					<td>tax:</td>
131
					<td></td>
132
					<td>Prend les valeurs 0 ou 1. Si 1, affiche tous les noms retenus et leurs synonymes quand au moins
133
					un synonyme répond à la recherche</td>
134
					<td><a href="<?=Recherche::getUrlExemple('pr:AU')?>">pr:AU</a></td>
135
				</tr>
136
			</tbody>
137
		</table>
138
		<p>Pour les opérateurs dont la valeur est un <em>texte libre</em> ou une <em>liste</em>,
139
			il est possible d'utiliser des jokers.
140
			Ces "jokers" permettent de modifier la recherche.</p>
141
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlExemple('"herbier de Coste"')?>">"herbier de Coste"</a>,
142
			<a href="<?=Recherche::getUrlExemple('"herbier % Montpellier"')?>">"herbier % Montpellier"</a>,
143
			<a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a>.
144
			<a href="<?=Recherche::getUrlExemple('veg:br,cr')?>">veg:br,cr</a>.
145
		</p>
146
		<table>
147
			<thead>
148
				<tr>
149
					<th>Joker</th>
150
					<th>Applicable sur</th>
151
					<th>Explication</th>
152
					<th>Exemples</th>
153
				</tr>
154
			</thead>
155
			<tbody>
156
				<tr>
157
					<td>""</td>
158
					<td>Texte libre</td>
159
					<td>Permet de rechercher sur une expression exacte.</td>
160
					<td><a href="<?=Recherche::getUrlExemple('"Archives de l\'herbier Granger"')?>">
161
						"Archives de l'herbier Granger"</a></td>
162
				</tr>
163
				<tr>
164
					<td>%</td>
165
					<td>Texte libre</td>
166
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
167
					<td><a href="<?=Recherche::getUrlExemple('"herbier %Abbé% Carondelet"')?>">
168
						"herbier %Abbé% Carondelet"</a></td>
169
				</tr>
170
				<tr>
171
					<td>_</td>
172
					<td>Texte libre</td>
173
					<td>Remplace exactement un caractère</td>
174
					<td><a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a></td>
175
				</tr>
176
				<tr>
177
					<td>,</td>
178
					<td>Liste</td>
179
					<td>Permet d'indiquer plusieurs valeurs</td>
180
					<td><a href="<?=Recherche::getUrlExemple('veg:br,ph')?>">veg:br,ph</a></td>
181
				</tr>
182
			</tbody>
183
		</table>
184
	</div>
185
</div>
186
<!-- REF - FIN MOTEUR RECHERCHE -->