Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 90 | Rev 108 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 jpm 1
<!-- COL - DEBUT MOTEUR RECHERCHE -->
2
<script type="text/javascript">
3
	// Function pour cacher / afficher les options de recherche
4
	$(document).ready(function() {
5
		$("#col-rech-opt").hide();
43 jpm 6
		$("#col-rech-opt-toggle").html("Afficher la recherche avancée");
25 jpm 7
		$("#col-rech-opt-toggle").toggle(
8
			function() {
43 jpm 9
				$("#col-rech-opt-toggle").html("Cacher la recherche avancée");
25 jpm 10
				$("#col-rech-opt").toggle("slow");
11
			},
12
			function() {
43 jpm 13
				$("#col-rech-opt-toggle").html("Afficher la recherche avancée");
25 jpm 14
				$("#col-rech-opt").toggle("slow");
15
			}
16
		);
90 jpm 17
		// Sélection du texte de la zone de recherche sur le focus
18
		$("#recherche").focus(function(){
19
			this.select();
20
		});
21
	});
25 jpm 22
</script>
7 jpm 23
<h2>Rechercher une collection</h2>
23 jpm 24
<form id="col-form" name="col-form" action="<?=$url_form;?>" method="get">
8 jpm 25
	<input name="module" type="hidden" value="<?=$url_module;?>" />
26
	<input name="action" type="hidden" value="<?=$url_action;?>" />
25 jpm 27
	<label id="col-rech"for="recherche">Rechercher</label>
28
	<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
29
	<input id="col-rech-ok" type="submit" value="OK" />
43 jpm 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>
20 jpm 31
</form>
23 jpm 32
<div id="col-rech-opt">
33
	<h2 id="col-rech-opt-titre">Options de recherche</h2>
34
	<div id="col-rech-opt-txt">
106 jpm 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>
41
			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
43
			de celle-ci.
44
		</p>
45
		<p>
46
			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
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>
84 jpm 52
			<a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a>,
54 jpm 53
			<a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a>,
54
			<a href="<?=Recherche::getUrlExemple('Coste bot:he')?>">Coste bot:he</a>,
55
			<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>,
106 jpm 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>
23 jpm 63
		<table>
64
			<thead>
65
				<tr>
66
					<th>Mot-clé</th>
67
					<th>Valeurs possibles</th>
68
					<th>Signification</th>
69
					<th>Explication</th>
70
					<th>Exemples</th>
71
				</tr>
72
			</thead>
73
			<tbody>
74
				<tr>
75
					<td>sci:</td>
76
					<td>0,1</td>
77
					<td>Recherches scientifiques</td>
78
					<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>
54 jpm 80
					<td><a href="<?=Recherche::getUrlExemple('sci:0')?>">sci:0</a></td>
23 jpm 81
				</tr>
82
				<tr>
84 jpm 83
					<td>veg:</td>
84
					<td>Liste : PH (Phanérogames), GY (<span title="Conifères">Gymnospermes</span>),
85
						AN (<span title="Plantes à fleur">Angiospermes</span>), CR (Cryptogames),
86
						AL (<span title="Y compris Characées et Diatomées">Algues</span>),
87
						CH (Champignons),
88
						LI (Lichens),
89
						BR (<span title="Mousses">Bryophytes</span>),
90
						PT (<span title="Fougères">Ptéridophytes</span>).</td>
91
					<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
93
						au type indiqué.</td>
94
					<td><a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a></td>
95
				</tr>
96
				<tr>
23 jpm 97
					<td>bot:</td>
84 jpm 98
					<td>Liste : HE (Herbier), CE (Centurie - conservée en dehors d'un herbier), DR (Droguier), CA (Carpothèque),
23 jpm 99
						AL (Collection en alcool), XY (Xylothèque), PM (Collection de préparations microscopiques).</td>
100
					<td>Type de collection botanique</td>
101
					<td>Limite les résultats aux collections botaniques du type indiqué.</td>
54 jpm 102
					<td><a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a></td>
23 jpm 103
				</tr>
104
				<tr>
105
					<td>zg:</td>
106
					<td>Texte libre</td>
107
					<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>
54 jpm 109
					<td><a href="<?=Recherche::getUrlExemple('zg:lozère')?>">zg:lozère</a></td>
23 jpm 110
				</tr>
111
				<tr>
112
					<td>p:</td>
113
					<td>Texte libre</td>
114
					<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
116
						partie du nom correspond à la valeur indiquée.</td>
54 jpm 117
					<td><a href="<?=Recherche::getUrlExemple('p:coste')?>">p:coste</a></td>
23 jpm 118
				</tr>
119
				<tr>
120
					<td>pr:</td>
84 jpm 121
					<td>Liste : CT (Contributeur), AU (Auteur), CO (Collecteur), DE (Déterminateur), HE
23 jpm 122
						(Hébergeur - particulier possédant une collection chez lui).</td>
123
					<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
125
						correspond à la valeur indiquée.</td>
54 jpm 126
					<td><a href="<?=Recherche::getUrlExemple('pr:AU')?>">pr:AU</a></td>
23 jpm 127
				</tr>
128
			</tbody>
129
		</table>
84 jpm 130
		<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.
132
			Ces "jokers" permettent de modifier la recherche.</p>
54 jpm 133
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlExemple('"herbier de Coste"')?>">"herbier de Coste"</a>,
134
			<a href="<?=Recherche::getUrlExemple('"herbier % Montpellier"')?>">"herbier % Montpellier"</a>,
135
			<a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a>.
84 jpm 136
			<a href="<?=Recherche::getUrlExemple('veg:br,cr')?>">veg:br,cr</a>.
23 jpm 137
		</p>
138
		<table>
139
			<thead>
140
				<tr>
141
					<th>Joker</th>
84 jpm 142
					<th>Applicable sur</th>
23 jpm 143
					<th>Explication</th>
144
					<th>Exemples</th>
145
				</tr>
146
			</thead>
147
			<tbody>
148
				<tr>
149
					<td>""</td>
84 jpm 150
					<td>Texte libre</td>
23 jpm 151
					<td>Permet de rechercher sur une expression exacte.</td>
54 jpm 152
					<td><a href="<?=Recherche::getUrlExemple('"Archives de l\'herbier Granger"')?>">
23 jpm 153
						"Archives de l'herbier Granger"</a></td>
154
				</tr>
155
				<tr>
156
					<td>%</td>
84 jpm 157
					<td>Texte libre</td>
23 jpm 158
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
54 jpm 159
					<td><a href="<?=Recherche::getUrlExemple('"herbier %Abbé% Carondelet"')?>">
23 jpm 160
						"herbier %Abbé% Carondelet"</a></td>
161
				</tr>
162
				<tr>
163
					<td>_</td>
84 jpm 164
					<td>Texte libre</td>
23 jpm 165
					<td>Remplace exactement un caractère</td>
54 jpm 166
					<td><a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a></td>
23 jpm 167
				</tr>
84 jpm 168
				<tr>
169
					<td>,</td>
170
					<td>Liste</td>
171
					<td>Permet d'indiquer plusieurs valeurs</td>
172
					<td><a href="<?=Recherche::getUrlExemple('veg:br,ph')?>">veg:br,ph</a></td>
173
				</tr>
23 jpm 174
			</tbody>
175
		</table>
176
	</div>
25 jpm 177
</div>
178
<!-- COL - FIN MOTEUR RECHERCHE -->