getData(['config', 'i18n', 'langAdmin']); switch ($val) { case 'fr' : $text[0] = 'Lire la suite'; $text[1] = 'Aucun article'; break; case 'en' : $text[0] = 'Read more'; $text[1] = 'No article'; break; } // Pour les dates suivant la langue de rédaction du site if( function_exists('datefmt_create') && function_exists('datefmt_create') && extension_loaded('intl') ){ $zone = 'Europe/Paris'; $fmt = datefmt_create( $this->getData(['config', 'i18n', 'langBase']), IntlDateFormatter::LONG, IntlDateFormatter::SHORT, $zone, IntlDateFormatter::GREGORIAN ); } if($module::$articles): ?>