Skip to content
Snippets Groups Projects

Master

Merged Ghislain Loas requested to merge master into WIP
Compare and
+ 53
47
Preferences
Compare changes
Files
@@ -89,10 +89,10 @@ class CmsController extends Zend_Controller_Action {
$articles=Class_Calendar::getAllNextEvents($id_module,$profil);
$data_rss = [
'title' => $preferences['titre'],
'link' => $profil->urlForModule('cms', 'articleviewbydate', $id_module),
'charset' => 'utf-8',
'description' => 'Agenda: ' . $preferences['titre'],
'title' => trim($preferences['titre']) ? trim($preferences['titre']) : $profil->getLibelle(),
'link' => $profil->urlForModule('cms', 'articleviewbydate', $id_module),
'charset' => 'utf-8',
'description' => 'Agenda: ' . $preferences['titre'],
'lastUpdate' => time()
];
@@ -325,10 +325,9 @@ class CmsController extends Zend_Controller_Action {
'link' => $this->_request->getScheme() . '://'
. $this->_request->getServer('HTTP_HOST')
. $this->view->url($article->getUrl()),
'description' => html_entity_decode(Class_CmsUrlTransformer::imgUrlRelativeToAbsolute($article->getFullContent())),
'lastUpdate' => strtotime($this->_getPubDate($article))
];
}
'lastUpdate' => strtotime($this->_getPubDate($article)),
'description' => html_entity_decode(Class_CmsUrlTransformer::imgUrlRelativeToAbsolute($this->view->tagArticleEvent($article).$article->getFullContent()))];
}
$rss_array['entries'] = $entries;