Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

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