Etiquettes

This commit is contained in:
Fred Tempez 2024-08-08 06:59:58 +02:00
parent ab68cbf934
commit dfed3ecf11
2 changed files with 5 additions and 11 deletions

View File

@ -103,13 +103,13 @@ class geogallery extends common
template::button('galleryConfigEdit' . $galleryId, [
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $galleryId,
'value' => template::ico('pencil'),
'help' => 'Configuration de la galerie '
'help' => 'Configuration'
]),
template::button('galleryConfigDelete' . $galleryId, [
'class' => 'galleryConfigDelete buttonRed',
'href' => helper::baseUrl() . $this->getUrl(0) . '/delete/' . $galleryId,
'value' => template::ico('trash'),
'help' => 'Supprimer cette galerie'
'help' => 'Supprimer'
])
];
// Tableau des id des galleries pour le drag and drop
@ -119,7 +119,7 @@ class geogallery extends common
// Valeurs en sortie
$this->addOutput([
'title' => helper::translate('Configuration des galeries'),
'title' => helper::translate('Configuration'),
'view' => 'config'
]);
}
@ -339,7 +339,7 @@ class geogallery extends common
}
// Valeurs en sortie
$this->addOutput([
'title' => sprintf(helper::translate('Configuration de la galerie %s '), $this->getData(['module', $this->getUrl(0), 'content', $this->getUrl(2), 'config', 'name'])),
'title' => sprintf(helper::translate('Galerie %s '), $this->getData(['module', $this->getUrl(0), 'content', $this->getUrl(2), 'config', 'name'])),
'view' => 'edit'
]);
}

View File

@ -7,13 +7,7 @@
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset8">
<?php echo template::button('galleryConfigOption', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $this->getUrl(2),
'value' => template::ico('sliders')
]); ?>
</div>
<div class="col2">
<div class="col2 offset9">
<?php echo template::submit('galleryEditSubmit'); ?>
</div>
</div>