Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 84 | Rev 106 | 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">
35
		<p>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>
37
		<p>Le moteur de recherche permet d'utiliser des opérateurs dans le texte recherché pour préciser la requête.</p>
54 jpm 38
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlExemple('mpu')?>">mpu</a>,
39
			<a href="<?=Recherche::getUrlExemple('"herbier de Coste"')?>">"herbier de Coste"</a>,
84 jpm 40
			<a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a>,
54 jpm 41
			<a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a>,
42
			<a href="<?=Recherche::getUrlExemple('Coste bot:he')?>">Coste bot:he</a>,
43
			<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>,
45
			<a href="<?=Recherche::getUrlExemple('Ecole sci:1')?>">Ecole sci:1</a>.</p>
23 jpm 46
		<table>
47
			<thead>
48
				<tr>
49
					<th>Mot-clé</th>
50
					<th>Valeurs possibles</th>
51
					<th>Signification</th>
52
					<th>Explication</th>
53
					<th>Exemples</th>
54
				</tr>
55
			</thead>
56
			<tbody>
57
				<tr>
58
					<td>sci:</td>
59
					<td>0,1</td>
60
					<td>Recherches scientifiques</td>
61
					<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>
54 jpm 63
					<td><a href="<?=Recherche::getUrlExemple('sci:0')?>">sci:0</a></td>
23 jpm 64
				</tr>
65
				<tr>
84 jpm 66
					<td>veg:</td>
67
					<td>Liste : PH (Phanérogames), GY (<span title="Conifères">Gymnospermes</span>),
68
						AN (<span title="Plantes à fleur">Angiospermes</span>), CR (Cryptogames),
69
						AL (<span title="Y compris Characées et Diatomées">Algues</span>),
70
						CH (Champignons),
71
						LI (Lichens),
72
						BR (<span title="Mousses">Bryophytes</span>),
73
						PT (<span title="Fougères">Ptéridophytes</span>).</td>
74
					<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
76
						au type indiqué.</td>
77
					<td><a href="<?=Recherche::getUrlExemple('veg:br')?>">veg:br</a></td>
78
				</tr>
79
				<tr>
23 jpm 80
					<td>bot:</td>
84 jpm 81
					<td>Liste : HE (Herbier), CE (Centurie - conservée en dehors d'un herbier), DR (Droguier), CA (Carpothèque),
23 jpm 82
						AL (Collection en alcool), XY (Xylothèque), PM (Collection de préparations microscopiques).</td>
83
					<td>Type de collection botanique</td>
84
					<td>Limite les résultats aux collections botaniques du type indiqué.</td>
54 jpm 85
					<td><a href="<?=Recherche::getUrlExemple('bot:he')?>">bot:he</a></td>
23 jpm 86
				</tr>
87
				<tr>
88
					<td>zg:</td>
89
					<td>Texte libre</td>
90
					<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>
54 jpm 92
					<td><a href="<?=Recherche::getUrlExemple('zg:lozère')?>">zg:lozère</a></td>
23 jpm 93
				</tr>
94
				<tr>
95
					<td>p:</td>
96
					<td>Texte libre</td>
97
					<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
99
						partie du nom correspond à la valeur indiquée.</td>
54 jpm 100
					<td><a href="<?=Recherche::getUrlExemple('p:coste')?>">p:coste</a></td>
23 jpm 101
				</tr>
102
				<tr>
103
					<td>pr:</td>
84 jpm 104
					<td>Liste : CT (Contributeur), AU (Auteur), CO (Collecteur), DE (Déterminateur), HE
23 jpm 105
						(Hébergeur - particulier possédant une collection chez lui).</td>
106
					<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
108
						correspond à la valeur indiquée.</td>
54 jpm 109
					<td><a href="<?=Recherche::getUrlExemple('pr:AU')?>">pr:AU</a></td>
23 jpm 110
				</tr>
111
			</tbody>
112
		</table>
84 jpm 113
		<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.
115
			Ces "jokers" permettent de modifier la recherche.</p>
54 jpm 116
		<p>Exemples&nbsp;: <a href="<?=Recherche::getUrlExemple('"herbier de Coste"')?>">"herbier de Coste"</a>,
117
			<a href="<?=Recherche::getUrlExemple('"herbier % Montpellier"')?>">"herbier % Montpellier"</a>,
118
			<a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a>.
84 jpm 119
			<a href="<?=Recherche::getUrlExemple('veg:br,cr')?>">veg:br,cr</a>.
23 jpm 120
		</p>
121
		<table>
122
			<thead>
123
				<tr>
124
					<th>Joker</th>
84 jpm 125
					<th>Applicable sur</th>
23 jpm 126
					<th>Explication</th>
127
					<th>Exemples</th>
128
				</tr>
129
			</thead>
130
			<tbody>
131
				<tr>
132
					<td>""</td>
84 jpm 133
					<td>Texte libre</td>
23 jpm 134
					<td>Permet de rechercher sur une expression exacte.</td>
54 jpm 135
					<td><a href="<?=Recherche::getUrlExemple('"Archives de l\'herbier Granger"')?>">
23 jpm 136
						"Archives de l'herbier Granger"</a></td>
137
				</tr>
138
				<tr>
139
					<td>%</td>
84 jpm 140
					<td>Texte libre</td>
23 jpm 141
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
54 jpm 142
					<td><a href="<?=Recherche::getUrlExemple('"herbier %Abbé% Carondelet"')?>">
23 jpm 143
						"herbier %Abbé% Carondelet"</a></td>
144
				</tr>
145
				<tr>
146
					<td>_</td>
84 jpm 147
					<td>Texte libre</td>
23 jpm 148
					<td>Remplace exactement un caractère</td>
54 jpm 149
					<td><a href="<?=Recherche::getUrlExemple('p:"Jo_l"')?>">p:"Jo_l"</a></td>
23 jpm 150
				</tr>
84 jpm 151
				<tr>
152
					<td>,</td>
153
					<td>Liste</td>
154
					<td>Permet d'indiquer plusieurs valeurs</td>
155
					<td><a href="<?=Recherche::getUrlExemple('veg:br,ph')?>">veg:br,ph</a></td>
156
				</tr>
23 jpm 157
			</tbody>
158
		</table>
159
	</div>
25 jpm 160
</div>
161
<!-- COL - FIN MOTEUR RECHERCHE -->