getData(['config', 'i18n', 'langBase']); if( null !== $this->getInput('DELTA_I18N_SITE') && $this->getInput('DELTA_I18N_SITE') !== '' ){ if( $this->getInput('DELTA_I18N_SITE') !== 'base' ) $lang = $this->getInput('DELTA_I18N_SITE'); } $lang_page = $lang; switch ($lang) { case 'en' : $lang_page = 'en_GB'; break; case 'pt' : $lang_page = 'pt_PT'; break; case 'fr' : $lang_page = 'fr_FR'; break; } echo ''; echo ''; echo ''; echo ''; // Lexique $text = []; $val = $this->getData(['config', 'i18n', 'langAdmin']); switch ($val) { case 'fr' : //$text[1] = 'Editer'; //$text[2] = 'Cet article ne reçoit pas de commentaire.'; //$text[3] = 'commentaire'; //$text[4] = 'Pas encore de commentaire'; //$text[5] = 'Rédiger un commentaire...'; //$text[6] = 'Nom'; //$text[8] = 'Connexion'; //$text[9] = 'Commentaire avec maximum '; //$text[10] = ' caractères'; //$text[11] = 'Annuler'; //$text[12] = 'Envoyer'; break; case 'en' : //$text[1] = 'Edit'; //$text[2] = 'This article does not receive comments.'; //$text[3] = 'comment'; //$text[4] = 'No comments yet'; //$text[5] = 'Write a comment...'; //$text[6] = 'Name'; //$text[8] = 'Login'; //$text[9] = 'Comment with maximum '; //$text[10] = ' characters'; //$text[11] = 'Cancel'; //$text[12] = 'Send'; break; } // Pour les dates suivant la langue d'administration setlocale(LC_TIME, 'fr_FR'); if( $this->getData(['config', 'i18n', 'langAdmin']) === 'en') setlocale(LC_TIME, 'en_GB'); ?>
getData(['module', $this->getUrl(0), 'texts', 'ArticleNoComment']); ?>