Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 106 Rev 108
1
<!-- COL - DEBUT MOTEUR RECHERCHE -->
1
<!-- COL - 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
		$("#col-rech-opt").hide();
5
		$("#col-rech-opt").hide();
6
		$("#col-rech-opt-toggle").html("Afficher la recherche avancée");
6
		$("#col-rech-opt-toggle").html("Afficher la recherche avancée");
7
		$("#col-rech-opt-toggle").toggle(
7
		$("#col-rech-opt-toggle").toggle(
8
			function() {
8
			function() {
9
				$("#col-rech-opt-toggle").html("Cacher la recherche avancée");
9
				$("#col-rech-opt-toggle").html("Cacher la recherche avancée");
10
				$("#col-rech-opt").toggle("slow");
10
				$("#col-rech-opt").toggle("slow");
11
			},
11
			},
12
			function() {
12
			function() {
13
				$("#col-rech-opt-toggle").html("Afficher la recherche avancée");
13
				$("#col-rech-opt-toggle").html("Afficher la recherche avancée");
14
				$("#col-rech-opt").toggle("slow");
14
				$("#col-rech-opt").toggle("slow");
15
			}
15
			}
16
		);
16
		);
17
		// Sélection du texte de la zone de recherche sur le focus
17
		// Sélection du texte de la zone de recherche sur le focus
18
		$("#recherche").focus(function(){
18
		$("#recherche").focus(function(){
19
			this.select();
19
			this.select();
20
		});
20
		});
21
	});
21
	});
22
</script>
22
</script>
23
<h2>Rechercher une collection</h2>
23
<h2>Rechercher une collection</h2>
24
<form id="col-form" name="col-form" action="<?=$url_form;?>" method="get">
24
<form id="col-form" name="col-form" action="<?=$url_form;?>" method="get">
25
	<input name="module" type="hidden" value="<?=$url_module;?>" />
25
	<input name="module" type="hidden" value="<?=$url_module;?>" />
26
	<input name="action" type="hidden" value="<?=$url_action;?>" />
26
	<input name="action" type="hidden" value="<?=$url_action;?>" />
27
	<label id="col-rech"for="recherche">Rechercher</label>
27
	<label id="col-rech"for="recherche">Rechercher</label>
28
	<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
28
	<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
29
	<input id="col-rech-ok" type="submit" value="OK" />
29
	<input id="col-rech-ok" type="submit" value="OK" />
30
	<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à la recherche avancée</a>
30
	<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à la recherche avancée</a>
31
</form>
31
</form>
32
<div id="col-rech-opt">
32
<div id="col-rech-opt">
33
	<h2 id="col-rech-opt-titre">Options de recherche</h2>
33
	<h2 id="col-rech-opt-titre">Options de recherche</h2>
34
	<div id="col-rech-opt-txt">
34
	<div id="col-rech-opt-txt">
35
		<p>Le moteur de recherche permet de faire une recherche libre sur un mot, une expression ou un acronyme.</p>
35
		<p>Le moteur de recherche permet de faire une recherche libre sur un mot, une expression ou un acronyme.<br />
36
		<p>
-
 
37
			<em>Exemples&nbsp;:</em>
36
			<em>Exemples&nbsp;:</em>
38
			<a href="<?=Recherche::getUrlExemple('mpu')?>">mpu</a>, 
37
			<a href="<?=Recherche::getUrlExemple('mpu')?>">mpu</a>, 
39
			<a href="<?=Recherche::getUrlExemple('Coste')?>">Coste</a>.</p>
38
			<a href="<?=Recherche::getUrlExemple('Coste')?>">Coste</a>.</p>
40
		<p>
39
		<p>
41
			Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
40
			Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
42
			en intercalant automatiquement le joker % avant et après la chaine recherchée et entre chaque mot 
41
			en intercalant automatiquement le joker % avant et après la chaine recherchée et entre chaque mot 
43
			de celle-ci.
42
			de celle-ci.
44
		</p>
43
		</p>
45
		<p>
44
		<p>
46
			Le moteur de recherche permet aussi d'utiliser des opérateurs dans le texte recherché pour préciser 
45
			Le moteur de recherche permet aussi d'utiliser des opérateurs dans le texte recherché pour préciser 
47
			la requête. Vous les trouverez dans le tableau ci-dessous. Si vous souhaitez utiliser deux opérateurs 
46
			la requête. Vous les trouverez dans le tableau ci-dessous. Si vous souhaitez utiliser deux opérateurs 
48
			à la suite, ou un opérateur et un mot clé de votre choix pour faire une recherche croisée, séparez-les 
47
			à la suite, ou un opérateur et un mot clé de votre choix pour faire une recherche croisée, séparez-les 
49
			uniquement par un espace.</p>
48
			uniquement par un espace.<br />
50
		<p>
-
 
51
			<em>Exemples&nbsp;:</em>
49
			<em>Exemples&nbsp;:</em>
52
			<a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a>,
50
			<a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a>,
53
			<a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a>,
51
			<a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a>,
54
			<a href="<?=Recherche::getUrlExemple('Coste bot:he')?>">Coste bot:he</a>,
52
			<a href="<?=Recherche::getUrlExemple('Coste bot:he')?>">Coste bot:he</a>,
55
			<a href="<?=Recherche::getUrlExemple('herbier zg:France')?>">herbier zg:France</a>,
53
			<a href="<?=Recherche::getUrlExemple('herbier zg:France')?>">herbier zg:France</a>,
56
			<a href="<?=Recherche::getUrlExemple('p:coste pr:co')?>">p:coste pr:co</a>,
54
			<a href="<?=Recherche::getUrlExemple('p:coste pr:co')?>">p:coste pr:co</a>,
57
			<a href="<?=Recherche::getUrlExemple('Ecole sci:1')?>">Ecole sci:1</a>.
55
			<a href="<?=Recherche::getUrlExemple('Ecole sci:1')?>">Ecole sci:1</a>.
58
		</p>
56
		</p>
59
		<p>
57
		<p>
60
			<em>Remarque&nbsp;:</em> pour les recherches géographiques, n'oubliez pas de regarder les herbiers qui contiennent 
58
			<em>Remarque&nbsp;:</em> pour les recherches géographiques, n'oubliez pas de regarder les herbiers qui contiennent 
61
			des parts du monde entier.
59
			des parts du monde entier.
62
		</p>
60
		</p>
63
		<table> 
61
		<table> 
64
			<thead>
62
			<thead>
65
				<tr>
63
				<tr>
66
					<th>Mot-clé</th>
64
					<th>Mot-clé</th>
67
					<th>Valeurs possibles</th>
65
					<th>Valeurs possibles</th>
68
					<th>Signification</th>
66
					<th>Signification</th>
69
					<th>Explication</th>
67
					<th>Explication</th>
70
					<th>Exemples</th>
68
					<th>Exemples</th>
71
				</tr>
69
				</tr>
72
			</thead>
70
			</thead>
73
			<tbody>
71
			<tbody>
74
				<tr>
72
				<tr>
75
					<td>sci:</td>
73
					<td>sci:</td>
76
					<td>0,1</td>
74
					<td>0,1</td>
77
					<td>Recherches scientifiques</td>
75
					<td>Recherches scientifiques</td>
78
					<td>Limite les résultats aux institutions autorisant la consultation des collections 
76
					<td>Limite les résultats aux institutions autorisant la consultation des collections 
79
						<em>sans (=0)</em> ou <em>avec (=1)</em> des objectifs de recherches scientifiques.</td>
77
						<em>sans (=0)</em> ou <em>avec (=1)</em> des objectifs de recherches scientifiques.</td>
80
					<td><a href="<?=Recherche::getUrlExemple('sci:0')?>">sci:0</a></td>
78
					<td><a href="<?=Recherche::getUrlExemple('sci:0')?>">sci:0</a></td>
81
				</tr>
79
				</tr>
82
				<tr>
80
				<tr>
83
					<td>veg:</td>
81
					<td>veg:</td>
84
					<td>Liste : PH (Phanérogames), GY (<span title="Conifères">Gymnospermes</span>), 
82
					<td>Liste : PH (Phanérogames), GY (<span title="Conifères">Gymnospermes</span>), 
85
						AN (<span title="Plantes à fleur">Angiospermes</span>), CR (Cryptogames), 
83
						AN (<span title="Plantes à fleur">Angiospermes</span>), CR (Cryptogames), 
86
						AL (<span title="Y compris Characées et Diatomées">Algues</span>),
84
						AL (<span title="Y compris Characées et Diatomées">Algues</span>),
87
						CH (Champignons),
85
						CH (Champignons),
88
						LI (Lichens),
86
						LI (Lichens),
89
						BR (<span title="Mousses">Bryophytes</span>),
87
						BR (<span title="Mousses">Bryophytes</span>),
90
						PT (<span title="Fougères">Ptéridophytes</span>).</td>
88
						PT (<span title="Fougères">Ptéridophytes</span>).</td>
91
					<td>Nature végétale du contenu de la collection botanique</td>
89
					<td>Nature végétale du contenu de la collection botanique</td>
92
					<td>Limite les résultats aux collections botaniques dont la nature végétale du contenu correspond 
90
					<td>Limite les résultats aux collections botaniques dont la nature végétale du contenu correspond 
93
						au type indiqué.</td>
91
						au type indiqué.</td>
94
					<td><a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a></td>
92
					<td><a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a></td>
95
				</tr>
93
				</tr>
96
				<tr>
94
				<tr>
97
					<td>bot:</td>
95
					<td>bot:</td>
98
					<td>Liste : HE (Herbier), CE (Centurie - conservée en dehors d'un herbier), DR (Droguier), CA (Carpothèque),
96
					<td>Liste : HE (Herbier), CE (Centurie - conservée en dehors d'un herbier), DR (Droguier), CA (Carpothèque),
99
						AL (Collection en alcool), XY (Xylothèque), PM (Collection de préparations microscopiques).</td>
97
						AL (Collection en alcool), XY (Xylothèque), PM (Collection de préparations microscopiques).</td>
100
					<td>Type de collection botanique</td>
98
					<td>Type de collection botanique</td>
101
					<td>Limite les résultats aux collections botaniques du type indiqué.</td>
99
					<td>Limite les résultats aux collections botaniques du type indiqué.</td>
102
					<td><a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a></td>
100
					<td><a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a></td>
103
				</tr>
101
				</tr>
104
				<tr>
102
				<tr>
105
					<td>zg:</td>
103
					<td>zg:</td>
106
					<td>Texte libre</td>
104
					<td>Texte libre</td>
107
					<td>Origine géographique du contenu de la collection</td>
105
					<td>Origine géographique du contenu de la collection</td>
108
					<td>Limite les résultats aux collections dont le contenu correspond à la zone géographique indiquée.</td>
106
					<td>Limite les résultats aux collections dont le contenu correspond à la zone géographique indiquée.</td>
109
					<td><a href="<?=Recherche::getUrlExemple('zg:lozère')?>">zg:lozère</a></td>
107
					<td><a href="<?=Recherche::getUrlExemple('zg:lozère')?>">zg:lozère</a></td>
110
				</tr>
108
				</tr>
111
				<tr>
109
				<tr>
112
					<td>p:</td>
110
					<td>p:</td>
113
					<td>Texte libre</td>
111
					<td>Texte libre</td>
114
					<td>Nom ou partie du nom d'une personne.</td>
112
					<td>Nom ou partie du nom d'une personne.</td>
115
					<td>Limite les résultats aux institutions et collections liées a une personne dont le nom ou une 
113
					<td>Limite les résultats aux institutions et collections liées a une personne dont le nom ou une 
116
						partie du nom correspond à la valeur indiquée.</td>
114
						partie du nom correspond à la valeur indiquée.</td>
117
					<td><a href="<?=Recherche::getUrlExemple('p:coste')?>">p:coste</a></td>
115
					<td><a href="<?=Recherche::getUrlExemple('p:coste')?>">p:coste</a></td>
118
				</tr>
116
				</tr>
119
				<tr>
117
				<tr>
120
					<td>pr:</td>
118
					<td>pr:</td>
121
					<td>Liste : CT (Contributeur), AU (Auteur), CO (Collecteur), DE (Déterminateur), HE 
119
					<td>Liste : CT (Contributeur), AU (Auteur), CO (Collecteur), DE (Déterminateur), HE 
122
						(Hébergeur - particulier possédant une collection chez lui).</td>
120
						(Hébergeur - particulier possédant une collection chez lui).</td>
123
					<td>Rôle d'une personne.</td>
121
					<td>Rôle d'une personne.</td>
124
					<td>Limite les résultats aux institutions et collections liées a une personne dont le rôle 
122
					<td>Limite les résultats aux institutions et collections liées a une personne dont le rôle 
125
						correspond à la valeur indiquée.</td>
123
						correspond à la valeur indiquée.</td>
126
					<td><a href="<?=Recherche::getUrlExemple('pr:AU')?>">pr:AU</a></td>
124
					<td><a href="<?=Recherche::getUrlExemple('pr:AU')?>">pr:AU</a></td>
127
				</tr>
125
				</tr>
128
			</tbody>
126
			</tbody>
129
		</table>
127
		</table>
130
		<p>Pour les opérateurs dont la valeur est un <em>texte libre</em> ou une <em>liste</em>, 
128
		<p>Pour les opérateurs dont la valeur est un <em>texte libre</em> ou une <em>liste</em>, 
131
			il est possible d'utiliser des jokers.
129
			il est possible d'utiliser des jokers.
132
			Ces "jokers" permettent de modifier la recherche.</p>
130
			Ces "jokers" permettent de modifier la recherche.</p>
133
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlExemple('"herbier de Coste"')?>">"herbier de Coste"</a>, 
131
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlExemple('"herbier de Coste"')?>">"herbier de Coste"</a>, 
134
			<a href="<?=Recherche::getUrlExemple('"herbier % Montpellier"')?>">"herbier % Montpellier"</a>,
132
			<a href="<?=Recherche::getUrlExemple('"herbier % Montpellier"')?>">"herbier % Montpellier"</a>,
135
			<a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a>.
133
			<a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a>.
136
			<a href="<?=Recherche::getUrlExemple('veg:br,cr')?>">veg:br,cr</a>.
134
			<a href="<?=Recherche::getUrlExemple('veg:br,cr')?>">veg:br,cr</a>.
137
		</p>
135
		</p>
138
		<table>
136
		<table>
139
			<thead>
137
			<thead>
140
				<tr>
138
				<tr>
141
					<th>Joker</th>
139
					<th>Joker</th>
142
					<th>Applicable sur</th>
140
					<th>Applicable sur</th>
143
					<th>Explication</th>
141
					<th>Explication</th>
144
					<th>Exemples</th>
142
					<th>Exemples</th>
145
				</tr>
143
				</tr>
146
			</thead>
144
			</thead>
147
			<tbody>
145
			<tbody>
148
				<tr>
146
				<tr>
149
					<td>""</td>
147
					<td>""</td>
150
					<td>Texte libre</td>
148
					<td>Texte libre</td>
151
					<td>Permet de rechercher sur une expression exacte.</td>
149
					<td>Permet de rechercher sur une expression exacte.</td>
152
					<td><a href="<?=Recherche::getUrlExemple('"Archives de l\'herbier Granger"')?>">
150
					<td><a href="<?=Recherche::getUrlExemple('"Archives de l\'herbier Granger"')?>">
153
						"Archives de l'herbier Granger"</a></td>
151
						"Archives de l'herbier Granger"</a></td>
154
				</tr>
152
				</tr>
155
				<tr>
153
				<tr>
156
					<td>%</td>
154
					<td>%</td>
157
					<td>Texte libre</td>
155
					<td>Texte libre</td>
158
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
156
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
159
					<td><a href="<?=Recherche::getUrlExemple('"herbier %Abbé% Carondelet"')?>">
157
					<td><a href="<?=Recherche::getUrlExemple('"herbier %Abbé% Carondelet"')?>">
160
						"herbier %Abbé% Carondelet"</a></td>
158
						"herbier %Abbé% Carondelet"</a></td>
161
				</tr>
159
				</tr>
162
				<tr>
160
				<tr>
163
					<td>_</td>
161
					<td>_</td>
164
					<td>Texte libre</td>
162
					<td>Texte libre</td>
165
					<td>Remplace exactement un caractère</td>
163
					<td>Remplace exactement un caractère</td>
166
					<td><a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a></td>
164
					<td><a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a></td>
167
				</tr>
165
				</tr>
168
				<tr>
166
				<tr>
169
					<td>,</td>
167
					<td>,</td>
170
					<td>Liste</td>
168
					<td>Liste</td>
171
					<td>Permet d'indiquer plusieurs valeurs</td>
169
					<td>Permet d'indiquer plusieurs valeurs</td>
172
					<td><a href="<?=Recherche::getUrlExemple('veg:br,ph')?>">veg:br,ph</a></td>
170
					<td><a href="<?=Recherche::getUrlExemple('veg:br,ph')?>">veg:br,ph</a></td>
173
				</tr>
171
				</tr>
174
			</tbody>
172
			</tbody>
175
		</table>
173
		</table>
176
	</div>
174
	</div>
177
</div>
175
</div>
178
<!-- COL - FIN MOTEUR RECHERCHE -->
176
<!-- COL - FIN MOTEUR RECHERCHE -->