Subversion Repositories eFlore/Applications.coel-consultation

Rev

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