array( "label" => "Défaut", "folder" => "", "css-relative-url" => "", "path" => "", "checked" => $conf->get('core_theme') == "", "last-update" => 0 ) ); foreach(glob(__DIR__.SLASH.'theme'.SLASH.'*'.SLASH.'app.json') as $themeFile){ $path = dirname($themeFile); $theme = json_decode(file_get_contents($themeFile),true); $theme['folder'] = $path; $theme['css-relative-url'] = '/plugin/customiser/theme/'.basename($path).'/main.css'; $theme['checked'] = $conf->get('core_theme') == $theme['css-relative-url']; $theme['last-update'] = filemtime($themeFile); $themes[] = $theme; } ?>

can('customiser', 'edit')) : ?>
Enregistrer

Choix du Thème