Merge pull request #2554 from HB9HIL/dev-quicklog

Quicklog Feature
This commit is contained in:
Peter Goodhall 2023-11-05 14:31:48 +00:00 committed by GitHub
commit a7b6b593ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
54 changed files with 341 additions and 27 deletions

View File

@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
*/
$config['migration_version'] = 150;
$config['migration_version'] = 151;
/*
|--------------------------------------------------------------------------

View File

@ -91,6 +91,8 @@ class User extends CI_Controller {
$data['user_default_band'] = $this->input->post('user_default_band');
$data['user_default_confirmation'] = ($this->input->post('user_default_confirmation_qsl') !== null ? 'Q' : '').($this->input->post('user_default_confirmation_lotw') !== null ? 'L' : '').($this->input->post('user_default_confirmation_eqsl') !== null ? 'E' : '');
$data['user_qso_end_times'] = $this->input->post('user_qso_end_times');
$data['user_quicklog'] = $this->input->post('user_quicklog');
$data['user_quicklog_enter'] = $this->input->post('user_quicklog_enter');
$data['language'] = $this->input->post('language');
$this->load->view('user/add', $data);
} else {
@ -127,6 +129,8 @@ class User extends CI_Controller {
$this->input->post('user_default_band'),
($this->input->post('user_default_confirmation_qsl') !== null ? 'Q' : '').($this->input->post('user_default_confirmation_lotw') !== null ? 'L' : '').($this->input->post('user_default_confirmation_eqsl') !== null ? 'E' : ''),
$this->input->post('user_qso_end_times'),
$this->input->post('user_quicklog'),
$this->input->post('user_quicklog_enter'),
$this->input->post('language'),
)) {
// Check for errors
@ -175,6 +179,8 @@ class User extends CI_Controller {
$data['user_default_band'] = $this->input->post('user_default_band');
$data['user_default_confirmation'] = ($this->input->post('user_default_confirmation_qsl') !== null ? 'Q' : '').($this->input->post('user_default_confirmation_lotw') !== null ? 'L' : '').($this->input->post('user_default_confirmation_eqsl') !== null ? 'E' : '');
$data['user_qso_end_times'] = $this->input->post('user_qso_end_times');
$data['user_quicklog'] = $this->input->post('user_quicklog');
$data['user_quicklog_enter'] = $this->input->post('user_quicklog_enter');
$data['language'] = $this->input->post('language');
$this->load->view('user/add', $data);
$this->load->view('interface_assets/footer');
@ -398,6 +404,18 @@ class User extends CI_Controller {
$data['user_qso_end_times'] = $q->user_qso_end_times;
}
if($this->input->post('user_quicklog')) {
$data['user_quicklog'] = $this->input->post('user_quicklog', true);
} else {
$data['user_quicklog'] = $q->user_quicklog;
}
if($this->input->post('user_quicklog_enter')) {
$data['user_quicklog_enter'] = $this->input->post('user_quicklog_enter', true);
} else {
$data['user_quicklog_enter'] = $q->user_quicklog_enter;
}
if($this->input->post('user_show_profile_image')) {
$data['user_show_profile_image'] = $this->input->post('user_show_profile_image', false);
} else {
@ -539,6 +557,8 @@ class User extends CI_Controller {
$data['user_default_band'] = $this->input->post('user_default_band');
$data['user_default_confirmation'] = ($this->input->post('user_default_confirmation_qsl') !== null ? 'Q' : '').($this->input->post('user_default_confirmation_lotw') !== null ? 'L' : '').($this->input->post('user_default_confirmation_eqsl') !== null ? 'E' : '');
$data['user_qso_end_times'] = $this->input->post('user_qso_end_times');
$data['user_quicklog'] = $this->input->post('user_quicklog');
$data['user_quicklog_enter'] = $this->input->post('user_quicklog_enter');
$data['language'] = $this->input->post('language');
$data['user_winkey'] = $this->input->post('user_winkey');
$this->load->view('user/edit');

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -11,7 +11,7 @@ $lang['menu_advanced'] = 'Advanced';
$lang['menu_qso'] = 'QSO';
$lang['menu_live_qso'] = 'Live QSO';
$lang['menu_post_qso'] = 'Post QSO';
$lang['menu_fast_log_entry'] = "Simple Fast Log Entry";
$lang['menu_fast_log_entry'] = "Simple Fast Log Entry";
$lang['menu_live_contest_logging'] = 'Live Contest Logging';
$lang['menu_post_contest_logging'] = 'Post Contest Logging';
$lang['menu_bandmap'] = 'Bandmap';
@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';
@ -86,6 +88,6 @@ $lang['menu_help'] = 'Help';
$lang['menu_forum'] = 'Forum';
$lang['menu_logout'] = 'Logout';
$lang['menu_ffma'] = "Fred Fish Memorial Award";
$lang['menu_ja_gridmaster'] = 'JA Gridmaster';
$lang['menu_ffma'] = "Fred Fish Memorial Award";
$lang['menu_ja_gridmaster'] = 'JA Gridmaster';
$lang['menu_maintenance']='Maintenance';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Предложения';
$lang['qso_title_previous_contacts'] = 'Предишни контакти';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Посочете стойността на мощността във ватове. Въведете само цифри.';

View File

@ -37,6 +37,12 @@ $lang['account_timezone'] = '时区';
$lang['account_date_format'] = '日期格式';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = '距离单位偏好';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = '选择您登录账户时要显示的日期格式';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = '选择距离单位';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = '更新国家文件';
$lang['menu_debug_information'] = '调试信息';
$lang['menu_search_text'] = '搜索呼号';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = '搜索';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = '登录';
$lang['menu_account'] = '账户';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = '建议';
$lang['qso_title_previous_contacts'] = '先前通联';
$lang['qso_title_image'] = '操作员照片';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = '以瓦特为单位设置功率值。在输入中仅填写数值。';

View File

@ -37,6 +37,12 @@ $lang['account_timezone'] = 'Časové pásmo';
$lang['account_date_format'] = 'Formát data';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Nastavení měření';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Vyberte, jak chcete, aby byla data zobrazena při přihlášení do vašeho účtu.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Vyberte, v jakých jednotkách se budou zobrazovat vzdálenosti.';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Aktualizace souborů';
$lang['menu_debug_information'] = 'Informace pro ladění';
$lang['menu_search_text'] = 'Hledat značku';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Hledat';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Přihlásit se';
$lang['menu_account'] = 'Účet';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Návrhy';
$lang['qso_title_previous_contacts'] = 'Předchozí spojení';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Zadej výkon ve Wattech. Jsou povolen pouz čísla';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Suggesties';
$lang['qso_title_previous_contacts'] = 'Eerdere verbindingen';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Geef vermogen in Watt. Vermeld alleen cijfers.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_themes'] = 'Themes';
$lang['menu_backup'] = 'Backup';
$lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_search_button'] = 'Search';
$lang['menu_login_button'] = 'Login';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Suggestions';
$lang['qso_title_previous_contacts'] = 'Previous Contacts';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Give power value in Watts. Include only numbers in the input.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Aikavyöhyke';
$lang['account_date_format'] = 'Päivämäärämuoto';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Mittayksikkömuoto';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Valitse, miten haluat päivämäärät näkyvän, kun olet kirjautunut tilillesi.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Valitse, mitä mittayksikkömuotoa käytetään';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Näytä "Muistio" päävalikossa.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Päivitä Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Etsi kutsulla';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Etsi';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Kirjaudu';
$lang['menu_account'] = 'Käyttäjätili';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Kutsumerkkiehdotukset';
$lang['qso_title_previous_contacts'] = 'Edelliset yhteydet';
$lang['qso_title_image'] = 'Profiilikuva';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Anna teholukema Watteina käyttäen vain numeroita.';

View File

@ -37,6 +37,12 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Format de la date';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Unité de mesure';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = '(Sélectionnez le format de date à afficher)';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = '(Choisiez l\'unité de mesure à afficher)';

View File

@ -59,8 +59,10 @@ $lang['menu_themes'] = 'Themes';
$lang['menu_backup'] = 'Backup';
$lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_search_button'] = 'Search';
$lang['menu_login_button'] = 'Login';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Suggestions';
$lang['qso_title_previous_contacts'] = 'Contacts précédents';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Saisissez la ouissance en Watts en utilisant uniquement des chiffres.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Zeitzone';
$lang['account_date_format'] = 'Datumsformat';
$lang['account_log_end_time'] = 'Logge Endzeiten für QSOs separat';
$lang['account_log_end_time_hint'] = 'Wenn aktiviert, werden QSO Endzeiten separat erfasst. Falls nicht, ist die QSO Endzeit gleich der Startzeit.';
$lang['account_quicklog_feature'] = "Quicklog Feld";
$lang['account_quicklog_feature_hint'] = "Mit dieser Option kannst du Rufzeichen auch direkt aus dem Suchfeld in der Menüleiste heraus loggen.";
$lang['account_quicklog_enter'] = "Quicklog - Aktion mit Enter Taste";
$lang['account_quicklog_enter_hint'] = "Welche Aktion soll ausgeführt werden, wenn Enter gedrückt wird?";
$lang['account_quicklog_enter_log'] = "Logge Rufzeichen";
$lang['account_quicklog_enter_search'] = "Suche Rufzeichen";
$lang['account_measurement_preferences'] = 'Entfernungsformat';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Wähle, wie Datumsfelder angezeigt werden sollen, wenn du eingeloggt bist.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Wähle, in welcher Einheit Entfernungen angezeigt werden sollen.';
$lang['account_cloudlog_language'] = 'Cloudlog Sprache';
$lang['account_choose_cloudlog_language'] = 'Wähle eine Sprache für Cloudlog.';
$lang['account_main_menu'] = 'Hauptmenü';
$lang['account_main_menu'] = 'Menü Optionen';
$lang['account_show_notes_in_the_main_menu'] = 'Zeige Notizen im Hauptmenü';
$lang['account_gridsquare_and_location_autocomplete'] = 'Vervollständigung von Planquadrat und Lokation';

View File

@ -53,14 +53,16 @@ $lang['menu_user_account'] = 'Benutzerkonten';
$lang['menu_global_options'] = 'Globale Optionen';
$lang['menu_modes'] = 'Modi';
$lang['menu_contests'] = 'Conteste';
$lang['menu_themes'] = 'Layouts';
$lang['menu_themes'] = 'Themes';
$lang['menu_backup'] = 'Backup';
$lang['menu_update_country_files'] = 'Update Länderinformationen';
$lang['menu_debug_information'] = 'Debug Informationen';
$lang['menu_search_text'] = 'Rufzeichensuche';
$lang['menu_search_text_quicklog'] = "Logge/Suche Call"; //"Rufzeichen" wäre zu lang, daher nur "Call". Das wird verstanden.
$lang['menu_search_button'] = 'Suche';
$lang['menu_search_button_qicksearch_log'] = "Logge";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Konto';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Vorschläge';
$lang['qso_title_previous_contacts'] = 'Vorherige Kontakte';
$lang['qso_title_image'] = 'Profilbild';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Rufzeichen';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Gib die Ausgangsleistung in Watt an. Erfasse nur Zahlen bei der Eingabe.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Εισήγησης';
$lang['qso_title_previous_contacts'] = 'Προηγούμενες Επαφές';
$lang['qso_title_image'] = 'Εικόνα προφίλ';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Δώστε τιμή ισχύος σε Watts. Συμπεριλάβετε μόνο αριθμούς στην εισαγωγή.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Suggerimenti';
$lang['qso_title_previous_contacts'] = 'Contatti Precedenti';
$lang['qso_title_image'] = 'Immagine Profilo';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Dare valore di potenza in Watt. Includere solo numeri nell input.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Sugestie';
$lang['qso_title_previous_contacts'] = 'Poprzednie łączności';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Wpisz wartość mocy w watach. W polu podaj same cyfry.';

View File

@ -37,6 +37,12 @@ $lang['account_timezone'] = 'Часовой пояс';
$lang['account_date_format'] = 'Формат даты';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Единицы измерения';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Выберите представление даты для отображения в вашем аккаунте.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Выберите единицы измерения расстояния';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Обновить файлы стран';
$lang['menu_debug_information'] = 'Отладочная информация';
$lang['menu_search_text'] = 'Поиск позывного';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Поиск';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Вход';
$lang['menu_account'] = 'Аккаунт';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Предложения';
$lang['qso_title_previous_contacts'] = 'Предыдущие контакты';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Укажите мощность в Ваттах (только цифры).';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Sugerencias';
$lang['qso_title_previous_contacts'] = 'Contactos previos';
$lang['qso_title_image'] = 'Profile Picture';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Especifique el valor de potencia en Watios (W). Incluya solo números.';

View File

@ -13,8 +13,8 @@ $lang['account_create_user_account'] = 'Skapa användarkonto';
$lang['account_edit_account'] = 'Redigera användarkonto';
$lang['account_account_information'] = 'Användarkontoinformation';
$lang['account_user'] = "User";
$lang['account_word_edited'] = "edited";
$lang['account_user'] = "User";
$lang['account_word_edited'] = "edited";
$lang['account_username'] = 'Användarnamn';
$lang['account_email_address'] = 'E-postadress';
$lang['account_password'] = 'Lösenord';
@ -37,6 +37,12 @@ $lang['account_timezone'] = 'Tidszon';
$lang['account_date_format'] = 'Datumformat';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Välj hur du vill att datum ska visas när du är inloggad på ditt konto.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Välj i vilken enhetsavstånd som ska visas';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Uppdatera landsfiler';
$lang['menu_debug_information'] = 'Debug Info';
$lang['menu_search_text'] = 'Sök Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Sök';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Logga in';
$lang['menu_account'] = 'Konto';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Förslag';
$lang['qso_title_previous_contacts'] = 'Föregående QSOn';
$lang['qso_title_image'] = 'Profilbild';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Ange effekt i watt, enbart med siffror.';

View File

@ -37,13 +37,19 @@ $lang['account_timezone'] = 'Timezone';
$lang['account_date_format'] = 'Date Format';
$lang['account_log_end_time'] = 'Log End Times for QSOs Separately';
$lang['account_log_end_time_hint'] = 'Choose yes here if you want to log QSO start and end times separately. If set to \'No\' the end time will be the same as start time.';
$lang['account_quicklog_feature'] = "Quicklog Field";
$lang['account_quicklog_feature_hint'] = "With this feature, you can log callsigns using the search field in the header.";
$lang['account_quicklog_enter'] = "Quicklog - Action on press Enter";
$lang['account_quicklog_enter_hint'] = "What action should be performed when Enter is pressed in the quicklog field?";
$lang['account_quicklog_enter_log'] = "Log Callsign";
$lang['account_quicklog_enter_search'] = "Search Callsign";
$lang['account_measurement_preferences'] = 'Measurement preference';
$lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.';
$lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in';
$lang['account_cloudlog_language'] = 'Cloudlog Language';
$lang['account_choose_cloudlog_language'] = 'Choose Cloudlog language.';
$lang['account_main_menu'] = 'Main Menu';
$lang['account_main_menu'] = 'Menu Options';
$lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.';
$lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete';

View File

@ -59,8 +59,10 @@ $lang['menu_update_country_files'] = 'Update Country Files';
$lang['menu_debug_information'] = 'Debug Information';
$lang['menu_search_text'] = 'Search Callsign';
$lang['menu_search_text_quicklog'] = "Add/Search Callsign";
$lang['menu_search_button'] = 'Search';
$lang['menu_search_button_qicksearch_log'] = "Log";
$lang['menu_login_button'] = 'Login';
$lang['menu_account'] = 'Account';

View File

@ -8,6 +8,9 @@ $lang['qso_title_suggestions'] = 'Öneriler';
$lang['qso_title_previous_contacts'] = 'Önceki Görüşmeler';
$lang['qso_title_image'] = 'Profil Resmi';
// Quicklog on Dashboard
$lang['qso_quicklog_enter_callsign'] = 'QUICKLOG Enter Callsign';
// Input Help Text on the /QSO Display
$lang['qso_transmit_power_helptext'] = 'Gücü Watt olarak veriniz. Sadece rakamları giriniz.';

View File

@ -0,0 +1,39 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
* This adds an option to enable the
* QUICKLOG Feature
*/
class Migration_user_quicklog extends CI_Migration {
public function up()
{
if (!$this->db->field_exists('user_quicklog', 'users')) {
$fields = array(
'user_quicklog integer DEFAULT 0 AFTER user_default_confirmation',
);
$this->dbforge->add_column('users', $fields);
}
if (!$this->db->field_exists('user_quicklog_enter', 'users')) {
$fields = array(
'user_quicklog_enter integer DEFAULT 0 AFTER user_default_confirmation',
);
$this->dbforge->add_column('users', $fields);
}
}
public function down()
{
if ($this->db->field_exists('user_quicklog', 'users')) {
$this->dbforge->drop_column('users', 'user_quicklog');
}
if ($this->db->field_exists('user_quicklog_enter', 'users')) {
$this->dbforge->drop_column('users', 'user_quicklog_enter');
}
}
}

View File

@ -124,7 +124,7 @@ class User_Model extends CI_Model {
$measurement, $user_date_format, $user_stylesheet, $user_qth_lookup, $user_sota_lookup, $user_wwff_lookup,
$user_pota_lookup, $user_show_notes, $user_column1, $user_column2, $user_column3, $user_column4, $user_column5,
$user_show_profile_image, $user_previous_qsl_type, $user_amsat_status_upload, $user_mastodon_url,
$user_default_band, $user_default_confirmation, $user_qso_end_times, $language) {
$user_default_band, $user_default_confirmation, $user_qso_end_times, $user_quicklog, $user_quicklog_enter, $language) {
// Check that the user isn't already used
if(!$this->exists($username)) {
$data = array(
@ -157,6 +157,8 @@ class User_Model extends CI_Model {
'user_default_band' => xss_clean($user_default_band),
'user_default_confirmation' => xss_clean($user_default_confirmation),
'user_qso_end_times' => xss_clean($user_qso_end_times),
'user_quicklog' => xss_clean($user_quicklog),
'user_quicklog_enter' => xss_clean($user_quicklog_enter),
'language' => xss_clean($language),
);
@ -219,6 +221,8 @@ class User_Model extends CI_Model {
'user_default_band' => xss_clean($fields['user_default_band']),
'user_default_confirmation' => (isset($fields['user_default_confirmation_qsl']) ? 'Q' : '').(isset($fields['user_default_confirmation_lotw']) ? 'L' : '').(isset($fields['user_default_confirmation_eqsl']) ? 'E' : ''),
'user_qso_end_times' => xss_clean($fields['user_qso_end_times']),
'user_quicklog' => xss_clean($fields['user_quicklog']),
'user_quicklog_enter' => xss_clean($fields['user_quicklog_enter']),
'language' => xss_clean($fields['language']),
'winkey' => xss_clean($fields['user_winkey']),
);
@ -346,6 +350,8 @@ class User_Model extends CI_Model {
'user_default_band' => $u->row()->user_default_band,
'user_default_confirmation' => $u->row()->user_default_confirmation,
'user_qso_end_times' => isset($u->row()->user_qso_end_times) ? $u->row()->user_qso_end_times : 1,
'user_quicklog' => isset($u->row()->user_quicklog) ? $u->row()->user_quicklog : 1,
'user_quicklog_enter' => isset($u->row()->user_quicklog_enter) ? $u->row()->user_quicklog_enter : 1,
'active_station_logbook' => $u->row()->active_station_logbook,
'language' => isset($u->row()->language) ? $u->row()->language: 'english',
'isWinkeyEnabled' => $u->row()->winkey,

View File

@ -188,7 +188,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
<div id="radio_display" hx-get="<?php echo site_url('visitor/radio_display_component'); ?>" hx-trigger="load, every 5s"></div>
<table class="table table-striped">
<tr class="titles">
<td colspan="2"><i class="fas fa-chart-bar"></i> <?php echo lang('dashboard_qso_breakdown'); ?></td>

View File

@ -168,21 +168,25 @@
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Tools"><i class="fas fa-tools"></i><div class="d-inline d-lg-none" style="padding-left: 10px">Tools</div></a>
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Tools"><i class="fas fa-tools"></i>
<div class="d-inline d-lg-none" style="padding-left: 10px">Tools</div>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="<?php echo site_url('hamsat'); ?>" title="Hams.at"><i class="fas fa-list"></i> Hams.at</a>
<?php if ($this->optionslib->get_option('dxcache_url') != '') { ?>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('bandmap/list'); ?>" title="Bandmap"><i class="fa fa-id-card"></i> <?php echo lang('menu_bandmap'); ?></a>
<?php } ?>
<div class="dropdown-divider"></div>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('sattimers'); ?>" title="SAT Timers"><i class="fas fa-satellite"></i> SAT Timers</a>
</div>
</li>
<?php if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') == 99)) { ?>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="<?php echo lang('menu_admin'); ?>"><i class="fas fa-users-cog"></i><div class="d-inline d-lg-none" style="padding-left: 10px"><?php echo lang('menu_admin'); ?></div></a>
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="<?php echo lang('menu_admin'); ?>"><i class="fas fa-users-cog"></i>
<div class="d-inline d-lg-none" style="padding-left: 10px"><?php echo lang('menu_admin'); ?></div>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="<?php echo site_url('user'); ?>" title="Manage user accounts"><i class="fas fa-user"></i> <?php echo lang('menu_user_account'); ?></a>
@ -225,10 +229,58 @@
<?php } ?>
</ul>
<?php if ($this->optionslib->get_option('global_search') != "false" || $this->session->userdata('user_type') >= 2) { ?>
<?php if ($this->session->userdata('user_quicklog') == 1) { ?>
<script>
function submitForm(action) {
var form = document.getElementById('quicklog-form');
var input = document.getElementById('quicklog-input');
if (action === 'search') {
form.action = "<?php echo site_url('search'); ?>";
form.method = "post";
} else if (action === 'qso') {
form.action = "<?php echo site_url('qso'); ?>";
form.method = "get";
input.name = "manual";
input.value = "0"; // Set to 1 if go to "Post-QSO" logging
}
form.submit();
}
</script>
<?php if ($this->session->userdata('user_quicklog_enter') == 1) { ?>
<script>
function handleKeyPress(event) {
if (event.key === 'Enter') {
submitForm('search'); // Treat Enter key press as clicking the 'quicksearch-search' button
}
}
</script>
<?php } else { ?>
<script>
function handleKeyPress(event) {
if (event.key === 'Enter') {
submitForm('qso'); // Treat Enter key press as clicking the 'quicksearch-log' button
}
}
</script>
<?php } ?>
<form id="quicklog-form" class="form-inline">
<input class="form-control mr-sm-2" id="nav-bar-search-input" type="search" name="callsign" placeholder="<?php echo lang('menu_search_text_quicklog'); ?>" aria-label="Search" onkeypress="handleKeyPress(event)">
<button title="<?php echo lang('menu_search_button_qicksearch_log'); ?>" class="btn btn-outline-success my-2 my-sm-0" type="button" onclick="submitForm('qso')"><i class="fas fa-plus"></i>
<div class="d-inline d-lg-none" style="padding-left: 10px"><?php echo lang('menu_search_button_qicksearch_log'); ?></div>
</button>
<input type="hidden" id="quicklog-input">
<button title="<?php echo lang('menu_search_button'); ?>" class="btn btn-outline-success my-2 my-sm-0" type="button" onclick="submitForm('search')" style="margin-left: 5px"><i class="fas fa-search"></i>
<div class="d-inline d-lg-none" style="padding-left: 10px"><?php echo lang('menu_search_button'); ?></div>
</button>
</form>
<?php } else { ?>
<form method="post" action="<?php echo site_url('search'); ?>" class="form-inline">
<input class="form-control mr-sm-2" id="nav-bar-search-input" type="search" name="callsign" placeholder="<?php echo lang('menu_search_text'); ?>" aria-label="Search">
<button title="<?php echo lang('menu_search_button'); ?>" class="btn btn-outline-success my-2 my-sm-0" type="submit"><i class="fas fa-search"></i><div class="d-inline d-lg-none" style="padding-left: 10px"><?php echo lang('menu_search_button'); ?></div></button>
<button title="<?php echo lang('menu_search_button'); ?>" class="btn btn-outline-success my-2 my-sm-0" type="submit"><i class="fas fa-search"></i>
<div class="d-inline d-lg-none" style="padding-left: 10px"><?php echo lang('menu_search_button'); ?></div>
</button>
</form>
<?php } ?>
@ -363,4 +415,4 @@
</div>
</div>
</nav>
</nav>

View File

@ -109,7 +109,7 @@
<div class="form-row">
<div class="form-group col-md-9">
<label for="callsign"><?php echo lang('gen_hamradio_callsign'); ?></label><?php if ($this->optionslib->get_option('dxcache_url') != '') { ?>&nbsp;<i id="check_cluster" data-toggle="tooltip" data-original-title="Search DXCluster for latest Spot" class="fas fa-search"></i> <?php } ?>
<input type="text" class="form-control" id="callsign" name="callsign" required>
<input type="text" class="form-control" id="callsign" name="callsign" value="<?php echo !empty($_GET['callsign']) ? $_GET['callsign'] : ''; ?>" required>
<small id="callsign_info" class="badge badge-secondary"></small> <a id="lotw_link"><small id="lotw_info" class="badge badge-success"></small></a>
</div>
<div class="form-group col-md-3 align-self-center">

View File

@ -231,6 +231,23 @@
<option value="0"><?php echo lang('general_word_no'); ?></option>
<option value="1"><?php echo lang('general_word_yes'); ?></option>
</select>
<small> </small>
</div>
<div class="form-group">
<label for="quicklog"><?php echo lang('account_quicklog_feature'); ?></label>
<select class="custom-select" id="quicklog" name="user_quicklog">
<option value="0"><?php echo lang('general_word_no'); ?></option>
<option value="1"><?php echo lang('general_word_yes'); ?></option>
</select>
<small id="SelectDateFormatHelp" class="form-text text-muted"><?php echo lang('account_quicklog_feature_hint'); ?></small>
</div>
<div class="form-group">
<label for="quicklog"><?php echo lang('account_quicklog_enter'); ?></label>
<select class="custom-select" id="quicklog" name="user_quicklog_enter">
<option value="0"><?php echo lang('account_quicklog_enter_log'); ?></option>
<option value="1"><?php echo lang('account_quicklog_enter_search'); ?></option>
</select>
<small id="SelectDateFormatHelp" class="form-text text-muted"><?php echo lang('account_quicklog_enter_hint'); ?></small>
</div>
</div>
</div>

View File

@ -309,7 +309,22 @@
<option value="0" <?php if ($user_show_notes == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
</select>
</div>
<div class="form-group">
<label for="quicklog"><?php echo lang('account_quicklog_feature'); ?></label>
<select class="custom-select" id="quicklog" name="user_quicklog">
<option value="1" <?php if ($user_quicklog == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
<option value="0" <?php if ($user_quicklog == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
</select>
<small id="SelectDateFormatHelp" class="form-text text-muted"><?php echo lang('account_quicklog_feature_hint'); ?></small>
</div>
<div class="form-group">
<label for="quicklog"><?php echo lang('account_quicklog_enter'); ?></label>
<select class="custom-select" id="quicklog" name="user_quicklog_enter">
<option value="0" <?php if ($user_quicklog_enter == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('account_quicklog_enter_log'); ?></option>
<option value="1" <?php if ($user_quicklog_enter == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('account_quicklog_enter_search'); ?></option>
</select>
<small id="SelectDateFormatHelp" class="form-text text-muted"><?php echo lang('account_quicklog_enter_hint'); ?></small>
</div>
</div>
</div>
</div>