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();