diff --git a/application/controllers/Satellite.php b/application/controllers/Satellite.php index 3e6b52dae..dcd12e7ac 100644 --- a/application/controllers/Satellite.php +++ b/application/controllers/Satellite.php @@ -271,6 +271,7 @@ class Satellite extends CI_Controller { } else { // All SATs $data = $this->calcPasses($tles, $yourgrid, $date, $mintime,$minelevation); } + $this->load->view('satellite/passtable', $data); } catch (Exception $e) { @@ -529,6 +530,16 @@ class Satellite extends CI_Controller { } public function getSatelliteInfo() { + if($this->session->userdata('user_date_format')) { + // If Logged in and session exists + $custom_date_format = $this->session->userdata('user_date_format'); + } else { + // Get Default date format from /config/wavelog.php + $custom_date_format = $this->config->item('qso_date_format'); + } + + $data['custom_date_format'] = $custom_date_format; + $satname = $this->security->xss_clean($this->input->post('sat', true)); $this->load->model('satellite_model');