diff --git a/application/controllers/Notes.php b/application/controllers/Notes.php index 6f6a5ada..f4356398 100644 --- a/application/controllers/Notes.php +++ b/application/controllers/Notes.php @@ -8,9 +8,9 @@ class Notes extends CI_Controller { $this->load->model('note'); $data['notes'] = $this->note->list_all(); $data['page_title'] = "Notes"; - $this->load->view('layout/header', $data); + $this->load->view('interface_assets/header', $data); $this->load->view('notes/main'); - $this->load->view('layout/footer'); + $this->load->view('interface_assets/footer'); } /* Provides function for adding notes to the system. */ @@ -27,9 +27,9 @@ class Notes extends CI_Controller { if ($this->form_validation->run() == FALSE) { $data['page_title'] = "Add Notes"; - $this->load->view('layout/header', $data); + $this->load->view('interface_assets/header', $data); $this->load->view('notes/add'); - $this->load->view('layout/footer'); + $this->load->view('interface_assets/footer'); } else { @@ -47,9 +47,9 @@ class Notes extends CI_Controller { // Display $data['page_title'] = "Note"; - $this->load->view('layout/header', $data); + $this->load->view('interface_assets/header', $data); $this->load->view('notes/view'); - $this->load->view('layout/footer'); + $this->load->view('interface_assets/footer'); } /* Edit Notes */ @@ -68,9 +68,9 @@ class Notes extends CI_Controller { if ($this->form_validation->run() == FALSE) { $data['page_title'] = "Edit Note"; - $this->load->view('layout/header', $data); + $this->load->view('interface_assets/header', $data); $this->load->view('notes/edit'); - $this->load->view('layout/footer'); + $this->load->view('interface_assets/footer'); } else { diff --git a/application/views/notes/add.php b/application/views/notes/add.php index 8c26e769..863638a9 100644 --- a/application/views/notes/add.php +++ b/application/views/notes/add.php @@ -1,11 +1,10 @@ -
Some quick example text to build on the card title and make up the bulk of the card's content.
+ --
You don't currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can't lose them!
"; } - echo "You don't currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can't lose them!
"; - } - ?> - - -