/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,9 → 1,28 |
<!-- 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> |
37,17 → 56,10 |
<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> |
<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> |
<div id="col-col-personne"> |
<h2>Personnes</h2> |
<h3>Personne(s) liées à la collection</h3> |
<?php if (count($personnes) > 0) : ?> |
84,7 → 96,9 |
<?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) : ?> |
119,7 → 133,9 |
<?php else : ?> |
<p>Aucune</p> |
<?php endif; ?> |
</div> |
<div id="col-col-description"> |
<h2>Description</h2> |
<h3>Description et état de la collection</h3> |
<dl> |
131,6 → 147,7 |
<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> |
225,7 → 242,10 |
<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> |
<div id="col-col-contenu"> |
<h2>Contenu</h2> |
<h3>Nature</h3> |
<dl> |
259,7 → 279,10 |
<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> |
<div id="col-col-inventaire"> |
<h2>Inventaire</h2> |
<h3>Inventaire (autre que celui de l'auteur)</h3> |
<dl> |
271,7 → 294,10 |
<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> |
<div id="col-col-note"> |
<h2>Notes</h2> |
<h3>Notes liées à la collection</h3> |
<?php if (count($commentaires) > 0) : ?> |
298,4 → 324,21 |
</table> |
<?php else : ?> |
<p>Aucune note n'a été ajoutée.</p> |
<?php endif; ?> |
<?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> |
<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> |
</fieldset> |
</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 --> |
/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 --> |