Browse Source

Blog 53 icône RSS

master
Fred Tempez 2 months ago
parent
commit
d8ddf7b0d8
  1. 2
      module/blog/blog.php
  2. 2
      module/blog/view/article/article.php

2
module/blog/blog.php

@ -15,7 +15,7 @@
class blog extends common {
const VERSION = '5.2';
const VERSION = '5.3';
const REALNAME = 'Blog';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)

2
module/blog/view/article/article.php

@ -54,7 +54,7 @@
<?php if ($this->getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?>
<div id="rssFeed">
<a type="application/rss+xml" href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/rss'; ?>" target="_blank">
<img src='module/news/ressource/feed-icon-16.gif' />
<img src='module/blog/ressource/feed-icon-16.gif' />
<?php
echo '<p>' . $this->getData(['module',$this->getUrl(0), 'config', 'feedsLabel']) . '</p>' ;
?>

Loading…
Cancel
Save