Gallery : modif theme notification + espace en trop

This commit is contained in:
Fred Tempez 2020-08-19 18:44:40 +02:00
parent 64641b2417
commit 6f3e81f7ce
2 changed files with 3 additions and 3 deletions

View File

@ -655,8 +655,8 @@ class gallery extends common {
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . $this->getUrl() . '/theme',
'notification' => $success ? 'Modifications enregistrées' : 'Modifications non enregistées !',
'state' => $success
'notification' => $success !== FALSE ? 'Modifications enregistrées' : 'Modifications non enregistées !',
'state' => $success !== FALSE
]);
}
// Valeurs en sortie

View File

@ -7,7 +7,7 @@ class theme extends gallery {
'thumbMargin' => '.5em',
'thumbBorder' => '.1em',
'thumbOpacity' => '.7',
'thumbBorderColor' => 'rgba(221, 221, 221, 1)',
'thumbBorderColor' => 'rgba(221, 221, 221, 1)',
'thumbRadius' => '.3em',
'thumbShadows' => '1px 1px 10px',
'thumbShadowsColor'=> 'rgba(125, 125, 125, 1)',