Deltacms/module/blog/view/texts/texts.php

156 lines
5.4 KiB
PHP
Raw Normal View History

2022-03-18 07:50:13 +01:00
<?php
// Lexique
2022-09-02 08:44:18 +02:00
$param = 'blog_view';
include('./module/blog/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_blog.php');
// drapeau pour la langue d'origine ou la langue en traduction rédigée
2022-03-18 07:50:13 +01:00
if( $this->getInput('DELTA_I18N_SITE') === '' || $this->getInput('DELTA_I18N_SITE')=== null || $this->getInput('DELTA_I18N_SITE') === 'base'){
2022-12-04 08:19:08 +01:00
$flag = $this->getData(['config', 'i18n', 'langBase']);
2022-03-18 07:50:13 +01:00
}
else{
$flag = $this->getInput('DELTA_I18N_SITE');
}
?>
<?php echo template::formOpen('blogTexts'); ?>
<div class="row">
<div class="col2">
<?php echo template::button('blogTextsBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0). '/config',
'ico' => 'left',
2022-09-02 08:44:18 +02:00
'value' => $text['blog_view']['texts'][0]
2022-03-18 07:50:13 +01:00
]); ?>
</div>
<div class="col2 offset8">
<?php echo template::submit('blogTextsSubmit',[
2022-09-02 08:44:18 +02:00
'value' => $text['blog_view']['texts'][2]
2022-03-18 07:50:13 +01:00
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
2022-12-04 08:19:08 +01:00
<div class="blockTitle"><?php echo $text['blog_view']['texts'][1]; ?><?php echo ' '.template::flag($flag, '20px');?></div>
2022-03-18 07:50:13 +01:00
<div class="row">
<div class="col4">
<?php echo template::text('blogTextsNoComment', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][3],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'NoComment'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsWrite', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][4],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Write'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsName', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][5],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Name'])
]); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::text('blogTextsMaxi', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][6],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Maxi'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsCara', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][7],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Cara'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsComment', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][8],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Comment'])
]); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::text('blogTextsCommentOK', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][9],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'CommentOK'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsWaiting', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][10],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Waiting'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsArticleNoComment', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][11],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'ArticleNoComment'])
]); ?>
2022-12-04 08:19:08 +01:00
</div>
2022-03-18 07:50:13 +01:00
</div>
<div class="row">
<div class="col4">
<?php echo template::text('blogTextsConnection', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][13],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Connection'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsEdit', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][15],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Edit'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsCancel', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][16],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Cancel'])
]); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::text('blogTextsSend', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][17],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'Send'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsTinymceMaxi', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][18],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'TinymceMaxi'])
]); ?>
</div>
<div class="col4">
<?php echo template::text('blogTextsTinymceCara', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][19],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'TinymceCara'])
]); ?>
2022-12-04 08:19:08 +01:00
</div>
2022-03-18 07:50:13 +01:00
</div>
<div class="row">
<div class="col4">
<?php echo template::text('blogTextsTinymceExceed', [
2022-09-02 08:44:18 +02:00
'label' => $text['blog_view']['texts'][20],
2022-03-18 07:50:13 +01:00
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'TinymceExceed'])
]); ?>
2022-09-02 08:44:18 +02:00
</div>
<div class="col4">
<?php echo template::text('blogTextsReadMore', [
'label' => $text['blog_view']['texts'][26],
'value' => $this->getData(['module', $this->getUrl(0), 'texts', 'ReadMore'])
]); ?>
2022-12-04 08:19:08 +01:00
</div>
2022-03-18 07:50:13 +01:00
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>
2022-09-02 08:44:18 +02:00
<div class="moduleVersion"><?php echo $text['blog_view']['texts'][25]; ?>
2022-03-18 07:50:13 +01:00
<?php echo $module::VERSION; ?>
</div>