aide blog

This commit is contained in:
Deltacms 2022-12-07 11:58:59 +01:00
parent ea394d4955
commit d85b791de7
5 changed files with 20 additions and 1 deletions

View File

@ -47,6 +47,8 @@ $text['blog_view']['config'][11] = 'No article';
$text['blog_view']['config'][12] = 'Version No.';
$text['blog_view']['config'][13] = 'Texts';
$text['blog_view']['config'][14] = "Are you sure you want to delete this article ?";
$text['blog_view']['config'][15] = 'Help';
$text['blog_view']['config'][16] = 'module/blog/view/config/config.help_en.html';
$text['blog_view']['edit'][0] = 'Back';
$text['blog_view']['edit'][1] = 'Save as draft';
$text['blog_view']['edit'][2] = 'Publish';

View File

@ -47,6 +47,8 @@ $text['blog_view']['config'][11] = 'Aucun article.';
$text['blog_view']['config'][12] = 'Version n°';
$text['blog_view']['config'][13] = 'Textes';
$text['blog_view']['config'][14] = "Êtes-vous sûr de vouloir supprimer cet article ?";
$text['blog_view']['config'][15] = 'Aide';
$text['blog_view']['config'][16] = 'module/blog/view/config/config.help.html';
$text['blog_view']['edit'][0] = 'Retour';
$text['blog_view']['edit'][1] = 'Enregistrer en brouillon';
$text['blog_view']['edit'][2] = 'Publier';

View File

@ -0,0 +1,2 @@
<h2>BLOG</h2>
<iframe title="blog_FR" src="https://video.ploud.fr/videos/embed/1ba33e89-4ab1-41ff-a2c2-a55e7a83a84a" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>

View File

@ -0,0 +1,2 @@
<h2>BLOG</h2>
<iframe title="blog_EN" src="https://video.ploud.fr/videos/embed/dbc25fed-0807-41f8-8504-18ed20382d7c" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>

View File

@ -13,7 +13,14 @@ echo template::formOpen('blogConfig'); ?>
'value' => $text['blog_view']['config'][0]
]); ?>
</div>
<div class="col2 offset4 <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo 'displayNone'; ?> ">
<div class="col2">
<?php echo template::button('agendaIndexHelp', [
'class' => 'buttonHelp',
'ico' => 'help',
'value' => $text['blog_view']['config'][15]
]); ?>
</div>
<div class="col2 offset2 <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo 'displayNone'; ?> ">
<?php echo template::button('blogConfigTexts', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/texts',
'ico' => '',
@ -33,6 +40,10 @@ echo template::formOpen('blogConfig'); ?>
]); ?>
</div>
</div>
<!-- Aide à propos de la configuration de blog, view config -->
<div class="helpDisplayContent">
<?php echo file_get_contents( $text['blog_view']['config'][16]) ;?>
</div>
<div class="row" <?php if($this->getUser('group') < self::GROUP_MODERATOR) { echo 'style="display: none;"'; } ?> >
<div class="col12">
<div class="block">