diff --git a/application/controllers/Options.php b/application/controllers/Options.php index 4a9ea734..a81a8865 100644 --- a/application/controllers/Options.php +++ b/application/controllers/Options.php @@ -338,6 +338,8 @@ class Options extends CI_Controller { $global_oqrs_text = $this->optionslib->update('groupedSearch', $this->input->post('groupedSearch'), null); + $global_oqrs_text = $this->optionslib->update('groupedSearchShowStationName', $this->input->post('groupedSearchShowStationName'), null); + if($global_oqrs_text == TRUE) { $this->session->set_flashdata('success', $this->lang->line('options_oqrs_options_have_been_saved')); } diff --git a/application/views/options/oqrs.php b/application/views/options/oqrs.php index 4499c207..82664daa 100644 --- a/application/views/options/oqrs.php +++ b/application/views/options/oqrs.php @@ -49,6 +49,15 @@ +
+ + + +
+ diff --git a/application/views/oqrs/request_grouped.php b/application/views/oqrs/request_grouped.php index b0bd4a67..62330269 100644 --- a/application/views/oqrs/request_grouped.php +++ b/application/views/oqrs/request_grouped.php @@ -10,6 +10,11 @@ The following QSO(s) were found. Please fill out the date and time and submit yo Band Mode Callsign + optionslib->get_option('groupedSearchShowStationName'); + if ($showStationName == 'on'): ?> + Station Name + @@ -23,6 +28,10 @@ The following QSO(s) were found. Please fill out the date and time and submit yo echo ''. $qso->col_band .''; echo ''; echo $qso->col_submode == null ? strtoupper($qso->col_mode) : strtoupper($qso->col_submode); echo ''; echo ''. $qso->station_callsign .''; + $showStationName = $this->optionslib->get_option('groupedSearchShowStationName'); + if ($showStationName == 'on'): + echo ''. $qso->station_profile_name .''; + endif; echo ''; } ?>