Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 343 → Rev 344

/branches/v2.0-betulales/interfaces/squelettes/moteur.tpl.html
New file
0,0 → 1,208
<!-- REF - DEBUT MOTEUR RECHERCHE -->
<script type="text/javascript">
// Function pour cacher / afficher les options de recherche
$(document).ready(function() {
// affichage lors du chargement de la page
$.cookie('AfficherCacherRech', <?=$affiche_moteur?>) ;
if ($.cookie('AfficherCacherRech') == null) {
$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
$('#ref-rech-opt').show();
$.cookie('AfficherCacherRech', 20);
} else if ($.cookie('AfficherCacherRech') == 10) {
$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
$('#ref-rech-opt').hide();
$.cookie('AfficherCacherRech', 10);
} else {
$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
$('#ref-rech-opt').show();
$.cookie('AfficherCacherRech', 20);
}
// changement d'affichage après un clic
$("#ref-rech-opt-toggle").click(function() {
if ($.cookie('AfficherCacherRech') == 20) {
$("#ref-rech-opt-toggle").html("Afficher la recherche avancée");
$('#ref-rech-opt').hide();
$.cookie('AfficherCacherRech', 10);
} else {
$("#ref-rech-opt-toggle").html("Cacher la recherche avancée");
$('#ref-rech-opt').show();
$.cookie('AfficherCacherRech', 20);
}
});
// Sélection du texte de la zone de recherche sur le focus
$("#recherche").focus(function(){
this.select();
});
});
</script>
<p>
Bienvenue dans l'espace de consultation de la <?=$nom_referentiel?> en cours d'actualisation.<br />
<?= ($forum_referentiel != false) ?
'Pour transmettre vos remarques au groupe de travail, veuillez utiliser le forum dédié : <b><a href="mailto:'.
$forum_referentiel.'">'.$forum_referentiel.'</a></b>.<br />'
: ''; ?>
<?= ($site_referentiel != false) ?
'Vous pouvez accéder au site de l\'auteur : <b><a href="'.
$site_referentiel.'">'.$site_referentiel.'</a></b>.<br />'
: ''; ?>
Pour les remarques concernant les fonctionnalités de l'interface de consultation, veuillez utiliser l'adresse : <b><a href="mailto:referentiels@tela-botanica.org">referentiels@tela-botanica.org</a></b>
</p>
<h1>Consultation de la <?=$nom_referentiel?> - Mis à jour le <?=$date_miseajour;?></h1>
<p><i>
Par défaut, la recherche est insensible à la casse (majuscule / minuscule) et s'effectue
en intercalant automatiquement le joker % avant et après le terme recherché.
</i></p>
<form id="ref-form" action="<?=$url_form;?>" method="get">
<p>
<input name="ref" type="hidden" value="<?=$url_referentiel;?>" />
<input name="module" type="hidden" value="<?=$url_module;?>" />
<input name="action" type="hidden" value="<?=$url_action;?>" />
<label id="ref-rech" for="recherche">Rechercher</label>
<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
<input id="ref-rech-ok" type="submit" value="OK" />
<a id="ref-rech-opt-toggle" href="#ref-rech-opt-txt" title="Précisions sur les options de recherche">Cacher la recherche avancée</a>
</p>
</form>
<div id="ref-rech-opt">
<h2 id="ref-rech-opt-titre">Options de recherche</h2>
<div id="ref-rech-opt-txt">
 
<p>
La recherche avancée permet de préciser la requête en associant des opérateurs au(x) terme(s) recherché(s). Les opérateurs sont listés dans
le tableau ci-dessous. <br />
</p>
<table class="largeur-14">
<thead>
<tr>
<th class="largeur-01">Opérateur</th>
<th class="largeur-10">Signification</th>
<th class="largeur-03">Exemples</th>
</tr>
</thead>
<tbody>
<tr>
<td>#</td>
<td>Afficher toute la base</td>
<td><a href="<?=Recherche::getUrlRecherche('#', $url_referentiel)?>">#</a></td>
</tr>
<tr>
<td>gen:</td>
<td>Genre</td>
<td><a href="<?=Recherche::getUrlRecherche('gen:abies', $url_referentiel)?>">gen:abies</a></td>
</tr>
<tr>
<td>sp:</td>
<td>Espèce</td>
<td><a href="<?=Recherche::getUrlRecherche('sp:maritimum', $url_referentiel)?>">
sp:maritimum</a></td>
</tr>
<tr>
<td>sg:</td>
<td>Famille, ordre, classe ("nom supra-générique")</td>
<td><a href="<?=Recherche::getUrlRecherche('sg:Adiantaceae', $url_referentiel)?>">sg:Adiantaceae</a></td>
</tr>
<tr>
<td>ssp:</td>
<td>Sous-espèce, variété, forme ("nom infra-spécifique")</td>
<td><a href="<?=Recherche::getUrlRecherche('ssp:cuprina', $url_referentiel)?>">ssp:cuprina</a></td>
</tr>
<tr>
<td>au:</td>
<td>Auteur</td>
<td><a href="<?=Recherche::getUrlRecherche('au:Tausch', $url_referentiel)?>">au:Tausch</a></td>
</tr>
<tr>
<td>an:</td>
<td>Année</td>
<td><a href="<?=Recherche::getUrlRecherche('an:2010', $url_referentiel)?>">an:2010</a></td>
</tr>
<tr>
<td>nn:</td>
<td>Numéro unique du nom scientifique</td>
<td><a href="<?=Recherche::getUrlRecherche('nn:7128,7547', $url_referentiel)?>">nn:7128,7547</a></td>
</tr>
<tr>
<td>bib:</td>
<td>Référence bibliographique de la publication d'origine du nom (sans l'année)</td>
<td><a href="<?=Recherche::getUrlRecherche('bib:Linnaea, 21 :', $url_referentiel)?>">bib:Linnaea, 21 :</a></td>
</tr>
<tr>
<td>nr:[1]</td>
<td>Afficher des noms retenus ([0] affiche les synonymes)</td>
<td><a href="<?=Recherche::getUrlRecherche('nr:1', $url_referentiel)?>">nr:1</a></td>
</tr>
<tr>
<td>tax:[1]</td>
<td>Afficher des synonymes sous les noms retenus correspondants</td>
<td><a href="<?=Recherche::getUrlRecherche('gen:scirpus tax:1', $url_referentiel)?>">gen:scirpus tax:1</a></td>
</tr>
<tr>
<td>pre:[1]</td>
<td>Afficher des taxons français (présent, supposé, douteux...),
inversement [0] ressort absents et non précisés</td>
<td><a href="<?=Recherche::getUrlRecherche('pre:1', $url_referentiel)?>">pre:1</a> ,<br />
<a href="<?=Recherche::getUrlRecherche('acer pre:1', $url_referentiel)?>">acer pre:1</a>
</td>
</tr>
<tr>
<td>taxref:[1]</td>
<td>Afficher des taxons qui seront envoyés au MNHN dans le cadre du programme TaxRef,
inversement [0] ressort les taxons mis en attente car non publiés ou non présents en France</td>
<td><a href="<?=Recherche::getUrlRecherche('taxref:1', $url_referentiel)?>">taxref:1</a> ,<br />
<a href="<?=Recherche::getUrlRecherche('acer taxref:0', $url_referentiel)?>">acer taxref:0</a>
</td>
</tr>
<tr>
<td>classif:[infra|supra]</td>
<td>Afficher les taxon inférieurs (-) ou supérieurs (+)</td>
<td><a href="<?=Recherche::getUrlRecherche('nn:182 classif:infra', $url_referentiel)?>">nn:182 classif:infra</a>,<br />
<a href="<?=Recherche::getUrlRecherche('nn:182 classif:supra', $url_referentiel)?>">nn:182 classif:supra</a>,<br />
<a href="<?=Recherche::getUrlRecherche('fabaceae classif:infra', $url_referentiel)?>">fabaceae classif:infra</a>
</td>
</tr>
<tr>
<td>rg:</td>
<td>Afficher la liste des noms d'un rang donné (famille 180, genre 220,
<a href="http://www.tela-botanica.org/wikini/RTaxMethodo/wakka.php?wiki=TaBle7">autres valeurs de rang)</a>.</td>
<td><a href="<?=Recherche::getUrlRecherche('rg:180', $url_referentiel)?>">rg:180</a>
</td>
</tr>
</tbody>
</table>
<p>
Si vous souhaitez utiliser deux opérateurs à la suite, ou un terme et un opérateur, pour
faire une recherche croisée, séparez-les uniquement par un espace.<br />
<em>Exemples&nbsp;:</em>
<a href="<?=Recherche::getUrlRecherche('l. gen:aba', $url_referentiel)?>">"l. gen:aba"</a>&nbsp; =>172 résultats;&nbsp;
<a href="<?=Recherche::getUrlRecherche('au:l. gen:aba', $url_referentiel)?>">"au:l. gen:aba"</a>&nbsp; => 25 résultats.
<br /><br />
Des "jokers" permettent d'élargir la recherche.
</p>
<table class="largeur-14">
<thead>
<tr>
<th class="largeur-01">Joker</th>
<th class="largeur-10">Explication</th>
<th class="largeur-03">Exemples</th>
</tr>
</thead>
<tbody>
<tr>
<td>%</td>
<td>Remplace n'importe quel nombre de caractères, y compris aucun.</td>
<td><a href="<?=Recherche::getUrlRecherche('gen:de%m sp:m%m', $url_referentiel)?>">
gen:de%m sp:m%m</a></td>
</tr>
<tr>
<td>_</td>
<td>Remplace exactement un caractère</td>
<td><a href="<?=Recherche::getUrlRecherche('gen:a_ar', $url_referentiel)?>">gen:a_ar</a></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- REF - FIN MOTEUR RECHERCHE -->