diff options
| author | 2013-11-09 22:09:57 +0100 | |
|---|---|---|
| committer | 2013-11-09 22:09:57 +0100 | |
| commit | d847adbe1710691d2360a591d17ba9350c97672a (patch) | |
| tree | 241cbf8f1a3b1e570c67ef79cfb45c5fdb90a0e0 | |
| parent | a1fa4a445ad6a8b12fe606764588b619edab8d8f (diff) | |
URLs absolues dans la vue RSS
Les URLs ne sont plus relatives
Fix issue #253
| -rwxr-xr-x | app/views/helpers/view/rss_view.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/helpers/view/rss_view.phtml b/app/views/helpers/view/rss_view.phtml index 7459de0a1..7b97562bc 100755 --- a/app/views/helpers/view/rss_view.phtml +++ b/app/views/helpers/view/rss_view.phtml @@ -2,11 +2,11 @@ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title><?php echo $this->rss_title; ?></title> - <link><?php echo Url::display(); ?></link> + <link><?php echo Url::display(null, 'html', true); ?></link> <description><?php echo Translate::t ('rss_feeds_of', $this->rss_title); ?></description> <pubDate><?php echo date('D, d M Y H:i:s O'); ?></pubDate> <lastBuildDate><?php echo gmdate('D, d M Y H:i:s'); ?> GMT</lastBuildDate> - <atom:link href="<?php echo _url ('index', 'index', 'output', 'rss'); ?>" rel="self" type="application/rss+xml" /> + <atom:link href="<?php echo Url::display (array('params' => array('output' => 'rss')), 'html', true); ?>" rel="self" type="application/rss+xml" /> <?php $items = $this->entryPaginator->items (); foreach ($items as $item) { |
