Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 23 Rev 25
-
 
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();
-
 
6
		$("#col-rech-opt-toggle").html("Afficher l'aide");
-
 
7
		$("#col-rech-opt-toggle").toggle(
-
 
8
			function() {
-
 
9
				$("#col-rech-opt-toggle").html("Cacher l'aide");
-
 
10
				$("#col-rech-opt").toggle("slow");
-
 
11
			},
-
 
12
			function() {
-
 
13
				$("#col-rech-opt-toggle").html("Afficher l'aide");
-
 
14
				$("#col-rech-opt").toggle("slow");
-
 
15
			}
-
 
16
		);
-
 
17
	 });
-
 
18
</script>
1
<h2>Rechercher une collection</h2>
19
<h2>Rechercher une collection</h2>
2
<form id="col-form" name="col-form" action="<?=$url_form;?>" method="get">
20
<form id="col-form" name="col-form" action="<?=$url_form;?>" method="get">
3
	<input name="module" type="hidden" value="<?=$url_module;?>" />
21
	<input name="module" type="hidden" value="<?=$url_module;?>" />
4
	<input name="action" type="hidden" value="<?=$url_action;?>" />
22
	<input name="action" type="hidden" value="<?=$url_action;?>" />
5
	<fieldset>
-
 
6
		<legend>Rechercher</legend>
23
	<label id="col-rech"for="recherche">Rechercher</label>
7
		<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
24
	<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
8
		<input id="col-rech-ok" type="submit" value="OK" />
25
	<input id="col-rech-ok" type="submit" value="OK" />
9
		<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à l'aide</a>
26
	<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à l'aide</a>
10
	</fieldset>
-
 
11
</form>
27
</form>
12
<div id="col-rech-opt">
28
<div id="col-rech-opt">
13
	<h2 id="col-rech-opt-titre">Options de recherche</h2>
29
	<h2 id="col-rech-opt-titre">Options de recherche</h2>
14
	<div id="col-rech-opt-txt">
30
	<div id="col-rech-opt-txt">
15
		<p>Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
31
		<p>Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue 
16
		en intercalant automatiquement le joker % avant et après la chaine recherchée et entre chaque mot de celle-ci.</p>
32
		en intercalant automatiquement le joker % avant et après la chaine recherchée et entre chaque mot de celle-ci.</p>
17
		<p>Le moteur de recherche permet d'utiliser des opérateurs dans le texte recherché pour préciser la requête.</p>
33
		<p>Le moteur de recherche permet d'utiliser des opérateurs dans le texte recherché pour préciser la requête.</p>
18
		<p>Exemples&nbsp;: <a href="<?=sprintf($url_exemple, urlencode('mpu'))?>">mpu</a>, 
34
		<p>Exemples&nbsp;: <a href="<?=sprintf($url_exemple, urlencode('mpu'))?>">mpu</a>, 
19
			<a href="<?=sprintf($url_exemple, urlencode('"herbier de Coste"'))?>">"herbier de Coste"</a>,
35
			<a href="<?=sprintf($url_exemple, urlencode('"herbier de Coste"'))?>">"herbier de Coste"</a>,
20
			<a href="<?=sprintf($url_exemple, urlencode('bot:he'))?>">bot:he</a>,
36
			<a href="<?=sprintf($url_exemple, urlencode('bot:he'))?>">bot:he</a>,
21
			<a href="<?=sprintf($url_exemple, urlencode('Coste bot:he'))?>">Coste bot:he</a>,
37
			<a href="<?=sprintf($url_exemple, urlencode('Coste bot:he'))?>">Coste bot:he</a>,
22
			<a href="<?=sprintf($url_exemple, urlencode('herbier zg:France'))?>">herbier zg:France</a>,
38
			<a href="<?=sprintf($url_exemple, urlencode('herbier zg:France'))?>">herbier zg:France</a>,
23
			<a href="<?=sprintf($url_exemple, urlencode('p:coste pr:co'))?>">p:coste pr:co</a>,
39
			<a href="<?=sprintf($url_exemple, urlencode('p:coste pr:co'))?>">p:coste pr:co</a>,
24
			<a href="<?=sprintf($url_exemple, urlencode('Ecole sci:1'))?>">Ecole sci:1</a>.</p>
40
			<a href="<?=sprintf($url_exemple, urlencode('Ecole sci:1'))?>">Ecole sci:1</a>.</p>
25
		<table> 
41
		<table> 
26
			<thead>
42
			<thead>
27
				<tr>
43
				<tr>
28
					<th>Mot-clé</th>
44
					<th>Mot-clé</th>
29
					<th>Valeurs possibles</th>
45
					<th>Valeurs possibles</th>
30
					<th>Signification</th>
46
					<th>Signification</th>
31
					<th>Explication</th>
47
					<th>Explication</th>
32
					<th>Exemples</th>
48
					<th>Exemples</th>
33
				</tr>
49
				</tr>
34
			</thead>
50
			</thead>
35
			<tbody>
51
			<tbody>
36
				<tr>
52
				<tr>
37
					<td>sci:</td>
53
					<td>sci:</td>
38
					<td>0,1</td>
54
					<td>0,1</td>
39
					<td>Recherches scientifiques</td>
55
					<td>Recherches scientifiques</td>
40
					<td>Limite les résultats aux institutions autorisant la consultation des collections 
56
					<td>Limite les résultats aux institutions autorisant la consultation des collections 
41
						<em>sans (=0)</em> ou <em>avec (=1)</em> des objectifs de recherches scientifiques.</td>
57
						<em>sans (=0)</em> ou <em>avec (=1)</em> des objectifs de recherches scientifiques.</td>
42
					<td><a href="<?=sprintf($url_exemple, urlencode('sci:0'))?>">sci:0</a></td>
58
					<td><a href="<?=sprintf($url_exemple, urlencode('sci:0'))?>">sci:0</a></td>
43
				</tr>
59
				</tr>
44
				<tr>
60
				<tr>
45
					<td>bot:</td>
61
					<td>bot:</td>
46
					<td>HE (Herbier), CE (Centurie - conservée en dehors d'un herbier), DR (Droguier), CA (Carpothèque),
62
					<td>HE (Herbier), CE (Centurie - conservée en dehors d'un herbier), DR (Droguier), CA (Carpothèque),
47
						AL (Collection en alcool), XY (Xylothèque), PM (Collection de préparations microscopiques).</td>
63
						AL (Collection en alcool), XY (Xylothèque), PM (Collection de préparations microscopiques).</td>
48
					<td>Type de collection botanique</td>
64
					<td>Type de collection botanique</td>
49
					<td>Limite les résultats aux collections botaniques du type indiqué.</td>
65
					<td>Limite les résultats aux collections botaniques du type indiqué.</td>
50
					<td><a href="<?=sprintf($url_exemple, urlencode('bot:he'))?>">bot:he</a></td>
66
					<td><a href="<?=sprintf($url_exemple, urlencode('bot:he'))?>">bot:he</a></td>
51
				</tr>
67
				</tr>
52
				<tr>
68
				<tr>
53
					<td>zg:</td>
69
					<td>zg:</td>
54
					<td>Texte libre</td>
70
					<td>Texte libre</td>
55
					<td>Origine géographique du contenu de la collection</td>
71
					<td>Origine géographique du contenu de la collection</td>
56
					<td>Limite les résultats aux collections dont le contenu correspond à la zone géographique indiquée.</td>
72
					<td>Limite les résultats aux collections dont le contenu correspond à la zone géographique indiquée.</td>
57
					<td><a href="<?=sprintf($url_exemple, urlencode('zg:lozère'))?>">zg:lozère</a></td>
73
					<td><a href="<?=sprintf($url_exemple, urlencode('zg:lozère'))?>">zg:lozère</a></td>
58
				</tr>
74
				</tr>
59
				<tr>
75
				<tr>
60
					<td>p:</td>
76
					<td>p:</td>
61
					<td>Texte libre</td>
77
					<td>Texte libre</td>
62
					<td>Nom ou partie du nom d'une personne.</td>
78
					<td>Nom ou partie du nom d'une personne.</td>
63
					<td>Limite les résultats aux institutions et collections liées a une personne dont le nom ou une 
79
					<td>Limite les résultats aux institutions et collections liées a une personne dont le nom ou une 
64
						partie du nom correspond à la valeur indiquée.</td>
80
						partie du nom correspond à la valeur indiquée.</td>
65
					<td><a href="<?=sprintf($url_exemple, urlencode('p:coste'))?>">p:coste</a></td>
81
					<td><a href="<?=sprintf($url_exemple, urlencode('p:coste'))?>">p:coste</a></td>
66
				</tr>
82
				</tr>
67
				<tr>
83
				<tr>
68
					<td>pr:</td>
84
					<td>pr:</td>
69
					<td>CT (Contributeur), AU (Auteur), CO (Collecteur), DE (Déterminateur), HE 
85
					<td>CT (Contributeur), AU (Auteur), CO (Collecteur), DE (Déterminateur), HE 
70
						(Hébergeur - particulier possédant une collection chez lui).</td>
86
						(Hébergeur - particulier possédant une collection chez lui).</td>
71
					<td>Rôle d'une personne.</td>
87
					<td>Rôle d'une personne.</td>
72
					<td>Limite les résultats aux institutions et collections liées a une personne dont le rôle 
88
					<td>Limite les résultats aux institutions et collections liées a une personne dont le rôle 
73
						correspond à la valeur indiquée.</td>
89
						correspond à la valeur indiquée.</td>
74
					<td><a href="<?=sprintf($url_exemple, urlencode('pr:AU'))?>">pr:AU</a></td>
90
					<td><a href="<?=sprintf($url_exemple, urlencode('pr:AU'))?>">pr:AU</a></td>
75
				</tr>
91
				</tr>
76
			</tbody>
92
			</tbody>
77
		</table>
93
		</table>
78
		<p>Pour les opérateurs dont la valeur possible est un <em>texte libre</em>, il est possible d'utiliser des jokers.
94
		<p>Pour les opérateurs dont la valeur possible est un <em>texte libre</em>, il est possible d'utiliser des jokers.
79
			Ces "jokers" permettent de modifier la recherche sur une chaine de caractères.</p>
95
			Ces "jokers" permettent de modifier la recherche sur une chaine de caractères.</p>
80
		<p>Exemples&nbsp;: <a href="<?=sprintf($url_exemple, urlencode('"herbier de Coste"'))?>">"herbier de Coste"</a>, 
96
		<p>Exemples&nbsp;: <a href="<?=sprintf($url_exemple, urlencode('"herbier de Coste"'))?>">"herbier de Coste"</a>, 
81
			<a href="<?=sprintf($url_exemple, urlencode('"herbier % Montpellier"'))?>">"herbier % Montpellier"</a>,
97
			<a href="<?=sprintf($url_exemple, urlencode('"herbier % Montpellier"'))?>">"herbier % Montpellier"</a>,
82
			<a href="<?=sprintf($url_exemple, urlencode('p:"Jo_l"'))?>">p:"Jo_l"</a>.
98
			<a href="<?=sprintf($url_exemple, urlencode('p:"Jo_l"'))?>">p:"Jo_l"</a>.
83
		</p>
99
		</p>
84
		<table>
100
		<table>
85
			<thead>
101
			<thead>
86
				<tr>
102
				<tr>
87
					<th>Joker</th>
103
					<th>Joker</th>
88
					<th>Explication</th>
104
					<th>Explication</th>
89
					<th>Exemples</th>
105
					<th>Exemples</th>
90
				</tr>
106
				</tr>
91
			</thead>
107
			</thead>
92
			<tbody>
108
			<tbody>
93
				<tr>
109
				<tr>
94
					<td>""</td>
110
					<td>""</td>
95
					<td>Permet de rechercher sur une expression exacte.</td>
111
					<td>Permet de rechercher sur une expression exacte.</td>
96
					<td><a href="<?=sprintf($url_exemple, urlencode('"Archives de l\'herbier Granger"'))?>">
112
					<td><a href="<?=sprintf($url_exemple, urlencode('"Archives de l\'herbier Granger"'))?>">
97
						"Archives de l'herbier Granger"</a></td>
113
						"Archives de l'herbier Granger"</a></td>
98
				</tr>
114
				</tr>
99
				<tr>
115
				<tr>
100
					<td>%</td>
116
					<td>%</td>
101
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
117
					<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
102
					<td><a href="<?=sprintf($url_exemple, urlencode('"herbier %Abbé% Carondelet"'))?>">
118
					<td><a href="<?=sprintf($url_exemple, urlencode('"herbier %Abbé% Carondelet"'))?>">
103
						"herbier %Abbé% Carondelet"</a></td>
119
						"herbier %Abbé% Carondelet"</a></td>
104
				</tr>
120
				</tr>
105
				<tr>
121
				<tr>
106
					<td>_</td>
122
					<td>_</td>
107
					<td>Remplace exactement un caractère</td>
123
					<td>Remplace exactement un caractère</td>
108
					<td><a href="<?=sprintf($url_exemple, urlencode('p:"Jo_l"'))?>">p:"Jo_l"</a></td>
124
					<td><a href="<?=sprintf($url_exemple, urlencode('p:"Jo_l"'))?>">p:"Jo_l"</a></td>
109
				</tr>
125
				</tr>
110
			</tbody>
126
			</tbody>
111
		</table>
127
		</table>
112
	</div>
128
	</div>
113
</div>
-
 
114
129
</div>
-
 
130
<!-- COL - FIN MOTEUR RECHERCHE -->
-
 
131
115
132