From 2ebf33a0840cb65b62444daab5b0168d9b8dea6d Mon Sep 17 00:00:00 2001 From: Paul Beesley <830976+poll-busily@users.noreply.github.com> Date: Tue, 20 Oct 2020 21:49:05 +0100 Subject: [PATCH] Update admin page titles Trying to bring the page title into line with the Admin menu dropdown entry or vice-versa, depending on which one is most used --- application/controllers/Adif.php | 2 +- application/controllers/Api.php | 2 +- application/controllers/Qslprint.php | 2 +- application/controllers/Radio.php | 2 +- application/controllers/User.php | 2 +- application/views/interface_assets/header.php | 20 +++++++++---------- application/views/qslprint/index.php | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/application/controllers/Adif.php b/application/controllers/Adif.php index cbf2f52c..6b63d65e 100644 --- a/application/controllers/Adif.php +++ b/application/controllers/Adif.php @@ -139,7 +139,7 @@ class adif extends CI_Controller { public function index() { $this->load->model('stations'); - $data['page_title'] = "ADIF Import"; + $data['page_title'] = "ADIF Import / Export"; $data['max_upload'] = ini_get('upload_max_filesize'); $data['station_profile'] = $this->stations->all(); diff --git a/application/controllers/Api.php b/application/controllers/Api.php index 779e0951..ed8df449 100644 --- a/application/controllers/Api.php +++ b/application/controllers/Api.php @@ -50,7 +50,7 @@ class API extends CI_Controller { $data['api_keys'] = $this->api_model->keys(); - $data['page_title'] = "API Options"; + $data['page_title'] = "API"; $this->load->view('interface_assets/header', $data); $this->load->view('api/help'); diff --git a/application/controllers/Qslprint.php b/application/controllers/Qslprint.php index 9c61904f..d0afd83b 100644 --- a/application/controllers/Qslprint.php +++ b/application/controllers/Qslprint.php @@ -16,7 +16,7 @@ class QSLPrint extends CI_Controller { $this->load->model('user_model'); if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } - $data['page_title'] = "Export requested QSLs for printing"; + $data['page_title'] = "Print Requested QSLs"; $this->load->view('interface_assets/header', $data); $this->load->view('qslprint/index'); diff --git a/application/controllers/Radio.php b/application/controllers/Radio.php index dd0d7bd3..d8c95838 100755 --- a/application/controllers/Radio.php +++ b/application/controllers/Radio.php @@ -9,7 +9,7 @@ if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } // load the view - $data['page_title'] = "Radio Status"; + $data['page_title'] = "Radio Interface"; $this->load->view('interface_assets/header', $data); $this->load->view('radio/index'); diff --git a/application/controllers/User.php b/application/controllers/User.php index 2c6c4e03..5861d202 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -10,7 +10,7 @@ class User extends CI_Controller { $data['results'] = $this->user_model->users(); - $data['page_title'] = "Users"; + $data['page_title'] = "User Accounts"; $this->load->view('interface_assets/header', $data); $this->load->view('user/main'); diff --git a/application/views/interface_assets/header.php b/application/views/interface_assets/header.php index 58f74117..8ee6ffa2 100644 --- a/application/views/interface_assets/header.php +++ b/application/views/interface_assets/header.php @@ -116,39 +116,39 @@ Admin