Subversion Repositories eFlore/Applications.del

Compare Revisions

No changes between revisions

Ignore whitespace Rev 2007 → Rev 2008

/trunk/services/modules/0.1/syndication/Commentaires.php
74,10 → 74,15
$intitule = ($element['nom_sel'] != '') ? "Proposition $nomPropose" : 'Commentaire';
$auteur = htmlspecialchars($this->creerAuteur($element));
$nomSelActuel = htmlspecialchars($element['dob_nom_sel']);
$zoneGeo = htmlspecialchars((($element['dob_zone_geo'] != '') ? $element['dob_zone_geo'] : '?'));
$dateObs = htmlspecialchars(strftime('%d %B %Y', strtotime($element['dob_date_observation'])));
$zoneGeo = htmlspecialchars((($element['dob_zone_geo'] != '') ? $element['dob_zone_geo'] : null));
$dateObs = null;
if (strpos($element['dob_date_observation'], '0000') === false) {
$dateObs = htmlspecialchars(strftime('%d %B %Y', strtotime($element['dob_date_observation'])));
}
 
$titre = "$intitule par $auteur pour $nomSelActuel à $zoneGeo le $dateObs";
$titre = "$intitule par $auteur pour $nomSelActuel";
$titre .= ($zoneGeo != null) ? " à $zoneGeo" : "";
$titre .= ($dateObs != null) ? " le $dateObs" : "";
return $titre;
}
 
/trunk/services
Property changes:
Modified: svn:mergeinfo
Merged /branches/v1.7-oxygene/services:r2006-2007
/trunk/.
Property changes:
Modified: svn:mergeinfo
Merged /branches/v1.7-oxygene:r2006-2007