Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

Ignore whitespace Rev 87 → Rev 86

/trunk/collection_papyrus.php
31,13 → 31,13
 
// +--------------------------------------------------------------------------------------------------+
// Remplacement de méta tags fournit par Papyrus par ceux créés dans l'appli
if (Collection::getMetaTitre() != '') {
if (!empty(Collection::getMetaTitre())) {
$GLOBALS['_PAPYRUS_']['rendu']['TITRE_PAGE'] = Collection::getMetaTitre();
}
if (Collection::getMetaDescription() != '') {
if (!empty(Collection::getMetaDescription())) {
GEN_modifierMetaName('description', Collection::getMetaDescription());
}
if (Collection::getMetaTags() != '') {
if (!empty(Collection::getMetaTags())) {
GEN_modifierMetaName('keywords', Collection::getMetaTags());
}