Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1675 → Rev 1676

/trunk/jrest/lib/GenerateurPDF.php
226,13 → 226,14
 
 
// taxon
$nom = $obs['nom_ret'];
$nom = '<em>' . $obs['nom_ret'] . '</em>';
if($obs['certitude'] && stripos($obs['certitude'], 'certain') === false) {
$nom .= ' ' . $obs['certitude'];
}
$this->pdf->writeHTMLCell($w = $width, $lh * 3.5, '', '',
//$html = '<strong>Espèce</strong> : ' . self::elude('Espèce : ', $obs['nom_ret'], 2),
$html = $this->elude('<strong>Taxon</strong> : ' . $nom, 3),
//$html = $this->elude('<strong>Taxon</strong> : ' . $nom, 3),
$html = '<strong>Taxon</strong> : ' . $nom, // on ne strip pas le nom de taxon, pas plus de 3 lignes
$border = 'LR', $ln = 1, $fill = false, $reset = true, $align = 'L', $autopadding = true);
 
// collecteur
298,7 → 299,7
// commentaire
$this->pdf->writeHTMLCell($w = $width, $lh * 4.5, '', '',
//$html = '<strong>Observation</strong> : ' . self::elude('Observation : ', $obs['commentaire']),
$html = self::elude('<strong>Observation</strong> : ' . $obs['commentaire'], 4),
$html = self::elude('<strong>Observations</strong> : ' . $obs['commentaire'], 4),
$border = 'LR', $ln = 1, $fill = false, $reset = true, $align = 'L', $autopadding = true);
 
// date