Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

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