From e79a34989793c8358d20eeb3e0e4667d46d9729c Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Fri, 4 Oct 2019 18:30:55 +0100 Subject: [PATCH] Start of settings --- application/controllers/Settings.php | 19 +++++++++++++++++++ application/models/Clublog_model.php | 2 +- application/views/Settings/index.php | 28 ++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 application/controllers/Settings.php create mode 100644 application/views/Settings/index.php diff --git a/application/controllers/Settings.php b/application/controllers/Settings.php new file mode 100644 index 00000000..6b27c130 --- /dev/null +++ b/application/controllers/Settings.php @@ -0,0 +1,19 @@ +load->view('interface_assets/header', $data); + $this->load->view('settings/index'); + $this->load->view('interface_assets/footer'); + } +} \ No newline at end of file diff --git a/application/models/Clublog_model.php b/application/models/Clublog_model.php index e8469919..a05c7a39 100644 --- a/application/models/Clublog_model.php +++ b/application/models/Clublog_model.php @@ -8,7 +8,7 @@ class Clublog_model extends CI_Model { } function get_clublog_auth_info($username) { - $this->db->select('user_name, user_clublog_name, user_clublog_password, user_clublog_callsign'); + $this->db->select('user_name, user_clublog_name, user_clublog_password'); $this->db->where('user_name', $username); $query = $this->db->get($this->config->item('auth_table')); return $row = $query->row_array(); diff --git a/application/views/Settings/index.php b/application/views/Settings/index.php new file mode 100644 index 00000000..102c19cb --- /dev/null +++ b/application/views/Settings/index.php @@ -0,0 +1,28 @@ +
+ +
+ +
+ +
+ + + +
+ 2 of 2 +
+
+ +
\ No newline at end of file