pull/2148/head
cats-shadow 2023-05-19 12:48:29 +03:00
rodzic b6a5ba5f27
commit fe69759afb
9 zmienionych plików z 168 dodań i 54 usunięć

Wyświetl plik

@ -96,7 +96,7 @@ class Options extends CI_Controller {
// If theme update is complete set a flashsession with a success note
if($search_update_status == TRUE) {
$this->session->set_flashdata('success', 'Global Search changed to '.$this->input->post('globalSearch'));
$this->session->set_flashdata('success', $this->lang->line('options_global_search_changed_to').$this->input->post('globalSearch'));
}
// Update dashboard banner within the options system
@ -104,7 +104,7 @@ class Options extends CI_Controller {
// If dashboard banner update is complete set a flashsession with a success note
if($dasboard_banner_update_status == TRUE) {
$this->session->set_flashdata('success', 'Dashboard banner changed to '.$this->input->post('dashboardBanner'));
$this->session->set_flashdata('success', $this->lang->line('options_dashboard_banner_changed_to').$this->input->post('dashboardBanner'));
}
// Update dashboard map within the options system
@ -112,7 +112,7 @@ class Options extends CI_Controller {
// If dashboard map update is complete set a flashsession with a success note
if($ldashboard_map_update_status == TRUE) {
$this->session->set_flashdata('success', 'Dashboard map changed to '.$this->input->post('dashboardMap'));
$this->session->set_flashdata('success', $this->lang->line('options_dashboard_map_changed_to').$this->input->post('dashboardMap'));
}
// Update logbook map within the options system
@ -120,7 +120,7 @@ class Options extends CI_Controller {
// If logbook map update is complete set a flashsession with a success note
if($logbook_map_update_status == TRUE) {
$this->session->set_flashdata('success', 'Logbook map changed to '.$this->input->post('logbookMap'));
$this->session->set_flashdata('success', $this->lang->line('options_logbook_map_changed_to').$this->input->post('logbookMap'));
}
// Update Lang choice within the options system
@ -140,7 +140,7 @@ class Options extends CI_Controller {
function radio() {
$data['page_title'] = $this->lang->line('options_cloudlog_options');
$data['sub_heading'] = "Radio Settings";
$data['sub_heading'] = $this->lang->line('options_radio_settings');
$this->load->view('interface_assets/header', $data);
$this->load->view('options/radios');
@ -153,7 +153,7 @@ class Options extends CI_Controller {
// Get Language Options
$data['page_title'] = $this->lang->line('options_cloudlog_options');
$data['sub_heading'] = "Radio Settings";
$data['sub_heading'] = $this->lang->line('options_radio_settings');
$this->load->helper(array('form', 'url'));
@ -174,7 +174,7 @@ class Options extends CI_Controller {
// If theme update is complete set a flashsession with a success note
if($radioTimeout_update == TRUE) {
$this->session->set_flashdata('success', 'Radio Timeout Warning changed to '.$this->input->post('radioTimeout').' seconds');
$this->session->set_flashdata('success', $this->lang->line('options_radio_timeout_warning_changed_to').$this->input->post('radioTimeout').' seconds');
}
// Redirect back to /appearance
@ -186,7 +186,7 @@ class Options extends CI_Controller {
function email() {
$data['page_title'] = $this->lang->line('options_cloudlog_options');
$data['sub_heading'] = "Email";
$data['sub_heading'] = $this->lang->line('options_email');
$this->load->view('interface_assets/header', $data);
$this->load->view('options/email');
@ -199,7 +199,7 @@ class Options extends CI_Controller {
// Get Language Options
$data['page_title'] = $this->lang->line('options_cloudlog_options');
$data['sub_heading'] = "Email";
$data['sub_heading'] = $this->lang->line('options_email');
$this->load->helper(array('form', 'url'));
@ -221,7 +221,7 @@ class Options extends CI_Controller {
// If emailProtocolupdate update is complete set a flashsession with a success note
if($emailProtocolupdate == TRUE) {
$this->session->set_flashdata('success', 'Outgoing Email Protocol changed to '.$this->input->post('emailProtocol'));
$this->session->set_flashdata('success', $this->lang->line('options_outgoing_email_protocol_changed_to').$this->input->post('emailProtocol'));
}
// Update smtpEncryption choice within the options system
@ -229,7 +229,7 @@ class Options extends CI_Controller {
// If smtpEncryption update is complete set a flashsession with a success note
if($smtpEncryptionupdate == TRUE) {
$this->session->set_flashdata('success', 'SMTP Encryption changed to '.$this->input->post('smtpEncryption'));
$this->session->set_flashdata('success', $this->lang->line('options_smtp_encryption_changed_to').$this->input->post('smtpEncryption'));
}
// Update smtpHost choice within the options system
@ -237,7 +237,7 @@ class Options extends CI_Controller {
// If smtpHost update is complete set a flashsession with a success note
if($smtpHostupdate == TRUE) {
$this->session->set_flashdata('success', 'SMTP Host changed to '.$this->input->post('smtpHost'));
$this->session->set_flashdata('success', $this->lang->line('options_smtp_host_changed_to').$this->input->post('smtpHost'));
}
// Update smtpPort choice within the options system
@ -245,7 +245,7 @@ class Options extends CI_Controller {
// If smtpPort update is complete set a flashsession with a success note
if($smtpPortupdate == TRUE) {
$this->session->set_flashdata('success', 'SMTP Port changed to '.$this->input->post('smtpPort'));
$this->session->set_flashdata('success', $this->lang->line('options_smtp_port_changed_to').$this->input->post('smtpPort'));
}
// Update smtpUsername choice within the options system
@ -253,7 +253,7 @@ class Options extends CI_Controller {
// If smtpUsername update is complete set a flashsession with a success note
if($smtpUsernameupdate == TRUE) {
$this->session->set_flashdata('success', 'SMTP Username changed to '.$this->input->post('smtpUsername'));
$this->session->set_flashdata('success', $this->lang->line('options_smtp_username_changed_to').$this->input->post('smtpUsername'));
}
// Update smtpPassword choice within the options system
@ -261,7 +261,7 @@ class Options extends CI_Controller {
// If smtpPassword update is complete set a flashsession with a success note
if($smtpPasswordupdate == TRUE) {
$this->session->set_flashdata('success', 'SMTP Password changed to '.$this->input->post('smtpPassword'));
$this->session->set_flashdata('success', $this->lang->line('options_smtp_password_changed_to').$this->input->post('smtpPassword'));
}
// Update emailcrlf choice within the options system
@ -269,7 +269,7 @@ class Options extends CI_Controller {
// If emailcrlf update is complete set a flashsession with a success note
if($emailcrlfupdate == TRUE) {
$this->session->set_flashdata('success', 'Email CRLF changed to '.$this->input->post('emailcrlf'));
$this->session->set_flashdata('success', $this->lang->line('options_email_crlf_changed_to').$this->input->post('emailcrlf'));
}
// Update emailnewline choice within the options system
@ -277,7 +277,7 @@ class Options extends CI_Controller {
// If emailnewline update is complete set a flashsession with a success note
if($emailnewlineupdate == TRUE) {
$this->session->set_flashdata('success', 'Email Newline changed to '.$this->input->post('emailnewline'));
$this->session->set_flashdata('success', $this->lang->line('options_email_newline_changed_to').$this->input->post('emailnewline'));
}
// Redirect back to /appearance
@ -288,7 +288,7 @@ class Options extends CI_Controller {
function oqrs() {
$data['page_title'] = $this->lang->line('options_cloudlog_options');
$data['sub_heading'] = "OQRS Options";
$data['sub_heading'] = $this->lang->line('options_oqrs');
$this->load->view('interface_assets/header', $data);
$this->load->view('options/oqrs');
@ -298,7 +298,7 @@ class Options extends CI_Controller {
function oqrs_save() {
$data['page_title'] = $this->lang->line('options_cloudlog_options');
$data['sub_heading'] = "OQRS Options";
$data['sub_heading'] = $this->lang->line('options_oqrs');
$this->load->helper(array('form', 'url'));
@ -309,7 +309,7 @@ class Options extends CI_Controller {
$global_oqrs_text = $this->optionslib->update('groupedSearch', $this->input->post('groupedSearch'), null);
if($global_oqrs_text == TRUE) {
$this->session->set_flashdata('success', 'OQRS options have been saved.');
$this->session->set_flashdata('success', $this->lang->line('options_oqrs_options_have_been_saved'));
}
redirect('/options/oqrs');

Wyświetl plik

@ -0,0 +1,57 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['options_cloudlog_options'] = 'Cloudlog Options';
$lang['options_message1'] = 'Cloudlog Options are global settings used for all users of the installation, which are overridden if there\'s a setting on a user level.';
$lang['options_appearance'] = 'Appearance';
$lang['options_theme'] = 'Theme';
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Global Theme Choice, this is used when users arent logged in.';
$lang['options_public_search_bar'] = 'Public Search Bar';
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'This allows non logged in users to access the search functions.';
$lang['options_dashboard_notification_banner'] = 'Dashboard Notification Banner';
$lang['options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard'] = 'This allows to disable the global notification banner on the dashboard.';
$lang['options_dashboard_map'] = 'Dashboard Map';
$lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'This allows the map on the dashboard to be disabled or placed on the right.';
$lang['options_logbook_map'] = 'Logbook Map';
$lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'This allows to disable the map in the logbook.';
$lang['options_theme_changed_to'] = 'Theme changed to ';
$lang['options_global_search_changed_to'] = 'Global Search changed to ';
$lang['options_dashboard_banner_changed_to'] = 'Dashboard banner changed to ';
$lang['options_dashboard_map_changed_to'] = 'Dashboard map changed to ';
$lang['options_logbook_map_changed_to'] = 'Logbook map changed to ';
$lang['options_radios'] = 'Radios';
$lang['options_radio_settings'] = 'Radio Settings';
$lang['options_radio_timeout_warning'] = 'Radio Timeout Warning';
$lang['options_the_radio_timeout_warning_is_used_on_the_qso_entry_panel_to_alert_you_to_radio_interface_disconnects'] = 'The Radio Timeout Warning is used on the QSO entry panel to alert you to radio interface disconnects.';
$lang['options_this_number_is_in_seconds'] = 'This number is in seconds.';
$lang['options_radio_timeout_warning_changed_to'] = 'Radio Timeout Warning changed to ';
$lang['options_email'] = 'Email';
$lang['options_outgoing_protocol'] = 'Outgoing Protocol';
$lang['options_smtp_encryption'] = 'SMTP Encryption';
$lang['options_smtp_host'] = 'SMTP Host';
$lang['options_smtp_port'] = 'SMTP Port';
$lang['options_smtp_username'] = 'SMTP Username';
$lang['options_smtp_password'] = 'SMTP Password';
$lang['options_crlf'] = 'CRLF';
$lang['options_newline'] = 'Newline';
$lang['options_outgoing_email_protocol_changed_to'] = 'Outgoing Email Protocol changed to ';
$lang['options_smtp_encryption_changed_to'] = 'SMTP Encryption changed to ';
$lang['options_smtp_host_changed_to'] = 'SMTP Host changed to ';
$lang['options_smtp_port_changed_to'] = 'SMTP Post changed to ';
$lang['options_smtp_username_changed_to'] = 'SMTP Username changed to ';
$lang['options_smtp_password_changed_to'] = 'SMTP Password changed to ';
$lang['options_email_crlf_changed_to'] = 'Email CRLF changed to ';
$lang['options_email_newline_changed_to'] = 'Email Newline changed to ';
$lang['options_oqrs'] = 'OQRS Options';
$lang['options_global_text'] = 'Global text';
$lang['options_this_text_is_an_optional_text_that_can_be_displayed_on_top_of_the_oqrs_page'] = 'This text is an optional text that can be displayed on top of the OQRS page.';
$lang['options_grouped_search'] = 'Grouped search';
$lang['options_when_this_is_on_all_station_locations_with_oqrs_active_will_be_searched_at_once'] = 'When this is on, all station locations with OQRS active, will be searched at once.';
$lang['options_oqrs_options_have_been_saved'] = 'OQRS options have been saved.';
$lang['options_save'] = 'Save';

Wyświetl plik

@ -0,0 +1,57 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['options_cloudlog_options'] = 'Настройки';
$lang['options_message1'] = 'Это глобальные настройки, используемые для всех пользователей, которые могут быть переопределены, если есть соответствующие настройки на уровне пользователя.';
$lang['options_appearance'] = 'Внешний вид';
$lang['options_theme'] = 'Тема оформления';
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Тема оформления по умолчанию, используется, когда пользователи не вошли в систему.';
$lang['options_public_search_bar'] = 'Публично доступный поиск по журналу';
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Разрешение пользователям, не вошедшим в систему, получить доступ к функциям поиска.';
$lang['options_dashboard_notification_banner'] = 'Баннер на экране сводных данных';
$lang['options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard'] = 'Включение отображения баннера на экране сводных данных';
$lang['options_dashboard_map'] = 'Карта на экране сводных данных';
$lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'Включение отображения карты на экране сводных данных во всю ширину или справа';
$lang['options_logbook_map'] = 'Карта на экране обычного вида журнала ';
$lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'Включение отображения карты на экране обычного вида журнала.';
$lang['options_theme_changed_to'] = 'Тема оформления переключена на ';
$lang['options_global_search_changed_to'] = 'Публично доступный поиск переключен в состояние ';
$lang['options_dashboard_banner_changed_to'] = 'Баннер на экране сводных данных переключен в состояние ';
$lang['options_dashboard_map_changed_to'] = 'Карта на экране сводных данных переключена в состояние ';
$lang['options_logbook_map_changed_to'] = 'Карта на экране обычного вида журнала переключена в состояние ';
$lang['options_radios'] = 'Радиоинтерфейсы';
$lang['options_radio_settings'] = 'Радиоинтерфейсы';
$lang['options_radio_timeout_warning'] = 'Предупреждение о таймауте радиоинтерфейса';
$lang['options_the_radio_timeout_warning_is_used_on_the_qso_entry_panel_to_alert_you_to_radio_interface_disconnects'] = 'Используется для отображения на панели ввода QSO предупреждения об отключении радиоинтерфейса.';
$lang['options_this_number_is_in_seconds'] = 'Значение в секундах.';
$lang['options_radio_timeout_warning_changed_to'] = 'Значение таймаута радиоинтерфейса изменено на ';
$lang['options_email'] = 'Емэйл';
$lang['options_outgoing_protocol'] = 'Протокол отправки емэйл';
$lang['options_smtp_encryption'] = 'Шифрование SMTP';
$lang['options_smtp_host'] = 'SMTP хост';
$lang['options_smtp_port'] = 'SMTP порт';
$lang['options_smtp_username'] = 'SMTP логин';
$lang['options_smtp_password'] = 'SMTP пароль';
$lang['options_crlf'] = 'CRLF';
$lang['options_newline'] = 'Newline';
$lang['options_outgoing_email_protocol_changed_to'] = 'Протокол отправки емэйл изменён на ';
$lang['options_smtp_encryption_changed_to'] = 'Шифрование SMTP изменено на ';
$lang['options_smtp_host_changed_to'] = 'SMTP хост изменён на ';
$lang['options_smtp_port_changed_to'] = 'SMTP порт изменён на ';
$lang['options_smtp_username_changed_to'] = 'SMTP логин изменён на ';
$lang['options_smtp_password_changed_to'] = 'SMTP пароль изменён на ';
$lang['options_email_crlf_changed_to'] = 'Email CRLF changed to ';
$lang['options_email_newline_changed_to'] = 'Email Newline changed to ';
$lang['options_oqrs'] = 'OQRS';
$lang['options_global_text'] = 'Сообщение на странице OQRS';
$lang['options_this_text_is_an_optional_text_that_can_be_displayed_on_top_of_the_oqrs_page'] = 'Необязательный текст, который может быть отображён в верхней части страницы OQRS.';
$lang['options_grouped_search'] = 'Объединённый поиск';
$lang['options_when_this_is_on_all_station_locations_with_oqrs_active_will_be_searched_at_once'] = 'Если включено, то поиск будет осуществляться во всех местоположениях станций, где активен OQRS.';
$lang['options_oqrs_options_have_been_saved'] = 'Настройки OQRS сохранены.';
$lang['options_save'] = 'Сохранить';

Wyświetl plik

@ -45,7 +45,7 @@
<!-- Form options for selecting global theme choice -->
<div class="form-group">
<label for="themeSelect">Theme</label>
<label for="themeSelect"><?php echo lang('options_theme'); ?></label>
<select class="custom-select" id="themeSelect" name="theme" aria-describedby="themeHelp" required>
<?php
foreach ($themes as $theme) {
@ -57,48 +57,48 @@
}
?>
</select>
<small id="themeHelp" class="form-text text-muted">Global Theme Choice, this is used when users arent logged in.</small>
<small id="themeHelp" class="form-text text-muted"><?php echo lang('options_global_theme_choice_this_is_used_when_users_arent_logged_in'); ?></small>
</div>
<div class="form-group">
<label for="globalSearch">Public Search Bar</label>
<label for="globalSearch"><?php echo lang('options_public_search_bar'); ?></label>
<select class="custom-select" id="globalSearch" name="globalSearch" aria-describedby="globalSearchHelp" required>
<option value='true' <?php if($this->optionslib->get_option('global_search') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('global_search') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
</select>
<small id="globalSearchHelp" class="form-text text-muted">This allows non logged in users to access the search functions.</small>
<small id="globalSearchHelp" class="form-text text-muted"><?php echo lang('options_this_allows_non_logged_in_users_to_access_the_search_functions'); ?></small>
</div>
<div class="form-group">
<label for="dashboardBanner">Dashboard Notification Banner</label>
<label for="dashboardBanner"><?php echo lang('options_dashboard_notification_banner'); ?></label>
<select class="custom-select" id="dashboardBanner" name="dashboardBanner" aria-describedby="dashboardBannerHelp" required>
<option value='true' <?php if($this->optionslib->get_option('dashboard_banner') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('dashboard_banner') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
</select>
<small id="dashboardBannerHelp" class="form-text text-muted">This allows to disable the global notification banner on the dashboard.</small>
<small id="dashboardBannerHelp" class="form-text text-muted"><?php echo lang('options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard'); ?></small>
</div>
<div class="form-group">
<label for="dashboardMap">Dashboard Map</label>
<label for="dashboardMap"><?php echo lang('options_dashboard_map'); ?></label>
<select class="custom-select" id="dashboardMap" name="dashboardMap" aria-describedby="dashboardMapHelp" required>
<option value='true' <?php if($this->optionslib->get_option('dashboard_map') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('dashboard_map') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='map_at_right' <?php if($this->optionslib->get_option('dashboard_map') == "map_at_right") { echo "selected=\"selected\""; } ?>>Map at right</option>
</select>
<small id="dashboardMapHelp" class="form-text text-muted">This allows the map on the dashboard to be disabled or placed on the right.</small>
<small id="dashboardMapHelp" class="form-text text-muted"><?php echo lang('options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'); ?></small>
</div>
<div class="form-group">
<label for="logbookMap">Logbook Map</label>
<label for="logbookMap"><?php echo lang('options_logbook_map'); ?></label>
<select class="custom-select" id="logbookMap" name="logbookMap" aria-describedby="logbookMapHelp" required>
<option value='true' <?php if($this->optionslib->get_option('logbook_map') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('logbook_map') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
</select>
<small id="logbookMapHelp" class="form-text text-muted">This allows to disable the map in the logbook.</small>
<small id="logbookMapHelp" class="form-text text-muted"><?php echo lang('options_this_allows_to_disable_the_map_in_the_logbook'); ?></small>
</div>
<!-- Save the Form -->
<input class="btn btn-primary" type="submit" value="Save" />
<input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" />
</form>
</div>
</div>

Wyświetl plik

@ -35,7 +35,7 @@
<?php echo form_open('options/email_save'); ?>
<div class="form-group">
<label for="emailProtocol">Outgoing Protocol</label>
<label for="emailProtocol"><?php echo lang('options_outgoing_protocol'); ?></label>
<select name="emailProtocol" class="form-control" id="emailProtocol">
<option value="sendmail" <?php if($this->optionslib->get_option('emailProtocol')== "sendmail") { echo "selected=\"selected\""; } ?>>Sendmail</option>
<option value="smtp" <?php if($this->optionslib->get_option('emailProtocol')== "smtp") { echo "selected=\"selected\""; } ?>>SMTP</option>
@ -43,7 +43,7 @@
</div>
<div class="form-group">
<label for="smtpEncryption">SMTP Encryption</label>
<label for="smtpEncryption"><?php echo lang('options_smtp_encryption'); ?></label>
<select name="smtpEncryption" class="form-control" id="smtpEncryption">
<option value="" <?php if($this->optionslib->get_option('smtpEncryption') == "") { echo "selected=\"selected\""; } ?>>None</option>
<option value="tls" <?php if($this->optionslib->get_option('smtpEncryption') == "tls") { echo "selected=\"selected\""; } ?>>TLS</option>
@ -53,49 +53,49 @@
<div class="form-group row">
<label for="smtpHost" class="col-sm-2 col-form-label">SMTP Host</label>
<label for="smtpHost" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_host'); ?></label>
<div class="col-sm-10">
<input type="text" name="smtpHost" class="form-control" id="smtpHost" value="<?php if($this->optionslib->get_option('smtpHost') != "") { echo $this->optionslib->get_option('smtpHost'); } ?>">
</div>
</div>
<div class="form-group row">
<label for="smtpPort" class="col-sm-2 col-form-label">SMTP Port</label>
<label for="smtpPort" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_port'); ?></label>
<div class="col-sm-10">
<input type="number" name="smtpPort" class="form-control" id="smtpPort" value="<?php if($this->optionslib->get_option('smtpPort') != "") { echo $this->optionslib->get_option('smtpPort'); } ?>">
</div>
</div>
<div class="form-group row">
<label for="smtpUsername" class="col-sm-2 col-form-label">SMTP Username</label>
<label for="smtpUsername" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_username'); ?></label>
<div class="col-sm-10">
<input type="text" name="smtpUsername" class="form-control" id="smtpUsername" value="<?php if($this->optionslib->get_option('smtpUsername') != "") { echo $this->optionslib->get_option('smtpUsername'); } ?>">
</div>
</div>
<div class="form-group row">
<label for="smtpPassword" class="col-sm-2 col-form-label">SMTP Password</label>
<label for="smtpPassword" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_password'); ?></label>
<div class="col-sm-10">
<input type="password" name="smtpPassword" class="form-control" id="smtpPassword" value="<?php if($this->optionslib->get_option('smtpPassword') != "") { echo $this->optionslib->get_option('smtpPassword'); } ?>">
</div>
</div>
<div class="form-group row">
<label for="emailcrlf" class="col-sm-2 col-form-label">crlf</label>
<label for="emailcrlf" class="col-sm-2 col-form-label"><?php echo lang('options_crlf'); ?></label>
<div class="col-sm-10">
<input type="text" name="emailcrlf" class="form-control" id="emailcrlf" value="<?php if($this->optionslib->get_option('emailcrlf') != "") { echo $this->optionslib->get_option('emailcrlf'); } ?>">
</div>
</div>
<div class="form-group row">
<label for="emailnewline" class="col-sm-2 col-form-label">newline</label>
<label for="emailnewline" class="col-sm-2 col-form-label"><?php echo lang('options_newline'); ?></label>
<div class="col-sm-10">
<input type="text" name="emailnewline" class="form-control" id="emailnewline" value="<?php if($this->optionslib->get_option('emailnewline') != "") { echo $this->optionslib->get_option('emailnewline'); } ?>">
</div>
</div>
<!-- Save the Form -->
<input class="btn btn-primary" type="submit" value="Save" />
<input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" />
</form>
</div>
</div>

Wyświetl plik

@ -10,7 +10,7 @@
<div class="card">
<div class="card-header"><h2 class="card-title"><?php echo $page_title; ?></h2></div>
<div class="card-body">
<p>Cloudlog Options are global settings used for all users of the installation, which are overriddden if there's a setting on a user level.</p>
<p><?php echo lang('options_message1'); ?></p>
</div>
</div>

Wyświetl plik

@ -35,22 +35,22 @@
<?php echo form_open('options/oqrs_save'); ?>
<div class="form-group">
<label for="globalSearch">Global text</label>
<label for="globalSearch"><?php echo lang('options_global_text'); ?></label>
<input type="text" name="global_oqrs_text" class="form-control" id="global_oqrs_text" aria-describedby="global_oqrs_text" value="<?php echo $this->optionslib->get_option('global_oqrs_text'); ?>">
<small id="global_oqrs_text_help" class="form-text text-muted">This text is an optional text that can be displayed on top of the OQRS page.</small>
<small id="global_oqrs_text_help" class="form-text text-muted"><?php echo lang('options_this_text_is_an_optional_text_that_can_be_displayed_on_top_of_the_oqrs_page'); ?></small>
</div>
<div class="form-group">
<label for="groupedSearch">Grouped search</label>
<label for="groupedSearch"><?php echo lang('options_grouped_search'); ?></label>
<select name="groupedSearch" class="form-control" id="groupedSearch">
<option value="off" <?php if($this->optionslib->get_option('groupedSearch') == "off") { echo "selected=\"selected\""; } ?>>Off</option>
<option value="on" <?php if($this->optionslib->get_option('groupedSearch') == "on") { echo "selected=\"selected\""; } ?>>On</option>
</select>
<small id="groupedSearchHelp" class="form-text text-muted">When this is on, all station locations with OQRS active, will be searched at once.</small>
<small id="groupedSearchHelp" class="form-text text-muted"><?php echo lang('options_when_this_is_on_all_station_locations_with_oqrs_active_will_be_searched_at_once'); ?></small>
</div>
<!-- Save the Form -->
<input class="btn btn-primary" type="submit" value="Save" />
<input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" />
</form>
</div>
</div>

Wyświetl plik

@ -35,14 +35,14 @@
<?php echo form_open('options/radio_save'); ?>
<div class="form-group">
<label for="globalSearch">Radio Timeout Warning</label>
<p>The Radio Timeout Warning is used on the QSO entry panel to alert you to radio interface disconnects.</p>
<label for="globalSearch"><?php echo lang('options_radio_timeout_warning'); ?></label>
<p><?php echo lang('options_the_radio_timeout_warning_is_used_on_the_qso_entry_panel_to_alert_you_to_radio_interface_disconnects'); ?></p>
<input type="text" name="radioTimeout" class="form-control" id="radioTimeout" aria-describedby="radioTimeoutHelp" value="<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?>">
<small id="radioTimeoutHelp" class="form-text text-muted">This number is in seconds.</small>
<small id="radioTimeoutHelp" class="form-text text-muted"><?php echo lang('options_this_number_is_in_seconds'); ?></small>
</div>
<!-- Save the Form -->
<input class="btn btn-primary" type="submit" value="Save" />
<input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" />
</form>
</div>
</div>

Wyświetl plik

@ -1,10 +1,10 @@
<div class="col-md-3">
<div class="card">
<ul class="list-group list-group-flush">
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/appearance'); ?>">Appearance</a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/radio'); ?>">Radios</a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/email'); ?>">Email</a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/oqrs'); ?>">OQRS</a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/appearance'); ?>"><?php echo lang('options_appearance'); ?></a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/radio'); ?>"><?php echo lang('options_radios'); ?></a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/email'); ?>"><?php echo lang('options_email'); ?></a></li>
<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/oqrs'); ?>"><?php echo lang('options_oqrs'); ?></a></li>
</ul>
</div>
</div>