Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1019 → Rev 1020

/trunk/scripts/modules/commentaires/squelettes/commentaires.tpl.html
New file
0,0 → 1,106
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body {
font-family: Arial,Helvetica,Verdana,sans-serif;
font-size: 14px;
}
 
h1 > a {
color:#fd8c13;
}
h3 {
font-size:14px;
color:#454341 !important;
margin:0px;
}
 
h3 > a {
color:#454341;
}
 
h1 a, h3 a, h4 a {
color: inherit;
border-bottom: dotted 1px;
}
h3 a {
border-color:#CCCCCC;
}
a {
color:#598000;
text-decoration:none;
border-bottom:1px dotted #95ae5d;
}
a:hover {
color:#FD8C13;
border-bottom:1px dotted #95ae5d;
}
.lire-suite {
padding-left:10px;
background:url(http://www.tela-botanica.org/sites/commun/generique/images/graphisme/petit_carre.png) no-repeat 0px 4px;
}
 
#titre {
background: none repeat scroll 0 0 #9AC343;
opacity: 0.9;
position: relative;
text-align: center;
width: 100%;
}
 
#titre h1 {
background: url("http://www.tela-botanica.org/eflore-test/del/img/identiplante_mini.png") no-repeat scroll 150px 7px transparent;
color: #777777;
font-size: 2em;
font-weight: bold;
margin: 0 0 0;
padding: 18px 60px;
text-align: center;
width: 100%;
}
 
.description_message {
color: #333333;
font-size: 1.1em;
font-style: italic;
padding-top: 10px;
}
-->
</style>
</head>
<body>
<div id="titre">
<h1>IdentiPlante - Récapitulatif de vos observations </h1>
</div>
<div class="description_message">
Ce message récapitule l'ensemble des déterminations et commentaires réalisés aujourd'hui sur vos observations via
l'outil <a href="http://www.tela-botanica.org/appli:del" >Identiplante</a>
<br /><br />
</div>
<?php foreach($liste_observations as $observation) : ?>
<?php $nom_ret = (trim($observation['nom_ret']) != '') ? $observation['nom_ret'] : 'Espèce indéterminée'; ?>
<h3>Observation <?= $observation['id_observation'] ?> - <em><?= $nom_ret; ?></em>
observée le <?= $observation['date']; ?> à <?= $observation['zone_geo']; ?></h3>
<?php foreach($observation['commentaires'] as $commentaire) : ?>
<?php if($commentaire['nom_sel'] == '') { ?>
<div class="commentaire">
- <?= $commentaire['auteur'] ?> a écrit <em>"<?= $commentaire['texte'] ?>"</em>
</div>
<?php } else { ?>
<div class="proposition">
- <?= $commentaire['auteur'] ?> a proposé <em><?= $commentaire['nom_sel'] ?></em><br />
<?php if($commentaire['texte'] != '') { ?>
et a écrit : <em>"<?= $commentaire['texte'] ?>"</em>
<?php } ?>
</div>
<?php } ?>
<?php endforeach ; ?>
<br />
<?php endforeach ; ?>
</body>
</html>