From 909ffe4459b9644a96e999e4d009f7fd146ff31a Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sat, 25 May 2019 17:59:19 +0100 Subject: [PATCH] Fixed the country files update area which was broken due to the interface update --- application/controllers/Update.php | 4 ++-- application/views/interface_assets/footer.php | 22 ++++++++++++++++++ application/views/update/index.php | 23 +------------------ 3 files changed, 25 insertions(+), 24 deletions(-) diff --git a/application/controllers/Update.php b/application/controllers/Update.php index 997bd959..b8edf00b 100644 --- a/application/controllers/Update.php +++ b/application/controllers/Update.php @@ -11,9 +11,9 @@ class Update extends CI_Controller { public function index() { $data['page_title'] = "Updates"; - $this->load->view('layout/header', $data); + $this->load->view('interface_assets/header', $data); $this->load->view('update/index'); - $this->load->view('layout/footer'); + $this->load->view('interface_assets/footer'); } diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 6b1ed409..941bde61 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -373,7 +373,29 @@ $(document).ready(function(){ + +uri->segment(1) == "update") { ?> + diff --git a/application/views/update/index.php b/application/views/update/index.php index 60095c83..e5b85838 100644 --- a/application/views/update/index.php +++ b/application/views/update/index.php @@ -1,4 +1,4 @@ -
+

@@ -18,26 +18,5 @@ } - -