Subversion Repositories eFlore/Applications.coel-consultation

Rev

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