getData(['config', 'i18n', 'langAdmin']) . '/lex_blog.php'); // Adaptation de la langue dans tinymce pour la rédaction d'un commentaire en fonction de la langue de la page, originale ou en traduction rédigée $lang = $this->getData(['config', 'i18n', 'langBase']); if ( !empty($_COOKIE["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 'sv' : $lang_page = 'sv_SE'; break; case 'fr' : $lang_page = 'fr_FR'; break; } // Si la langue n'est pas supportée par Tinymce la langue d'administration est utilisée if( ! file_exists( 'core/vendor/tinymce/langs/'.$lang_page.'.js' )){ $lang_page = $text['blog_view']['article'][0]; } echo ''; echo ''; echo ''; echo ''; // 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 ); } ?>
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 && $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'picture']) !=='' ) { 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'])))); } else{ $date = mb_detect_encoding( date('d/m/Y', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])), 'UTF-8', true) ? date('d/m/Y', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])) : utf8_encode(date('d/m/Y', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']))); $heure = mb_detect_encoding(date('H:i', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])), 'UTF-8', true) ? date('H:i', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn'])) : utf8_encode(date('H:i', $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')): ?> getData(['config', 'connect', 'captchaBot'])=== false ) { ?>
'Input Blue', 'value' => '' ]); ?>

getData(['locale', 'captchaSimpleText']), [ 'checked' => false, 'help' => $this->getData(['locale', 'captchaSimpleHelp']) ]); ?>
'buttonGrey', 'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Cancel']) ]); ?>
$this->getData(['module', $this->getUrl(0), 'texts', 'Send']), 'ico' => '' ]); ?>
$comment): ?>