From 44a54b12e5058977335d4d39b9623b0e88c16a70 Mon Sep 17 00:00:00 2001 From: Alex Parsons Date: Tue, 9 Apr 2024 13:07:49 +0000 Subject: [PATCH] Correct admin config order --- www/docs/admin/banner.php | 6 +++--- www/docs/admin/reporting_stats.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www/docs/admin/banner.php b/www/docs/admin/banner.php index d9108fe007..470a067329 100644 --- a/www/docs/admin/banner.php +++ b/www/docs/admin/banner.php @@ -6,9 +6,6 @@ $db = new ParlDB; $banner = new MySociety\TheyWorkForYou\Model\AnnouncementManagement; -$PAGE->page_start(); -$PAGE->stripe_start(); - $editorial_option = 'banner'; if (get_http_var('editorial_option')) { $editorial_option = get_http_var('editorial_option'); @@ -20,6 +17,9 @@ $this_page = 'admin_announcement'; }; +$PAGE->page_start(); +$PAGE->stripe_start(); + $out = ''; if (get_http_var('action') === 'Save') { $out = update_banner(); diff --git a/www/docs/admin/reporting_stats.php b/www/docs/admin/reporting_stats.php index 4f4cb3aeec..44518c03fd 100644 --- a/www/docs/admin/reporting_stats.php +++ b/www/docs/admin/reporting_stats.php @@ -3,7 +3,7 @@ include_once '../../includes/easyparliament/init.php'; include_once '../../includes/easyparliament/member.php'; -$this_page = "reporting_stats"; +$this_page = "admin_reportstats"; $PAGE->page_start(); $PAGE->stripe_start();