Admin part: can import, export and drop themes

This commit is contained in:
Némunaire 2013-11-08 20:46:48 +01:00
parent 4d1a860a01
commit ffe0c2a7c4
8 changed files with 217 additions and 7 deletions

View file

@ -48,6 +48,22 @@ if ($n && $p[0] == SALT_ADMIN)
$page = require("admin/import_exercices.php");
break;
// Theme
case "themes":
case "themes/":
$page = require("admin/list_themes.php");
break;
case "themes/import":
case "themes/import/":
$page = require("admin/import_themes.php");
break;
case "themes/export":
case "themes/export/":
$page = require("admin/export_theme.php");
break;
// Users
case "teams":
case "teams/":