Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

Ignore whitespace Rev 24 → Rev 25

/trunk/squelettes/resultat.tpl.html
1,3 → 1,4
<!-- COL - DEBUT RESULTAT -->
<div id="col_resultat">
<?=$fragmenteur;?>
<?php if (isset($infos)) : ?>
13,4 → 14,5
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>
</div>
<!-- COL - FIN RESULTAT -->
/trunk/squelettes/css/collection.css
20,7 → 20,7
dt:after{
content:" : ";}
/* hack de commentaire avec un antislash pour ie5 mac \*/
h2, h3, dt, hr {
h2, h3, dt, .nettoyeur{
clear:both;}
/* end hack */
dd{
29,6 → 29,8
margin:0 0 0 0;
padding:.3em;
border-top:1px solid #999;}
.nettoyeur{
visibility:hidden;}
/* Table */
table{
border:1px solid #1C3C78;
55,11 → 57,19
caption{
font-family:sans-serif;}
/*--------------------------------------------------------------------------------------------------------------*/
/* Présentation fiche */
/* Présentation Moteur */
label#col-rech{
display:none;}
/*--------------------------------------------------------------------------------------------------------------*/
/* Présentation Fiche */
.discretion{
color:#A9A9A9;
font-size:10px;
font-weight:normal;}
#texte li{
margin:0;}
.col-sommaire a{
background:none;}
/*--------------------------------------------------------------------------------------------------------------*/
/* Tableau du chronométrage du programme */
#pied_texte #chrono{
/trunk/squelettes/fiche_collection.tpl.html
1,301 → 1,344
<!-- COL - DEBUT FICHE COLLECTION -->
<script type="text/javascript">
$(function() {
$("#col-col").tabs();
});
</script>
<h1><?=$info['cc_nom']?> <span class="discretion">(id:<?=$id?>)</span></h1>
<dl>
<dt>Structure</dt> <dd><a href="<?=$info['_structure_url_']?>"><?=$info['_structure_nom_']?></a></dd>
<dt>Ville</dt> <dd><?=$info['_structure_ville_']?></dd>
</dl>
<hr class="nettoyeur"/>
<div id="col-col" class="col-onglets">
<ul class="col-sommaire">
<li><a href="#col-col-general">Général</a></li>
<li><a href="#col-col-personne">Personnes</a></li>
<li><a href="#col-col-publication">Publications</a></li>
<li><a href="#col-col-description">Description</a></li>
<li><a href="#col-col-contenu">Contenu</a></li>
<li><a href="#col-col-inventaire">Inventaire</a></li>
<li><a href="#col-col-note">Notes</a></li>
<li><a href="#col-col-meta">Méta-données</a></li>
</ul>
<div id="col-col-general">
<h2>Général</h2>
<h3>Renseignements administratifs</h3>
<dl>
<dt>Autres intitulés</dt> <dd><?=$info['_nom_alternatif_']?></dd>
<dt>À pour collection parente</dt> <dd><?=$info['_collection_mere_nom_']?> <?php if ($info['cc_ce_mere'] != '0') : ?><span class="discretion">(id:<?=$info['cc_ce_mere']?>)</span><?php endif; ?></dd>
<dt>Type de collection</dt> <dd><?=$info['_type_ncd_']?></dd>
<dt>Statut</dt> <dd><?=$info['_type_depot_']?></dd>
<dt>Identifiants alternatifs</dt> <dd><?=$info['_identifiant_alternatif_']?></dd>
<dt>Acronymes</dt> <dd><?=$info['_code_']?></dd>
<dt>Cote</dt> <dd><?=$info['cc_cote']?></dd>
</dl>
<h3>Statut, intitulés et codes</h3>
<dl>
<dt>Description</dt> <dd><?=$info['cc_description']?></dd>
<dt>Description spécialiste</dt> <dd><?=$info['cc_description_specialiste']?></dd>
<dt>Historique</dt> <dd><?=$info['cc_historique']?></dd>
<dt>Site web</dt> <dd><?=$info['_url_']?></dd>
</dl>
<h3>Spécimens «types»</h3>
<dl>
<dt>Présence</dt> <dd><?=$info['_specimen_type_']?></dd>
<dt>Nombre</dt> <dd><?=$info['cc_specimen_type_nbre']?> <?=$info['_specimen_type_nbre_precision_']?></dd>
<dt>Classement</dt> <dd><?=$info['_specimen_type_classement_']?></dd>
</dl>
<h3>Couvertures</h3>
<dl>
<dt>Principe de groupement</dt> <dd><?=$info['_groupement_principe_']?></dd>
<dt>But du groupement</dt> <dd><?=$info['_groupement_but_']?></dd>
<dt>Lieux concernés</dt> <dd><?=$info['_couverture_lieu_']?></dd>
</dl>
<hr class="nettoyeur"/>
</div>
 
<h2>Général</h2>
<h3>Renseignements administratifs</h3>
<dl>
<dt>Autres intitulés</dt> <dd><?=$info['_nom_alternatif_']?></dd>
<dt>À pour collection parente</dt> <dd><?=$info['_collection_mere_nom_']?> <?php if ($info['cc_ce_mere'] != '0') : ?><span class="discretion">(id:<?=$info['cc_ce_mere']?>)</span><?php endif; ?></dd>
<dt>Type de collection</dt> <dd><?=$info['_type_ncd_']?></dd>
<dt>Statut</dt> <dd><?=$info['_type_depot_']?></dd>
<dt>Identifiants alternatifs</dt> <dd><?=$info['_identifiant_alternatif_']?></dd>
<dt>Acronymes</dt> <dd><?=$info['_code_']?></dd>
<dt>Cote</dt> <dd><?=$info['cc_cote']?></dd>
</dl>
<div id="col-col-personne">
<h2>Personnes</h2>
<h3>Personne(s) liées à la collection</h3>
<?php if (count($personnes) > 0) : ?>
<table>
<thead>
<tr>
<th>Relation</th>
<th>Nom Complet</th>
<th>Nom</th>
<th>Prénom</th>
<th>Date de naissance</th>
<th>Lieu de naissance</th>
<th>Décès</th>
<th>Date de décès</th>
<th>Lieu de décès</th>
</tr>
</thead>
<tbody>
<?php foreach ($personnes as $personne) : ?>
<tr>
<td><?=$personne['_role_']?></td>
<td><?=$personne['cp_fmt_nom_complet']?></td>
<td><?=$personne['cp_nom']?></td>
<td><?=$personne['cp_prenom']?></td>
<td><?=$personne['_naissance_date_']?></td>
<td><?=$personne['cp_naissance_lieu']?></td>
<td><?=$personne['_deces_']?></td>
<td><?=$personne['_deces_date_']?></td>
<td><?=$personne['cp_deces_lieu']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune</p>
<?php endif; ?>
</div>
<div id="col-col-publication">
<h2>Publications</h2>
<h3>Publication(s) de la collection</h3>
<?php if (count($publications) > 0) : ?>
<table>
<thead>
<tr>
<th>Auteurs</th>
<th>Titre</th>
<th>Nom de la revue / collection</th>
<th>Éditeur</th>
<th>Année</th>
<th>Série / Tome</th>
<th>Fascicule</th>
<th>Page(s)</th>
</tr>
</thead>
<tbody>
<?php foreach ($publications as $publication) : ?>
<tr>
<td><?=$publication['cpu_fmt_auteur']?></td>
<td><?=$publication['cpu_titre']?></td>
<td><?=$publication['cpu_collection']?></td>
<td><?=$publication['_editeur_']?></td>
<td><?=$publication['_date_parution_']?></td>
<td><?=$publication['cpu_indication_nvt']?></td>
<td><?=$publication['cpu_fascicule']?></td>
<td><?=$publication['cpu_truk_pages']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune</p>
<?php endif; ?>
</div>
 
<h3>Statut, intitulés et codes</h3>
<dl>
<dt>Description</dt> <dd><?=$info['cc_description']?></dd>
<dt>Description spécialiste</dt> <dd><?=$info['cc_description_specialiste']?></dd>
<dt>Historique</dt> <dd><?=$info['cc_historique']?></dd>
<dt>Site web</dt> <dd><?=$info['_url_']?></dd>
</dl>
<div id="col-col-description">
<h2>Description</h2>
<h3>Description et état de la collection</h3>
<dl>
<dt>Type d'herbier</dt> <dd><?=$info['_type_']?></dd>
<dt>Nombre de cartons ou liasses échantillonnés</dt> <dd><?=$info['ccb_nbre_echantillon']?></dd>
</dl>
<h3>Types d'unité de rangement de la collection botanique</h3>
<dl>
<dt>État général</dt> <dd><?=$info['_unite_rangement_etat_']?></dd>
</dl>
<hr class="nettoyeur"/>
<?php if (count($info['_rangements_']) > 0) : ?>
<table>
<thead>
<tr>
<th>Type</th>
<th>Nombre</th>
<th>Précision</th>
<th>Format</th>
</tr>
</thead>
<tbody>
<?php foreach ($info['_rangements_'] as $rangement) : ?>
<tr>
<td><?=$rangement['type']?></td>
<td><?=$rangement['nbre']?></td>
<td><?=$rangement['precision']?></td>
<td><?=$rangement['format']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune unité de rangement n'a été renseignée.</p>
<?php endif; ?>
<h3>Types d'unité de base de la collection si différent de l'untité de rangement</h3>
<?php if (count($info['_unites_base_']) > 0) : ?>
<table>
<thead>
<tr>
<th colspan="4">Unité de base</th>
<th colspan="2">Parts</th>
<th colspan="2">Espèces</th>
</tr>
<tr>
<th>Type</th>
<th>Nombre</th>
<th>Précision</th>
<th>Format</th>
<th>Nombre</th>
<th>Précision</th>
<th>Nombre</th>
<th>Précision</th>
</tr>
</thead>
<tbody>
<?php foreach ($info['_unites_base_'] as $unite_base) : ?>
<tr>
<td><?=$unite_base['type']?></td>
<td><?=$unite_base['nbre']?></td>
<td><?=$unite_base['precision']?></td>
<td><?=$unite_base['format']?></td>
<td><?=$unite_base['part_nbre']?></td>
<td><?=$unite_base['part_precision']?></td>
<td><?=$unite_base['sp_nbre']?></td>
<td><?=$unite_base['sp_precision']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune unité de base n'a été renseignée.</p>
<?php endif; ?>
<h3>Conservation</h3>
<dl>
<dt>Type de papier</dt> <dd><?=$info['_conservation_papier_type_']?></dd>
<dt>Méthode</dt> <dd><?=$info['_conservation_methode_']?></dd>
</dl>
<h3>Étiquettes</h3>
<dl>
<dt>% de spécimen fixés</dt> <dd><?=$info['ccb_specimen_fixation_pourcent']?>%</dd>
<dt>% d'étiquettes fixées</dt> <dd><?=$info['ccb_etiquette_fixation_pourcent']?>%</dd>
<dt>Méthode de fixation du spécimen</dt> <dd><?=$info['_specimen_fixation_methode_']?></dd>
<dt>Méthode de fixation des étiquettes au support</dt> <dd><?=$info['_etiquette_fixation_support_']?></dd>
<dt>Méthode de fixation des étiquettes au spécimen</dt> <dd><?=$info['_etiquette_fixation_specimen_']?></dd>
<dt>Type d'écriture des étiquettes</dt> <dd><?=$info['_etiquette_ecriture_']?></dd>
</dl>
<h3>Traitements</h3>
<dl>
<dt>Traitement</dt> <dd><?=$info['_traitement_']?></dd>
<dt>Empoisonnement</dt> <dd><?=$info['_traitement_poison_']?></dd>
<dt>Pesticide</dt> <dd><?=$info['_traitement_insecte_']?></dd>
</dl>
<h3>État général et dégradation</h3>
<dl>
<dt>État général</dt> <dd><?=$info['_etat_general_']?></dd>
<dt>Causes de dégradation des spécimens</dt> <dd><?=$info['_degradation_specimen_']?></dd>
<dt>Causes de dégradation de la présentation</dt> <dd><?=$info['_degradation_presentation_']?></dd>
<dt>Détermination des échantillons</dt> <dd><?=$info['_determination_']?></dd>
</dl>
<hr class="nettoyeur"/>
</div>
 
<h3>Spécimens «types»</h3>
<dl>
<dt>Présence</dt> <dd><?=$info['_specimen_type_']?></dd>
<dt>Nombre</dt> <dd><?=$info['cc_specimen_type_nbre']?> <?=$info['_specimen_type_nbre_precision_']?></dd>
<dt>Classement</dt> <dd><?=$info['_specimen_type_classement_']?></dd>
</dl>
<div id="col-col-contenu">
<h2>Contenu</h2>
<h3>Nature</h3>
<dl>
<dt>Nature de la collection</dt> <dd><?=$info['_nature_']?></dd>
<dt>Collection spécialisée</dt> <dd><?=$info['ccb_specialite']?></dd>
</dl>
<h3>Période de constitution</h3>
<dl>
<dt>Période de constitution</dt> <dd><?=$info['_periode_constitution_']?></dd>
<dt>Date de DÉBUT de récolte</dt> <dd><?=$info['ccb_recolte_date_debut']?> <?=$info['_recolte_date_debut_type_']?></dd>
<dt>Date de FIN de récolte</dt> <dd><?=$info['ccb_recolte_date_fin']?> <?=$info['_recolte_date_fin_type_']?></dd>
</dl>
<h3>Classement</h3>
<dl>
<dt>État du classement</dt> <dd><?=$info['_classement_etat_']?></dd>
<dt>Principe de classement</dt> <dd><?=$info['ccb_annotation_classement']?></dd>
</dl>
<h3>Étiquette</h3>
<dl>
<dt>Renseignements</dt> <dd><?=$info['_etiquette_renseignement_']?></dd>
<dt>Localités précises</dt> <dd><?=$info['_precision_localite_']?></dd>
<dt>Dates précises</dt> <dd><?=$info['_precision_date_']?></dd>
<dt>Annotations</dt> <dd><?=$info['ccb_annotation_diverse']?></dd>
</dl>
<h3>Collections intégrées</h3>
<dl>
<dt>Intégration de collection antérieures</dt> <dd><?=$info['_collection_integre_']?></dd>
<dt>Nom de la collection sur les étiquettes</dt> <dd><?=$info['_collection_integre_info_']?></dd>
</dl>
<hr class="nettoyeur"/>
</div>
 
<h3>Couvertures</h3>
<dl>
<dt>Principe de groupement</dt> <dd><?=$info['_groupement_principe_']?></dd>
<dt>But du groupement</dt> <dd><?=$info['_groupement_but_']?></dd>
<dt>Lieux concernés</dt> <dd><?=$info['_couverture_lieu_']?></dd>
</dl>
<div id="col-col-inventaire">
<h2>Inventaire</h2>
<h3>Inventaire (autre que celui de l'auteur)</h3>
<dl>
<dt>Existence inventaire</dt> <dd><?=$info['_inventaire_']?></dd>
<dt>Participation de l'auteur</dt> <dd><?=$info['_inventaire_auteur_']?></dd>
<dt>Forme de l'inventaire</dt> <dd><?=$info['_inventaire_forme_']?></dd>
<dt>Informations disponibles</dt> <dd><?=$info['ccb_inventaire_info']?></dd>
<dt>Logiciel utilisé</dt> <dd><?=$info['_inventaire_digital_']?></dd>
<dt>% en base de données</dt> <dd><?=$info['ccb_inventaire_digital_pourcent']?>%</dd>
<dt>État inventaire</dt> <dd><?=$info['_inventaire_etat_']?></dd>
</dl>
<hr class="nettoyeur"/>
</div>
 
<h3>Divers</h3>
<dl>
<dt>GUID</dt> <dd><?=$info['cc_guid']?> </dd>
<dt>Notes</dt> <dd><?=$info['cmhl_notes']?> </dd>
<dt>Sources</dt> <dd><?=$info['cmhl_source']?> </dd>
<dt>Modifié par</dt> <dd><?=$info['_modifier_par_']?> </dd>
<dt>Date de dernière modification</dt> <dd><?=$info['cmhl_date_modification']?> </dd>
<dt>État de l'enregistrement</dt> <dd><?=$info['_etat_']?> </dd>
</dl>
 
<h2>Personnes</h2>
<h3>Personne(s) liées à la collection</h3>
<?php if (count($personnes) > 0) : ?>
<table>
<thead>
<tr>
<th>Relation</th>
<th>Nom Complet</th>
<th>Nom</th>
<th>Prénom</th>
<th>Date de naissance</th>
<th>Lieu de naissance</th>
<th>Décès</th>
<th>Date de décès</th>
<th>Lieu de décès</th>
</tr>
</thead>
<tbody>
<?php foreach ($personnes as $personne) : ?>
<tr>
<td><?=$personne['_role_']?></td>
<td><?=$personne['cp_fmt_nom_complet']?></td>
<td><?=$personne['cp_nom']?></td>
<td><?=$personne['cp_prenom']?></td>
<td><?=$personne['_naissance_date_']?></td>
<td><?=$personne['cp_naissance_lieu']?></td>
<td><?=$personne['_deces_']?></td>
<td><?=$personne['_deces_date_']?></td>
<td><?=$personne['cp_deces_lieu']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune</p>
<?php endif; ?>
 
<h2>Publications</h2>
<h3>Publication(s) de la collection</h3>
<?php if (count($publications) > 0) : ?>
<table>
<thead>
<tr>
<th>Auteurs</th>
<th>Titre</th>
<th>Nom de la revue / collection</th>
<th>Éditeur</th>
<th>Année</th>
<th>Série / Tome</th>
<th>Fascicule</th>
<th>Page(s)</th>
</tr>
</thead>
<tbody>
<?php foreach ($publications as $publication) : ?>
<tr>
<td><?=$publication['cpu_fmt_auteur']?></td>
<td><?=$publication['cpu_titre']?></td>
<td><?=$publication['cpu_collection']?></td>
<td><?=$publication['_editeur_']?></td>
<td><?=$publication['_date_parution_']?></td>
<td><?=$publication['cpu_indication_nvt']?></td>
<td><?=$publication['cpu_fascicule']?></td>
<td><?=$publication['cpu_truk_pages']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune</p>
<?php endif; ?>
 
<h2>Description</h2>
<h3>Description et état de la collection</h3>
<dl>
<dt>Type d'herbier</dt> <dd><?=$info['_type_']?></dd>
<dt>Nombre de cartons ou liasses échantillonnés</dt> <dd><?=$info['ccb_nbre_echantillon']?></dd>
</dl>
 
<h3>Types d'unité de rangement de la collection botanique</h3>
<dl>
<dt>État général</dt> <dd><?=$info['_unite_rangement_etat_']?></dd>
</dl>
<?php if (count($info['_rangements_']) > 0) : ?>
<table>
<thead>
<tr>
<th>Type</th>
<th>Nombre</th>
<th>Précision</th>
<th>Format</th>
</tr>
</thead>
<tbody>
<?php foreach ($info['_rangements_'] as $rangement) : ?>
<tr>
<td><?=$rangement['type']?></td>
<td><?=$rangement['nbre']?></td>
<td><?=$rangement['precision']?></td>
<td><?=$rangement['format']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune unité de rangement n'a été renseignée.</p>
<?php endif; ?>
 
<h3>Types d'unité de base de la collection si différent de l'untité de rangement</h3>
<?php if (count($info['_unites_base_']) > 0) : ?>
<table>
<thead>
<tr>
<th colspan="4">Unité de base</th>
<th colspan="2">Parts</th>
<th colspan="2">Espèces</th>
</tr>
<tr>
<th>Type</th>
<th>Nombre</th>
<th>Précision</th>
<th>Format</th>
<th>Nombre</th>
<th>Précision</th>
<th>Nombre</th>
<th>Précision</th>
</tr>
</thead>
<tbody>
<?php foreach ($info['_unites_base_'] as $unite_base) : ?>
<tr>
<td><?=$unite_base['type']?></td>
<td><?=$unite_base['nbre']?></td>
<td><?=$unite_base['precision']?></td>
<td><?=$unite_base['format']?></td>
<td><?=$unite_base['part_nbre']?></td>
<td><?=$unite_base['part_precision']?></td>
<td><?=$unite_base['sp_nbre']?></td>
<td><?=$unite_base['sp_precision']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune unité de base n'a été renseignée.</p>
<?php endif; ?>
 
<h3>Conservation</h3>
<dl>
<dt>Type de papier</dt> <dd><?=$info['_conservation_papier_type_']?></dd>
<dt>Méthode</dt> <dd><?=$info['_conservation_methode_']?></dd>
</dl>
 
<h3>Étiquettes</h3>
<dl>
<dt>% de spécimen fixés</dt> <dd><?=$info['ccb_specimen_fixation_pourcent']?>%</dd>
<dt>% d'étiquettes fixées</dt> <dd><?=$info['ccb_etiquette_fixation_pourcent']?>%</dd>
<dt>Méthode de fixation du spécimen</dt> <dd><?=$info['_specimen_fixation_methode_']?></dd>
<dt>Méthode de fixation des étiquettes au support</dt> <dd><?=$info['_etiquette_fixation_support_']?></dd>
<dt>Méthode de fixation des étiquettes au spécimen</dt> <dd><?=$info['_etiquette_fixation_specimen_']?></dd>
<dt>Type d'écriture des étiquettes</dt> <dd><?=$info['_etiquette_ecriture_']?></dd>
</dl>
 
<h3>Traitements</h3>
<dl>
<dt>Traitement</dt> <dd><?=$info['_traitement_']?></dd>
<dt>Empoisonnement</dt> <dd><?=$info['_traitement_poison_']?></dd>
<dt>Pesticide</dt> <dd><?=$info['_traitement_insecte_']?></dd>
</dl>
 
<h3>État général et dégradation</h3>
<dl>
<dt>État général</dt> <dd><?=$info['_etat_general_']?></dd>
<dt>Causes de dégradation des spécimens</dt> <dd><?=$info['_degradation_specimen_']?></dd>
<dt>Causes de dégradation de la présentation</dt> <dd><?=$info['_degradation_presentation_']?></dd>
<dt>Détermination des échantillons</dt> <dd><?=$info['_determination_']?></dd>
</dl>
 
<h2>Contenu</h2>
<h3>Nature</h3>
<dl>
<dt>Nature de la collection</dt> <dd><?=$info['_nature_']?></dd>
<dt>Collection spécialisée</dt> <dd><?=$info['ccb_specialite']?></dd>
</dl>
 
<h3>Période de constitution</h3>
<dl>
<dt>Période de constitution</dt> <dd><?=$info['_periode_constitution_']?></dd>
<dt>Date de DÉBUT de récolte</dt> <dd><?=$info['ccb_recolte_date_debut']?> <?=$info['_recolte_date_debut_type_']?></dd>
<dt>Date de FIN de récolte</dt> <dd><?=$info['ccb_recolte_date_fin']?> <?=$info['_recolte_date_fin_type_']?></dd>
</dl>
 
<h3>Classement</h3>
<dl>
<dt>État du classement</dt> <dd><?=$info['_classement_etat_']?></dd>
<dt>Principe de classement</dt> <dd><?=$info['ccb_annotation_classement']?></dd>
</dl>
 
<h3>Étiquette</h3>
<dl>
<dt>Renseignements</dt> <dd><?=$info['_etiquette_renseignement_']?></dd>
<dt>Localités précises</dt> <dd><?=$info['_precision_localite_']?></dd>
<dt>Dates précises</dt> <dd><?=$info['_precision_date_']?></dd>
<dt>Annotations</dt> <dd><?=$info['ccb_annotation_diverse']?></dd>
</dl>
 
<h3>Collections intégrées</h3>
<dl>
<dt>Intégration de collection antérieures</dt> <dd><?=$info['_collection_integre_']?></dd>
<dt>Nom de la collection sur les étiquettes</dt> <dd><?=$info['_collection_integre_info_']?></dd>
</dl>
 
<h2>Inventaire</h2>
<h3>Inventaire (autre que celui de l'auteur)</h3>
<dl>
<dt>Existence inventaire</dt> <dd><?=$info['_inventaire_']?></dd>
<dt>Participation de l'auteur</dt> <dd><?=$info['_inventaire_auteur_']?></dd>
<dt>Forme de l'inventaire</dt> <dd><?=$info['_inventaire_forme_']?></dd>
<dt>Informations disponibles</dt> <dd><?=$info['ccb_inventaire_info']?></dd>
<dt>Logiciel utilisé</dt> <dd><?=$info['_inventaire_digital_']?></dd>
<dt>% en base de données</dt> <dd><?=$info['ccb_inventaire_digital_pourcent']?>%</dd>
<dt>État inventaire</dt> <dd><?=$info['_inventaire_etat_']?></dd>
</dl>
 
<h2>Notes</h2>
<h3>Notes liées à la collection</h3>
<?php if (count($commentaires) > 0) : ?>
<table>
<thead>
<tr>
<th>Type</th>
<th>Titre</th>
<th>Importance</th>
</tr>
</thead>
<tbody>
<?php foreach ($commentaires as $commentaire) : ?>
<tr>
<td><?=$commentaire['_type_']?></td>
<td><?=$commentaire['ccm_titre']?></td>
<td><?=$commentaire['ccm_ponderation']?></td>
</tr>
<tr>
<td colspan="3"><?=$commentaire['ccm_texte']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune note n'a été ajoutée.</p>
<?php endif; ?>
<div id="col-col-note">
<h2>Notes</h2>
<h3>Notes liées à la collection</h3>
<?php if (count($commentaires) > 0) : ?>
<table>
<thead>
<tr>
<th>Type</th>
<th>Titre</th>
<th>Importance</th>
</tr>
</thead>
<tbody>
<?php foreach ($commentaires as $commentaire) : ?>
<tr>
<td><?=$commentaire['_type_']?></td>
<td><?=$commentaire['ccm_titre']?></td>
<td><?=$commentaire['ccm_ponderation']?></td>
</tr>
<tr>
<td colspan="3"><?=$commentaire['ccm_texte']?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<p>Aucune note n'a été ajoutée.</p>
<?php endif; ?>
</div>
<div id="col-col-meta">
<h2>Méta-données</h2>
<dl>
<dt>GUID</dt> <dd><?=$info['cc_guid']?> </dd>
<dt>Notes</dt> <dd><?=$info['cmhl_notes']?> </dd>
<dt>Sources</dt> <dd><?=$info['cmhl_source']?> </dd>
<dt>Modifié par</dt> <dd><?=$info['_modifier_par_']?> </dd>
<dt>Date de dernière modification</dt> <dd><?=$info['cmhl_date_modification']?> </dd>
<dt>État de l'enregistrement</dt> <dd><?=$info['_etat_']?> </dd>
</dl>
<hr class="nettoyeur"/>
</div>
</div>
<!-- COL - FIN FICHE COLLECTION -->
/trunk/squelettes/js/jquery.cookie.js
New file
0,0 → 1,96
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
 
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
* used when the cookie was set.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
* If set to null or omitted, the cookie will be a session cookie and will not be retained
* when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
* require a secure protocol (like HTTPS).
* @type undefined
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
 
/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @return The value of the cookie.
* @type String
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
var date;
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
// CAUTION: Needed to parenthesize options.path and options.domain
// in the following expressions, otherwise they evaluate to undefined
// in the packed version for some reason...
var path = options.path ? '; path=' + (options.path) : '';
var domain = options.domain ? '; domain=' + (options.domain) : '';
var secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
} else { // only name given, get cookie
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies[i]);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
};
/trunk/squelettes/moteur.tpl.html
1,13 → 1,29
<!-- COL - DEBUT MOTEUR RECHERCHE -->
<script type="text/javascript">
// Function pour cacher / afficher les options de recherche
$(document).ready(function() {
$("#col-rech-opt").hide();
$("#col-rech-opt-toggle").html("Afficher l'aide");
$("#col-rech-opt-toggle").toggle(
function() {
$("#col-rech-opt-toggle").html("Cacher l'aide");
$("#col-rech-opt").toggle("slow");
},
function() {
$("#col-rech-opt-toggle").html("Afficher l'aide");
$("#col-rech-opt").toggle("slow");
}
);
});
</script>
<h2>Rechercher une collection</h2>
<form id="col-form" name="col-form" action="<?=$url_form;?>" method="get">
<input name="module" type="hidden" value="<?=$url_module;?>" />
<input name="action" type="hidden" value="<?=$url_action;?>" />
<fieldset>
<legend>Rechercher</legend>
<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
<input id="col-rech-ok" type="submit" value="OK" />
<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à l'aide</a>
</fieldset>
<label id="col-rech"for="recherche">Rechercher</label>
<input id="recherche" name="recherche" type="text" value="<?=$recherche;?>" size="75" maxlength="250"/>
<input id="col-rech-ok" type="submit" value="OK" />
<a id="col-rech-opt-toggle" href="#col-rech-opt-txt" title="Précisions sur les options de recherche">Allez à l'aide</a>
</form>
<div id="col-rech-opt">
<h2 id="col-rech-opt-titre">Options de recherche</h2>
110,4 → 126,5
</tbody>
</table>
</div>
</div>
</div>
<!-- COL - FIN MOTEUR RECHERCHE -->
/trunk/squelettes/carte.tpl.html
New file
0,0 → 1,5
<!-- COL - DEBUT CARTE -->
<div id="col-cartographie">
<?=$map;?>
</div>
<!-- COL - FIN CARTE -->
/trunk/squelettes/fiche_structure.tpl.html
1,4 → 1,4
<!-- DEBUT FICHE STRUCTURE -->
<!-- COL - DEBUT FICHE STRUCTURE -->
<script type="text/javascript">
$(function() {
$("#col-str").tabs();
5,13 → 5,14
});
</script>
<h1><?=$info['cs_nom']?> <span class="discretion">(id:<?=$id?>)</span></h1>
<div id="col-str">
<ul>
<div id="col-str" class="col-onglets">
<ul class="col-sommaire">
<li><a href="#col-str-general">Général</a></li>
<li><a href="#col-str-personnel">Personnel</a></li>
<li><a href="#col-str-conservation">Conservation</a></li>
<li><a href="#col-str-valorisation">Valorisation</a></li>
<li><a href="#col-str-collection">Collection</a></li>
<li><a href="#col-str-meta">Méta-données</a></li>
</ul>
<div id="col-str-general">
48,17 → 49,7
<dt>Courriel</dt> <dd><?=$info['cs_courriel']?></dd>
<dt>Site web</dt> <dd><?=$info['_web_']?></dd>
</dl>
<h3>Divers</h3>
<dl>
<dt>GUID</dt> <dd><?=$info['cs_guid']?> </dd>
<dt>Notes</dt> <dd><?=$info['cmhl_notes']?> </dd>
<dt>Sources</dt> <dd><?=$info['cmhl_source']?> </dd>
<dt>Modifié par</dt> <dd><?=$info['_modifier_par_']?> </dd>
<dt>Date de dernière modification</dt> <dd><?=$info['cmhl_date_modification']?> </dd>
<dt>État de l'enregistrement</dt> <dd><?=$info['_etat_']?> </dd>
</dl>
<hr />
<hr class="nettoyeur"/>
</div>
<div id="col-str-personnel">
137,7 → 128,7
<?php endif; ?>
<?php endif; ?>
</dl>
<hr />
<hr class="nettoyeur"/>
</div>
<div id="col-str-valorisation">
164,7 → 155,7
<dt>Type de recherche</dt> <dd><?=$info['_recherche_type_']?></dd>
<?php endif; ?>
</dl>
<hr />
<hr class="nettoyeur"/>
</div>
<div id="col-str-collection">
178,6 → 169,19
</ul>
<?php endif; ?>
</div>
<div id="col-str-meta">
<h2>Divers</h2>
<dl>
<dt>GUID</dt> <dd><?=$info['cs_guid']?> </dd>
<dt>Notes</dt> <dd><?=$info['cmhl_notes']?> </dd>
<dt>Sources</dt> <dd><?=$info['cmhl_source']?> </dd>
<dt>Modifié par</dt> <dd><?=$info['_modifier_par_']?> </dd>
<dt>Date de dernière modification</dt> <dd><?=$info['cmhl_date_modification']?> </dd>
<dt>État de l'enregistrement</dt> <dd><?=$info['_etat_']?> </dd>
</dl>
<hr class="nettoyeur"/>
</div>
</div>
<hr />
<!-- FIN FICHE STRUCTURE -->
<!-- COL - FIN FICHE STRUCTURE -->
/trunk/squelettes/pied.tpl.html
1,2 → 1,4
<!-- COL - DEBUT PIED DE PAGE -->
<p>Pour plus d'informations ou nous faire part d'une erreur, veuillez nous contacter à l'adresse
<a href="mailto:coel@tela-botanica.org">coel@tela-botanica.org</a>.</p>
<a href="mailto:coel@tela-botanica.org">coel@tela-botanica.org</a>.</p>
<!-- COL - FIN PIED DE PAGE -->