diff --git a/cp/app/Controllers/SystemController.php b/cp/app/Controllers/SystemController.php index de4d8e0..8597fbd 100644 --- a/cp/app/Controllers/SystemController.php +++ b/cp/app/Controllers/SystemController.php @@ -28,5 +28,16 @@ class SystemController extends Controller return view($response,'admin/system/registry.twig', [ 'tlds' => $tlds, ]); - } + } + + public function manageTlds(Request $request, Response $response) + { + if ($_SESSION["auth_roles"] != 0) { + return $response->withHeader('Location', '/dashboard')->withStatus(302); + } + + $db = $this->container->get('db'); + + return view($response,'admin/system/manageTlds.twig'); + } } \ No newline at end of file diff --git a/cp/resources/views/admin/system/manageTlds.twig b/cp/resources/views/admin/system/manageTlds.twig new file mode 100644 index 0000000..e63e9d7 --- /dev/null +++ b/cp/resources/views/admin/system/manageTlds.twig @@ -0,0 +1,95 @@ +{% extends "layouts/app.twig" %} + +{% block title %}{{ __('TLD Management') }}{% endblock %} + +{% block content %} +