- Posts: 9
- Thank you received: 1
<div class="ic-date">
<?php // Day ?>
<div class="ic-day">
<?php echo $EVENT_DAY; ?>
</div>
<?php // Month ?>
<div class="ic-month">
<?php echo $EVENT_MONTH; ?>
</div>
<?php // Year ?>
<div class="ic-year">
<?php echo $EVENT_YEAR; ?>
</div>
<?php // Time ?>
<div class="ic-time">
<?php echo $EVENT_TIME; ?>
</div>
</div>
<div class="ic-event-date">
<?php echo $EVENT_VIEW_DATE; ?>
</div>
Please Log in or Create an account to join the conversation.
if ($get_date) {
$date = $dateday;
} else {
$date = $item->next;
}
$JOUR = date('j', strtotime($date));
$MOIS = date('F', strtotime($date));
$ANNEE = date('Y', strtotime($date));
$HEURE = date('H', strtotime($date));
$MINUTES = date('i', strtotime($date));
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
*----------------------------------------------------------------------------
* @themepack ic_rounded
* @template event
*----------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text as JText;
if ($get_date) {
$date = $dateday;
} else {
$date = $item->next;
}
$JOUR = date('j', strtotime($date));
$MOIS = date('F', strtotime($date));
$HEURE = date('H', strtotime($date));
?>
<!-- Event details -->
<?php // Event Details Template ?>
<?php // Header (Title/Category) of the event ?>
<div class="event-header ic-event-header ic-clearfix">
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Ah ben c'est mieux comme ça ! je l'avais oublié . Par contre le mois, en lettre, est en anglais, alors que l'événement à bien comme langue Français.Et bien ajouté les variables $JOUR, $MOIS, $HEURE dans la structure HTML du code ?
(je n'ai pas visuel sur l'ensemble du code).
Please Log in or Create an account to join the conversation.
<?php echo Text::_(strtoupper($MOIS)); ?>
<?php echo Text::_($MOIS); ?>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.