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 // Valeurs en sortie
$this->addOutput([ $this->addOutput([
'redirect' => helper::baseUrl() . $this->getUrl() . '/theme', 'redirect' => helper::baseUrl() . $this->getUrl() . '/theme',
'notification' => $success ? 'Modifications enregistrées' : 'Modifications non enregistées !', 'notification' => $success !== FALSE ? 'Modifications enregistrées' : 'Modifications non enregistées !',
'state' => $success 'state' => $success !== FALSE
]); ]);
} }
// Valeurs en sortie // Valeurs en sortie

View File

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