diff --git a/application/controllers/Station.php b/application/controllers/Station.php index 427d94665..7cc014b62 100644 --- a/application/controllers/Station.php +++ b/application/controllers/Station.php @@ -19,25 +19,6 @@ class Station extends CI_Controller } } - public function index() - { - $this->load->model('stations'); - $this->load->model('Logbook_model'); - $this->load->model('user_model'); - - $data['is_admin'] = ($this->user_model->authorize(99)); - - $data['stations'] = $this->stations->all_with_count(); - $data['current_active'] = $this->stations->find_active(); - $data['is_there_qsos_with_no_station_id'] = $this->Logbook_model->check_for_station_id(); - - // Render Page - $data['page_title'] = __("Station Location"); - $this->load->view('interface_assets/header', $data); - $this->load->view('station_profile/index'); - $this->load->view('interface_assets/footer'); - } - public function create() { $this->load->model('stations'); diff --git a/application/views/station_profile/index.php b/application/views/station_profile/index.php deleted file mode 100644 index 603320435..000000000 --- a/application/views/station_profile/index.php +++ /dev/null @@ -1,120 +0,0 @@ -
- -
- session->flashdata('message')) { ?> - -
-

session->flashdata('message'); ?>

-
- - -

- -
-
-

-

-

- -

- - num_rows() > 0) { ?> - - - - - - = 1) && ($is_admin)) { ?> - - - -
- - - - - - - - - - - user_options_model->get_options('header_menu', array('option_name'=>'locations_quickswitch'))->row()->option_value ?? 'false'); - if ($quickswitch_enabled == 'true') { - ?> - - - - - - - - result() as $row) { ?> - - - - - - - - - - - - - - - - - - -
Favorite
- station_profile_name;?>
-
station_callsign;?>station_country == '' ? '- NONE -' : $row->station_country; if ($row->dxcc_end != NULL) { echo ' '.__("Deleted DXCC").''; } ?>station_gridsquare;?> - station_active != 1) { ?> - station_id; ?>" class="btn btn-outline-secondary btn-sm" onclick="return confirm(' station_profile_name; ?>');"> - - - - -
- ID: station_id;?> - qso_total;?> -
- station_id; ?>" title= class="btn btn-outline-primary btn-sm"> - - station_id; ?>" title= class="btn btn-outline-primary btn-sm"> - - user_options_model->get_options('station_location', array('option_name'=>'is_favorite', 'option_key'=>$row->station_id))->row()->option_value ?? 'false'); - if ($locationFavorite == 'true') { - $favStarClasses = 'class="fas fa-star" style="color: #ffc82b;"'; - } else { - $favStarClasses = 'class="far fa-star" style="color: #a58118;"'; - } ?> - station_id; ?>" title="mark/unmark as favorite" > - - - station_id; ?>" class="btn btn-danger btn-sm" title= onclick="return confirm('');"> - station_active != 1) { - $cnfmsg = sprintf(__("Are you sure you want delete station profile '%s'? This will delete all QSOs within this station profile."), $row->station_profile_name); ?> - station_id; ?>" class="btn btn-danger btn-sm" title= onclick="return confirm('')"> - -
-
- -
-
- - -