|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row verticalAlignMiddle">
|
|
|
|
|
<div class="col11 downloadDate">
|
|
|
|
|
<div class="col12 downloadDate">
|
|
|
|
|
<?php echo $module::$itemSignature . ' - ';?>
|
|
|
|
|
<i class="far fa-calendar-alt"></i>
|
|
|
|
|
<?php $date = mb_detect_encoding(strftime('%d %B %Y', $this->getData(['module', $this->getUrl(0), 'items', $this->getUrl(1), 'publishedOn'])), 'UTF-8', true)
|
|
|
|
@ -17,20 +17,8 @@
|
|
|
|
|
: utf8_encode(strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'items', $this->getUrl(1), 'publishedOn'])));
|
|
|
|
|
echo $date . ' à ' . $heure;
|
|
|
|
|
?>
|
|
|
|
|
<!-- 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'; ?> ">
|
|
|
|
|
<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; ?>
|
|
|
|
|
|
|
|
|
|
<!-- Bouton d'édition -->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col1">
|
|
|
|
|
<?php if (
|
|
|
|
|
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
|
|
|
|
AND
|
|
|
|
@ -53,11 +41,21 @@
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
): ?>
|
|
|
|
|
<?php echo template::button('downloadItemEdit', [
|
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'],
|
|
|
|
|
'value' => template::ico('pencil')
|
|
|
|
|
]); ?>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
<a href ="<?php echo helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'];?>">
|
|
|
|
|
<?php echo template::ico('pencil');?> Editer
|
|
|
|
|
</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'; ?> ">
|
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|