diff --git a/app/view/admin-dashboard.php b/app/view/admin-dashboard.php index 30d7434..5fed558 100644 --- a/app/view/admin-dashboard.php +++ b/app/view/admin-dashboard.php @@ -4,6 +4,7 @@ use App\Content\SystemPage; use App\Content\View; $e = View::escape(...); +$pageTypeLabels = LayoutPage::TYPES + SystemPage::TYPES; $regular = array_filter($pages, static fn (array $page): bool => $page['layout_kind'] === null && $page['page_type'] === 'page'); $live = count(array_filter($regular, static fn (array $page): bool => $page['status'] === 'published')); $defaultSlugs = []; @@ -44,14 +45,14 @@ foreach (['header', 'footer'] as $kind) {