diff --git a/application/controllers/Notes.php b/application/controllers/Notes.php index a8de4a47..3101da88 100644 --- a/application/controllers/Notes.php +++ b/application/controllers/Notes.php @@ -8,6 +8,9 @@ class Notes extends CI_Controller { $this->load->model('user_model'); if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } + + // Load language files + $this->lang->load('notes'); } diff --git a/application/language/english/notes_lang.php b/application/language/english/notes_lang.php new file mode 100644 index 00000000..74043b8b --- /dev/null +++ b/application/language/english/notes_lang.php @@ -0,0 +1,23 @@ +
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 "".$this->lang->line('notes_welcome')."
"; } ?> diff --git a/application/views/notes/view.php b/application/views/notes/view.php index 899946c5..ded9057b 100644 --- a/application/views/notes/view.php +++ b/application/views/notes/view.php @@ -3,22 +3,22 @@