aide gallery

This commit is contained in:
Deltacms 2022-12-09 09:42:36 +01:00
parent 7e7ab71e4d
commit 9cc84e7243
5 changed files with 20 additions and 1 deletions

View File

@ -10,6 +10,8 @@ $text['gallery_view']['config'][6] = 'Target folder';
$text['gallery_view']['config'][7] = 'No galleries';
$text['gallery_view']['config'][8] = 'Version no.';
$text['gallery_view']['config'][9] = "Are you sure you want to delete this gallery ?";
$text['gallery_view']['config'][10] = 'Help';
$text['gallery_view']['config'][11] = 'module/gallery/view/config/config.help_en.html';
$text['gallery_view']['edit'][0] = 'Back';
$text['gallery_view']['edit'][1] = 'Save';
$text['gallery_view']['edit'][2] = 'Image setting';

View File

@ -10,6 +10,8 @@ $text['gallery_view']['config'][6] = 'Dossier cible';
$text['gallery_view']['config'][7] = 'Aucune galerie.';
$text['gallery_view']['config'][8] = 'Version n°';
$text['gallery_view']['config'][9] = "Êtes-vous sûr de vouloir supprimer cette galerie ?";
$text['gallery_view']['config'][10] = 'Aide';
$text['gallery_view']['config'][11] = 'module/gallery/view/config/config.help.html';
$text['gallery_view']['edit'][0] = 'Retour';
$text['gallery_view']['edit'][1] = 'Enregistrer';
$text['gallery_view']['edit'][2] = 'Paramètre des images';

View File

@ -0,0 +1,2 @@
<h2>GALERIE</h2>
<iframe title="galerie_FR" src="https://video.ploud.fr/videos/embed/8ec38ecf-8776-461b-8fd8-be44aa4266fe" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>

View File

@ -0,0 +1,2 @@
<h2>GALERIE</h2>
<iframe title="galerie_EN" src="https://video.ploud.fr/videos/embed/16e8aea8-7566-4fb6-8b42-61ee25b9188d" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>

View File

@ -13,13 +13,24 @@ echo template::formOpen('galleryConfigForm'); ?>
'value' => $text['gallery_view']['config'][0]
]); ?>
</div>
<div class="col2 offset8 <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo 'displayNone'; ?> ">
<div class="col2">
<?php echo template::button('galleryIndexHelp', [
'class' => 'buttonHelp',
'ico' => 'help',
'value' => $text['gallery_view']['config'][10]
]); ?>
</div>
<div class="col2 offset6 <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo 'displayNone'; ?> ">
<?php echo template::button('galleryConfigBack', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/' . $_SESSION['csrf'],
'value' => template::ico('brush','right') . $text['gallery_view']['config'][1],
]); ?>
</div>
</div>
<!-- Aide à propos de la configuration de gallery, view config -->
<div class="helpDisplayContent">
<?php echo file_get_contents( $text['gallery_view']['config'][11]) ;?>
</div>
<div class="row">
<div class="col12">
<div class="block">