2021-04-02 15:24:30 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo $this->getData(['module', $this->getUrl(0),'posts', $this->getUrl(1), 'content']); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row verticalAlignMiddle">
|
|
|
|
<div class="col12 newsDate">
|
|
|
|
<!-- bloc signature et date -->
|
2022-10-09 10:35:56 +02:00
|
|
|
<?php echo template::ico('user'); ?>
|
2021-04-02 15:24:30 +02:00
|
|
|
<?php echo $module::$articleSignature . ' - ';?>
|
2022-02-04 09:12:07 +01:00
|
|
|
<?php echo template::ico('calendar-empty'); ?>
|
2023-11-15 10:28:26 +01:00
|
|
|
<?php echo helper::dateUTF8('%d %B %Y', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$siteContent) . ' - ' . helper::dateUTF8('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$siteContent); ?>
|
2021-04-02 15:24:30 +02:00
|
|
|
<!-- Bloc edition -->
|
|
|
|
<?php if (
|
|
|
|
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
|
|
|
AND
|
|
|
|
( // Propriétaire
|
|
|
|
( $this->getUser('group') === self::GROUP_ADMIN )
|
|
|
|
)
|
|
|
|
): ?>
|
2023-06-19 19:46:00 +02:00
|
|
|
<a href ="<?php echo helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1);?>">
|
2022-10-02 10:59:42 +02:00
|
|
|
<?php echo template::ico('pencil');?> Éditer
|
2021-04-02 15:24:30 +02:00
|
|
|
</a>
|
|
|
|
<?php endif; ?>
|
|
|
|
<!-- Bloc RSS-->
|
|
|
|
<?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' />
|
|
|
|
<?php
|
|
|
|
echo '<p>' . $this->getData(['module',$this->getUrl(0), 'config', 'feedsLabel']) . '</p>' ;
|
|
|
|
?>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|