diff --git a/application/controllers/Search.php b/application/controllers/Search.php index f440e2cd..abba13e5 100644 --- a/application/controllers/Search.php +++ b/application/controllers/Search.php @@ -12,6 +12,12 @@ class Search 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(array( + 'lotw', + 'eqsl', + )); } public function index() @@ -277,4 +283,4 @@ class Search extends CI_Controller { } return $query; } -} \ No newline at end of file +} diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index c4a35e26..8d7beee6 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -360,6 +360,7 @@ function load_was_map() { if (isDarkModeTheme()) { $(".buttons-csv").css("color", "white"); } + $('[data-toggle="tooltip"]').tooltip(); $(".searchbutton").removeClass('running'); $(".searchbutton").prop('disabled', false); $("#btn-save").show(); @@ -395,6 +396,7 @@ function load_was_map() { //$log.info(e.value); }); +