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), 'posts', $this->getUrl(1), 'pictureSize']) === null ? '100' : $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'pictureSize']); ?> getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'hidePicture']) == false) { echo '' . $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'picture']) . ''; } ?> getData(['module', $this->getUrl(0),'posts', $this->getUrl(1), 'content']); ?>
getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])), 'UTF-8', true) ? strftime('%d %B %Y', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])) : utf8_encode(strftime('%d %B %Y', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']))); $heure = mb_detect_encoding(strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])), 'UTF-8', true) ? strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])) : utf8_encode(strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']))); echo $date .' - ' . $heure; ?> getUser('password') === $this->getInput('DELTA_USER_PASSWORD') AND ( // Propriétaire ( $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1),'editConsent']) === $module::EDIT_OWNER AND ( $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1),'userId']) === $this->getUser('id') OR $this->getUser('group') === self::GROUP_ADMIN ) ) OR ( // Groupe ( $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1),'editConsent']) === self::GROUP_ADMIN OR $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1),'editConsent']) === self::GROUP_MODERATOR) AND $this->getUser('group') >= $this->getData(['module',$this->getUrl(0), 'posts', $this->getUrl(1),'editConsent']) ) OR ( // Tout le monde $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1),'editConsent']) === $module::EDIT_ALL AND $this->getUser('group') >= $module::$actions['config'] ) ) ): ?> getData(['module', $this->getUrl(0), 'texts', 'Edit']);?> getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?>
getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentClose'])): ?>

getData(['module', $this->getUrl(0), 'texts', 'ArticleNoComment']); ?>

0 ? $commentsNb . ' ' . $this->getData(['module', $this->getUrl(0), 'texts', 'Comment']) . $s : $this->getData(['module', $this->getUrl(0), 'texts', 'NoComment']); ?>

$this->getData(['module', $this->getUrl(0), 'texts', 'Write']), 'readonly' => true ]); ?>
getUser('password') === $this->getInput('DELTA_USER_PASSWORD')): ?> $this->getData(['module', $this->getUrl(0), 'texts', 'Name']), 'readonly' => true, 'value' => $module::$editCommentSignature ]); ?> $this->getUser('id') ]); ?>
$this->getData(['module', $this->getUrl(0), 'texts', 'Name']) ]); ?>
helper::baseUrl() . 'user/login/' . str_replace('/', '_', $this->getUrl()) . '__comment', 'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Connection']) ]); ?>
$this->getData(['module', $this->getUrl(0), 'texts', 'Maxi']).' '.$this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentMaxlength']).' '.$this->getData(['module', $this->getUrl(0), 'texts', 'Cara']), 'class' => 'editorWysiwygComment', 'noDirty' => true, 'maxlength' => $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentMaxlength']), 'TinymceMaxi' => $this->getData(['module', $this->getUrl(0), 'texts', 'TinymceMaxi']), 'TinymceCara' => $this->getData(['module', $this->getUrl(0), 'texts', 'TinymceCara']), 'TinymceExceed' => $this->getData(['module', $this->getUrl(0), 'texts', 'TinymceExceed']), 'caracteres' => $this->getData(['module', $this->getUrl(0), 'texts', 'Cara']) ]); ?>
getUser('password') !== $this->getInput('DELTA_USER_PASSWORD')): ?>
$this->getData(['config','connect', 'captchaStrong']), 'type' => $this->getData(['config','connect', 'captchaType']) ]); ?>
'buttonGrey', 'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Cancel']) ]); ?>
$this->getData(['module', $this->getUrl(0), 'texts', 'Send']), 'ico' => '' ]); ?>
$comment): ?>