Subversion Repositories Applications.referentiel

Rev

Rev 105 | Rev 121 | Go to most recent revision | Details | Compare with Previous | 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>
74 delphine 23
<h1>Consultation du référentiel <?=$url_referentiel?></h1>
69 delphine 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
 
105 jpm 33
		<a id="ref-rech-opt-toggle" href="#ref-rech-opt-txt" title="Précisions sur les options de recherche">Afficher la recherche avancée</a>
69 delphine 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>
74 delphine 42
			<a href="<?=Recherche::getUrlRecherche('acer', 'bdnff')?>">Acer</a>,
43
			<a href="<?=Recherche::getUrlRecherche('2010', 'bdnff')?>">2010</a>.</p>
69 delphine 44
		<p>
45
			Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue
73 delphine 46
			en intercalant automatiquement le joker % avant et après la chaîne recherchée et entre chaque mot
69 delphine 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>
74 delphine 55
			<a href="<?=Recherche::getUrlRecherche('an:2010', 'bdnff')?>">an:2010</a>,
56
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', 'bdnff')?>">l. gen:aba</a>,
57
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', 'bdnff')?>">au:l. gen:aba</a>,
58
			<a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', 'bdnff')?>">gen:scirpus tax:1</a>.
69 delphine 59
		</p>
60
 
61
		<table>
62
			<thead>
63
				<tr>
64
					<th>Mot-clé</th>
73 delphine 65
					<th>Signification</th>
69 delphine 66
					<th>Valeurs possibles</th>
67
					<th>Explication</th>
68
					<th>Exemples</th>
69
				</tr>
70
			</thead>
71
			<tbody>
72
				<tr>
73
					<td>sg:</td>
74
					<td>Nom supra-générique</td>
75
					<td></td>
73 delphine 76
					<td></td>
74 delphine 77
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', 'bdnff')?>">sg:Adiantaceae</a></td>
69 delphine 78
				</tr>
79
				<tr>
80
					<td>gen:</td>
81
					<td>Genre</td>
82
					<td></td>
73 delphine 83
					<td></td>
74 delphine 84
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', 'bdnff')?>">gen:abies</a></td>
69 delphine 85
				</tr>
86
				<tr>
87
					<td>sp:</td>
88
					<td>Espèce</td>
89
					<td></td>
73 delphine 90
					<td></td>
74 delphine 91
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', 'bdnff')?>">
73 delphine 92
						sp:maritimum</a></td>
69 delphine 93
				</tr>
94
				<tr>
95
					<td>ssp:</td>
96
					<td>Epithète infra-spécifique</td>
97
					<td></td>
73 delphine 98
					<td></td>
74 delphine 99
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', 'bdnff')?>">ssp:cuprina</a></td>
69 delphine 100
				</tr>
101
				<tr>
102
					<td>au:</td>
103
					<td>Auteur</td>
104
					<td></td>
73 delphine 105
					<td></td>
74 delphine 106
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', 'bdnff')?>">au:Tausch</a></td>
69 delphine 107
				</tr>
108
				<tr>
109
					<td>an:</td>
110
					<td>Année</td>
111
					<td></td>
73 delphine 112
					<td></td>
74 delphine 113
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', 'bdnff')?>">an:2010</a></td>
69 delphine 114
				</tr>
115
				<tr>
116
					<td>nn:</td>
110 jpm 117
					<td>Identifiant numérique unique du nom scientifique.</td>
118
					<td>Un nombre entier superieur à 0 ou plusieurs nombres entiers séparés par des virgules.</td>
119
					<td>Permet de retrouver un ou plusieurs noms via la valeur de leur champ "num_nom".</td>
120
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', 'bdnff')?>">nn:7128,7547</a></td>
69 delphine 121
				</tr>
122
				<tr>
123
					<td>bib:</td>
124
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
125
					<td></td>
73 delphine 126
					<td></td>
74 delphine 127
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', 'bdnff')?>">bib:Linnaea, 21 :</a></td>
69 delphine 128
				</tr>
129
				<tr>
130
					<td>nr:</td>
131
					<td>Nom scientifique retenu pour désigner le taxon</td>
73 delphine 132
					<td>0 ou 1.</td>
133
					<td>Si 1, affiche uniquement les taxons dont le nom scientifique a été retenu.</td>
74 delphine 134
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', 'bdnff')?>">nr:1</a></td>
69 delphine 135
				</tr>
136
				<tr>
137
					<td>tax:</td>
73 delphine 138
					<td>Noms retenus et synonymes quand au moins un synonyme répond à la recherche</td>
139
					<td>0 ou 1.</td>
140
					<td>Nécessite un autre terme de recherche (simple ou avancé). Retourne le nombre de noms retenus
141
					correspondants et affiche un nom suivi de ces synonymes.</td>
74 delphine 142
					<td><a href="<?=Recherche::getUrlRecherche('scirpus tax:1', 'bdnff')?>">scirpus tax:1</a></td>
69 delphine 143
				</tr>
144
			</tbody>
145
		</table>
146
		<p>Pour les opérateurs dont la valeur est un <em>texte libre</em> ou une <em>liste</em>,
147
			il est possible d'utiliser des jokers.
148
			Ces "jokers" permettent de modifier la recherche.</p>
74 delphine 149
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlRecherche('gen:a_n', 'bdnff')?>">"gen:a_n"</a>
69 delphine 150
		</p>
151
		<table>
152
			<thead>
153
				<tr>
154
					<th>Joker</th>
155
					<th>Applicable sur</th>
156
					<th>Explication</th>
157
					<th>Exemples</th>
158
				</tr>
159
			</thead>
160
			<tbody>
161
				<tr>
162
					<td>%</td>
163
					<td>Texte libre</td>
164
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
74 delphine 165
					<td><a href="<?=Recherche::getUrlRecherche('"herbier %Abbé% Carondelet"', 'bdnff')?>">
69 delphine 166
						"herbier %Abbé% Carondelet"</a></td>
167
				</tr>
168
				<tr>
169
					<td>_</td>
170
					<td>Texte libre</td>
171
					<td>Remplace exactement un caractère</td>
74 delphine 172
					<td><a href="<?=Recherche::getUrlRecherche('p:"Jo_l"', 'bdnff')?>">p:"Jo_l"</a></td>
69 delphine 173
				</tr>
174
			</tbody>
175
		</table>
176
	</div>
177
</div>
178
<!-- REF - FIN MOTEUR RECHERCHE -->