forked from ZwiiCMS-Team/ZwiiCMS
Rafraichissement sans message
This commit is contained in:
parent
48166813fe
commit
fbdf44daa5
@ -654,14 +654,15 @@ class theme extends common {
|
|||||||
$data = $this->import(self::FILE_DIR.'source/' . $zipFilename);
|
$data = $this->import(self::FILE_DIR.'source/' . $zipFilename);
|
||||||
if ($data['success']) {
|
if ($data['success']) {
|
||||||
header("Refresh:0");
|
header("Refresh:0");
|
||||||
|
} else {
|
||||||
|
// Valeurs en sortie
|
||||||
|
$this->addOutput([
|
||||||
|
'notification' => $data['notification'],
|
||||||
|
'state' => $data['success'],
|
||||||
|
'title' => 'Gestion des thèmes',
|
||||||
|
'view' => 'manage'
|
||||||
|
]);;
|
||||||
}
|
}
|
||||||
// Valeurs en sortie
|
|
||||||
$this->addOutput([
|
|
||||||
'notification' => $data['notification'],
|
|
||||||
'state' => $data['success'],
|
|
||||||
'title' => 'Gestion des thèmes',
|
|
||||||
'view' => 'manage'
|
|
||||||
]);;
|
|
||||||
}
|
}
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user