|
|
|
@ -15,10 +15,10 @@
|
|
|
|
|
<?php echo mb_detect_encoding(strftime('%d %B %Y', $news['publishedOn']), 'UTF-8', true)
|
|
|
|
|
? strftime('%d %B %Y', $news['publishedOn'])
|
|
|
|
|
: utf8_encode(strftime('%d %B %Y', $news['publishedOn'])); ?>
|
|
|
|
|
- <?php echo $this->getData(['user', $news['userId'], 'firstname']) . ' ' . $this->getData(['user', $news['userId'], 'lastname']); ?>
|
|
|
|
|
- <?php echo $news['userId']; ?>
|
|
|
|
|
<!-- Bloc edition -->
|
|
|
|
|
<?php if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
|
|
|
|
AND
|
|
|
|
|
( // Propriétaire
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
<div id="rssFeed">
|
|
|
|
|
<a type="application/rss+xml" href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/rss'; ?> ">
|
|
|
|
|
<img src='module/news/ressource/feed-icon-16.gif' />
|
|
|
|
|
<?php
|
|
|
|
|
<?php
|
|
|
|
|
echo '<p>' . $this->getData(['module',$this->getUrl(0), 'config', 'feedsLabel']) . '</p>' ;
|
|
|
|
|
?>
|
|
|
|
|
</a>
|
|
|
|
|