diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 901dddb1..af39c9ce 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -25,8 +25,8 @@ class theme extends common { 'reset' => self::GROUP_ADMIN, 'site' => self::GROUP_ADMIN, 'manage' => self::GROUP_ADMIN, - 'themeExport' => self::GROUP_ADMIN, - 'themeImport' => self::GROUP_ADMIN + 'export' => self::GROUP_ADMIN, + 'import' => self::GROUP_ADMIN ]; public static $aligns = [ 'left' => 'À gauche', @@ -447,18 +447,18 @@ class theme extends common { * Import du thème */ public function manage() { - // Valeurs en sortie - $this->addOutput([ - 'title' => 'Gestion des thèmes', - 'view' => 'manage' - ]); - } + // Valeurs en sortie + $this->addOutput([ + 'title' => 'Gestion des thèmes', + 'view' => 'manage' + ]); + } /** * Export du thème */ - public function themeExport() { + public function export() { // Creation du ZIP $fileName = date('Theme Y-m-d-h-i-s', time()) . '.zip'; $zip = new ZipArchive(); @@ -482,7 +482,7 @@ class theme extends common { /** * Import du thème */ - public function themeImport() { + public function import() { } } \ No newline at end of file diff --git a/core/module/theme/view/manage/manage.php b/core/module/theme/view/manage/manage.php index 8555e904..c5a941ef 100644 --- a/core/module/theme/view/manage/manage.php +++ b/core/module/theme/view/manage/manage.php @@ -10,13 +10,13 @@