Subversion Repositories Applications.referentiel

Rev

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

Rev 123 Rev 125
Line 1... Line 1...
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
		$("#ref-rech-opt").hide();
-
 
6
		$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
5
		$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
7
		$("#ref-rech-opt-toggle").toggle(
6
		$("#ref-rech-opt-toggle").toggle(
8
			function() {
7
			function() {
-
 
8
					$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
-
 
9
					$("#ref-rech-opt").slideUp("fast");
-
 
10
			},	
-
 
11
			function() {
9
				$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
12
				$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
10
				$("#ref-rech-opt").slideDown("fast");
13
				$("#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
			}
14
			}			
16
		);
15
		);
17
		// Sélection du texte de la zone de recherche sur le focus
16
		// Sélection du texte de la zone de recherche sur le focus
18
		$("#recherche").focus(function(){
17
		$("#recherche").focus(function(){
19
			this.select();
18
			this.select();
20
		});
19
		});
21
	});
20
	});
22
</script>
21
</script>
23
<p>
22
<p><br /><br />
24
	Bienvenue dans l'espace de consultation de la version de travail de la <?=$code_referentiel?><br />
23
	Bienvenue dans l'espace de consultation du référentiel <?=$code_referentiel?> en cours d'actualisation.<br /><br />
25
	Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <a href="mailto:<?=$forum_referentiel?>"><?=$forum_referentiel?></a><br />
24
	Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <a href="mailto:<?=$forum_referentiel?>"><?=$forum_referentiel?></a>.<br /><br />
26
	Pour les remarques concernant les fonctionnalités de l'interface de consultation, veuillez utiliser l'adresse : <a href="mailto:referentiels@tela-botanica.org">referentiels@tela-botanica.org</a>
25
	Pour les remarques concernant les fonctionnalités de l'interface de consultation, veuillez utiliser l'adresse : <a href="mailto:referentiels@tela-botanica.org">referentiels@tela-botanica.org</a>
27
</p>
26
</p><br />
28
<h1>Consultation du référentiel <?=$url_referentiel?></h1>
27
<h1>Consultation du référentiel <?=$url_referentiel?></h1>
-
 
28
<br />
-
 
29
<p>
-
 
30
	Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
-
 
31
	en intercalant automatiquement le joker % avant et après le terme recherché.
-
 
32
</p>
29
<form id="ref-form" name="ref-form" action="<?=$url_form;?>" method="get">
33
<form id="ref-form" name="ref-form" action="<?=$url_form;?>" method="get">
30
	<p>
34
	<p>
31
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
35
		<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
32
		<input name="module" type="hidden" value="<?=$url_module;?>" />
36
		<input name="module" type="hidden" value="<?=$url_module;?>" />
33
		<input name="action" type="hidden" value="<?=$url_action;?>" />
37
		<input name="action" type="hidden" value="<?=$url_action;?>" />
34
		<label id="ref-rech" for="recherche">Rechercher</label>
38
		<label id="ref-rech" for="recherche">Rechercher</label>
35
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
39
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
36
		<input id="ref-rech-ok" type="submit" value="OK" />
40
		<input id="ref-rech-ok" type="submit" value="OK" />
Line 37... Line 41...
37
		
41
		
38
		<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>
42
		<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>
39
	</p>
43
	</p>
Line 40... Line 44...
40
</form>
44
</form>
41
 
45
 
42
<div id="ref-rech-opt">
46
<div id="ref-rech-opt">
43
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
-
 
44
	<div id="ref-rech-opt-txt">
-
 
45
		<p>Le moteur de recherche permet de faire une recherche libre sur un mot, une expression ou un acronyme.<br />
-
 
46
			<em>Exemples&nbsp;:</em>
-
 
47
			<a href="<?=Recherche::getUrlRecherche('acer', 'bdnff')?>">Acer</a>, 
47
	<h2 id="ref-rech-opt-titre">Options de recherche</h2>
48
			<a href="<?=Recherche::getUrlRecherche('2010', 'bdnff')?>">2010</a>.</p>
-
 
49
		<p>
-
 
50
			Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
-
 
51
			en intercalant automatiquement le joker % avant et après la chaîne recherchée et entre chaque mot 
-
 
52
			de celle-ci.
48
	<div id="ref-rech-opt-txt">
53
		</p>
49
 
54
		<p>
-
 
55
			Le moteur de recherche permet aussi d'utiliser des opérateurs dans le texte recherché pour préciser 
-
 
56
			la requête. Vous les trouverez dans le tableau ci-dessous. Si vous souhaitez utiliser deux opérateurs 
50
		<p>
57
			à la suite, ou un opérateur et un mot clé de votre choix pour faire une recherche croisée, séparez-les 
-
 
58
			uniquement par un espace.<br />
-
 
59
			<em>Exemples&nbsp;:</em>
-
 
60
			<a href="<?=Recherche::getUrlRecherche('an:2010', 'bdnff')?>">an:2010</a>,
-
 
61
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', 'bdnff')?>">l. gen:aba</a>,
-
 
62
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', 'bdnff')?>">au:l. gen:aba</a>,
51
			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 
Line 63... Line 52...
63
			<a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', 'bdnff')?>">gen:scirpus tax:1</a>.
52
			le tableau ci-dessous. <br />
64
		</p>
53
		</p>
65
		
54
		
66
		<table> 
55
		<table class="largeur-14"> 
67
			<thead>
56
			<thead>
68
				<tr>
57
				<tr>
69
					<th>Mot-clé</th>
-
 
70
					<th>Signification</th>
-
 
71
					<th>Valeurs possibles</th>
58
					<th class="largeur-01">Opérateur</th>
72
					<th>Explication</th>
59
					<th class="largeur-10">Signification</th>
73
					<th>Exemples</th>
60
					<th class="largeur-03">Exemples</th>
74
				</tr>
61
				</tr>
75
			</thead>
62
			</thead>
76
			<tbody>
63
			<tbody>
77
				<tr>
-
 
78
					<td>sg:</td>
-
 
79
					<td>Nom supra-générique</td>
64
				<tr>
80
					<td></td>
65
					<td>sg:</td>
81
					<td></td>
66
					<td>Nom supra-générique</td>
82
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', 'bdnff')?>">sg:Adiantaceae</a></td>
67
					<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', 'bdnff')?>">sg:Adiantaceae</a></td>
83
				</tr>
68
				</tr>
84
				<tr>
-
 
85
					<td>gen:</td>
-
 
86
					<td>Genre</td>
69
				<tr>
87
					<td></td>
70
					<td>gen:</td>
88
					<td></td>
71
					<td>Genre</td>
89
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', 'bdnff')?>">gen:abies</a></td>
72
					<td><a href="<?=Recherche::getUrlRecherche('gen:abies', 'bdnff')?>">gen:abies</a></td>
90
				</tr>
73
				</tr>
91
				<tr>
-
 
92
					<td>sp:</td>
-
 
93
					<td>Espèce</td>
74
				<tr>
94
					<td></td>
75
					<td>sp:</td>
95
					<td></td>
76
					<td>Espèce</td>
96
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', 'bdnff')?>">
77
					<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', 'bdnff')?>">
97
						sp:maritimum</a></td>
78
						sp:maritimum</a></td>
98
				</tr>
79
				</tr>
99
				<tr>
-
 
100
					<td>ssp:</td>
-
 
101
					<td>Epithète infra-spécifique</td>
80
				<tr>
102
					<td></td>
81
					<td>ssp:</td>
103
					<td></td>
82
					<td>Epithète infra-spécifique</td>
104
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', 'bdnff')?>">ssp:cuprina</a></td>
83
					<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', 'bdnff')?>">ssp:cuprina</a></td>
105
				</tr>
84
				</tr>
106
				<tr>
-
 
107
					<td>au:</td>
-
 
108
					<td>Auteur</td>
85
				<tr>
109
					<td></td>
86
					<td>au:</td>
110
					<td></td>
87
					<td>Auteur</td>
111
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', 'bdnff')?>">au:Tausch</a></td>
88
					<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', 'bdnff')?>">au:Tausch</a></td>
112
				</tr>
89
				</tr>
113
				<tr>
-
 
114
					<td>an:</td>
-
 
115
					<td>Année</td>
90
				<tr>
116
					<td></td>
91
					<td>an:</td>
117
					<td></td>
92
					<td>Année</td>
118
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', 'bdnff')?>">an:2010</a></td>
93
					<td><a href="<?=Recherche::getUrlRecherche('an:2010', 'bdnff')?>">an:2010</a></td>
119
				</tr>
94
				</tr>
120
				<tr>
-
 
121
					<td>nn:</td>
-
 
122
					<td>Identifiant numérique unique du nom scientifique.</td>
95
				<tr>
123
					<td>Un nombre entier superieur à 0 ou plusieurs nombres entiers séparés par des virgules.</td>
96
					<td>nn:</td>
124
					<td>Permet de retrouver un ou plusieurs noms via la valeur de leur champ "num_nom".</td>
97
					<td>Identifiant numérique unique du nom scientifique.</td>
125
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', 'bdnff')?>">nn:7128,7547</a></td>
98
					<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', 'bdnff')?>">nn:7128,7547</a></td>
126
				</tr>
99
				</tr>
127
				<tr>
-
 
128
					<td>bib:</td>
-
 
129
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
100
				<tr>
130
					<td></td>
101
					<td>bib:</td>
131
					<td></td>
102
					<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
132
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', 'bdnff')?>">bib:Linnaea, 21 :</a></td>
103
					<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', 'bdnff')?>">bib:Linnaea, 21 :</a></td>
133
				</tr>
104
				</tr>
134
				<tr>
-
 
135
					<td>nr:</td>
-
 
136
					<td>Nom scientifique retenu pour désigner le taxon</td>
105
				<tr>
137
					<td>0 ou 1.</td>
106
					<td>nr:1</td>
138
					<td>Si 1, affiche uniquement les taxons dont le nom scientifique a été retenu.</td>
107
					<td>Nom scientifique retenu pour désigner le taxon</td>
139
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', 'bdnff')?>">nr:1</a></td>
108
					<td><a href="<?=Recherche::getUrlRecherche('nr:1', 'bdnff')?>">nr:1</a></td>
140
				</tr>
109
				</tr>
141
				<tr>
-
 
142
					<td>tax:</td>
-
 
143
					<td>Noms retenus et synonymes quand au moins un synonyme répond à la recherche</td>
110
				<tr>
144
					<td>0 ou 1.</td>
111
					<td>tax:1</td>
145
					<td>Nécessite un autre terme de recherche (simple ou avancé). Retourne le nombre de noms retenus 
112
					<td>Noms retenus et synonymes quand au moins un synonyme répond à la recherche (Retourne le nombre de noms retenus 
146
					correspondants et affiche un nom suivi de ces synonymes.</td>
113
					correspondants et affiche un nom suivi de ces synonymes)</td>
147
					<td><a href="<?=Recherche::getUrlRecherche('scirpus tax:1', 'bdnff')?>">scirpus tax:1</a></td>
114
					<td><a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', 'bdnff')?>">gen:scirpus tax:1</a></td>
-
 
115
				</tr>
148
				</tr>
116
			</tbody>
-
 
117
		</table>
149
			</tbody>
118
		<p>
150
		</table>
119
			Si vous souhaitez utiliser deux opérateurs à la suite, ou un terme et un opérateur, pour 
151
		<p>Pour les opérateurs dont la valeur est un <em>texte libre</em> ou une <em>liste</em>, 
120
			faire une recherche croisée, séparez-les uniquement par un espace.<br />
-
 
121
			<em>Exemples&nbsp;:</em>
-
 
122
			<a href="<?=Recherche::getUrlRecherche('l. gen:aba', 'bdnff')?>">"l. gen:aba"</a>&nbsp;=>172 résultats;&nbsp;
152
			il est possible d'utiliser des jokers.
123
			<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', 'bdnff')?>">"au:l. gen:aba"</a>&nbsp;=> 25 résultats.
153
			Ces "jokers" permettent de modifier la recherche.</p>
124
			<br /><br /><br />
154
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlRecherche('gen:a_n', 'bdnff')?>">"gen:a_n"</a>
125
			Des "jokers" permettent d'élargir la recherche.
155
		</p>
126
		</p>
156
		<table>
127
		<table class="largeur-14">
157
			<thead>
-
 
158
				<tr>
128
			<thead>
159
					<th>Joker</th>
129
				<tr>
160
					<th>Applicable sur</th>
130
					<th class="largeur-01">Joker</th>
161
					<th>Explication</th>
131
					<th class="largeur-10">Explication</th>
162
					<th>Exemples</th>
132
					<th class="largeur-03">Exemples</th>
163
				</tr>
133
				</tr>
164
			</thead>
134
			</thead>
165
			<tbody>
-
 
166
				<tr>
135
			<tbody>
167
					<td>%</td>
136
				<tr>
168
					<td>Texte libre</td>
137
					<td>%</td>
169
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
138
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
170
					<td><a href="<?=Recherche::getUrlRecherche('"herbier %Abbé% Carondelet"', 'bdnff')?>">
139
					<td><a href="<?=Recherche::getUrlRecherche('gen:de%m sp:m%m', 'bdnff')?>">
171
						"herbier %Abbé% Carondelet"</a></td>
140
						gen:de%m sp:m%m</a></td>
172
				</tr>
-
 
173
				<tr>
141
				</tr>
174
					<td>_</td>
142
				<tr>
175
					<td>Texte libre</td>
143
					<td>_</td>
176
					<td>Remplace exactement un caractère</td>
144
					<td>Remplace exactement un caractère</td>
177
					<td><a href="<?=Recherche::getUrlRecherche('p:"Jo_l"', 'bdnff')?>">p:"Jo_l"</a></td>
145
					<td><a href="<?=Recherche::getUrlRecherche('gen:a_ar', 'bdnff')?>">gen:a_ar</a></td>
178
				</tr>
146
				</tr>
179
			</tbody>
147
			</tbody>