mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Forgot changes in the controller
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user