mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #409 from HB9HIL/map_options
[PUBLIC VIEW] Global option to disable public maps
This commit is contained in:
@@ -88,7 +88,7 @@ class Options extends CI_Controller {
|
||||
|
||||
// If theme update is complete set a flashsession with a success note
|
||||
if($theme_update_status == TRUE) {
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_theme_changed_to').$this->input->post('theme'));
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// Update theme choice within the options system
|
||||
@@ -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', $this->lang->line('options_global_search_changed_to').$this->input->post('globalSearch'));
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// 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', $this->lang->line('options_dashboard_banner_changed_to').$this->input->post('dashboardBanner'));
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// 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($dashboard_map_update_status == TRUE) {
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_dashboard_map_changed_to').$this->input->post('dashboardMap'));
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// Update logbook map within the options system
|
||||
@@ -120,13 +120,23 @@ 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', $this->lang->line('options_logbook_map_changed_to').$this->input->post('logbookMap'));
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// Update public maps within the options system
|
||||
$public_maps_update_status = $this->optionslib->update('public_maps', $this->input->post('publicMaps'), 'yes');
|
||||
|
||||
// If the option was saved successfully set a flashsession with success note
|
||||
if($public_maps_update_status == TRUE) {
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// Update public github button within the options system
|
||||
$public_github_button_update_status = $this->optionslib->update('public_github_button', $this->input->post('publicGithubButton'), 'yes');
|
||||
|
||||
// If the option was saved successfully set a flashsession with success note
|
||||
if($public_github_button_update_status == TRUE) {
|
||||
$this->session->set_flashdata('success', 'Public Github Button is now ' . $this->input->post('publicGithubButton'));
|
||||
$this->session->set_flashdata('success', $this->lang->line('options_saved'));
|
||||
}
|
||||
|
||||
// Redirect back to /appearance
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = '本设置是针对所有用户的全局设置,会
|
||||
|
||||
$lang['options_appearance'] = '外观';
|
||||
$lang['options_theme'] = '主题';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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'] = '允许未登录的用户访问搜索功能。';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = '电台';
|
||||
$lang['options_radio_settings'] = '电台设置';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Možnosti Wavelogu jsou globální nastavení použ
|
||||
|
||||
$lang['options_appearance'] = 'Vzhled';
|
||||
$lang['options_theme'] = 'Téma';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Globální volba motivu, která se používá, když uživatelé nejsou přihlášeni.';
|
||||
$lang['options_public_search_bar'] = 'Veřejná vyhledávací lišta';
|
||||
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Tímto se umožní ne přihlášeným uživatelům přístup ke vyhledávacím funkcím.';
|
||||
@@ -16,11 +17,8 @@ $lang['options_dashboard_map'] = 'Mapa na palubní desce';
|
||||
$lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'Toto umožňuje zakázat mapu na palubní desce nebo ji umístit na pravou stranu.';
|
||||
$lang['options_logbook_map'] = 'Mapa v logbooku';
|
||||
$lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'Toto umožňuje zakázat mapu v logbooku.';
|
||||
$lang['options_theme_changed_to'] = 'Téma změněno na ';
|
||||
$lang['options_global_search_changed_to'] = 'Globální vyhledávání změněno na ';
|
||||
$lang['options_dashboard_banner_changed_to'] = 'Banner na palubní desce změněn na ';
|
||||
$lang['options_dashboard_map_changed_to'] = 'Mapa na palubní desce změněna na ';
|
||||
$lang['options_logbook_map_changed_to'] = 'Mapa v logbooku změněna na ';
|
||||
$lang['options_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Rádia';
|
||||
$lang['options_radio_settings'] = 'Nastavení rádia';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Ulkoasu';
|
||||
$lang['options_theme'] = 'Teema';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Yleisen teeman valinta, joka vaikuttaa sivuston vierailijoihin. ';
|
||||
$lang['options_public_search_bar'] = 'Julkinen hakukenttä';
|
||||
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Tämä mahdollistaa vieraiden suorittaa hakuja kirjautumatta.';
|
||||
@@ -16,11 +17,8 @@ $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'] = 'Vaihdettu teema on ';
|
||||
$lang['options_global_search_changed_to'] = 'Julkinen haku on vaihdettu: ';
|
||||
$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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radiot';
|
||||
$lang['options_radio_settings'] = 'Radion asetukset';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Optionen sind globe Einstellungen, die für
|
||||
|
||||
$lang['options_appearance'] = 'Erscheinungsbild';
|
||||
$lang['options_theme'] = 'Thema';
|
||||
$lang['options_saved'] = "Optionen gespeichert";
|
||||
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Globales Thema. Dies wird verwendet, wenn keine Benutzer angemeldet sind.';
|
||||
$lang['options_public_search_bar'] = 'Öffentliches Suchfeld';
|
||||
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Dies erlaubt nicht angemeldeten Benutzern, die Suchfunktion zu nutzen.';
|
||||
@@ -16,11 +17,8 @@ $lang['options_dashboard_map'] = 'Dashboard Karte';
|
||||
$lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'Dies erlaubt es, die Karte auf dem Dashboard rechts anzuzeigen oder zu deaktivieren.';
|
||||
$lang['options_logbook_map'] = 'Logbook Karte';
|
||||
$lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'Dies erlaubt, die Karte im Logbuch zu deaktivieren.';
|
||||
$lang['options_theme_changed_to'] = 'Thema geändert zu ';
|
||||
$lang['options_global_search_changed_to'] = 'Globale Suche geändert zu ';
|
||||
$lang['options_dashboard_banner_changed_to'] = 'Dashboard Benachrichtigungsbanner geändert zu ';
|
||||
$lang['options_dashboard_map_changed_to'] = 'Dashboard Karte geändert zu ';
|
||||
$lang['options_logbook_map_changed_to'] = 'Logbook Karte geändert zu ';
|
||||
$lang['options_public_maps'] = "Öffentliche Karten";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "Dies erlaubt die Karten auf der öffentlichen Seite zu deaktivieren. Dies betrifft die Haupt-Karte, als auch die Planquadrat-Karte.";
|
||||
|
||||
$lang['options_radios'] = 'Funkgeräte';
|
||||
$lang['options_radio_settings'] = 'Funkgeräteeinstellungen';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Это глобальные настройки, и
|
||||
|
||||
$lang['options_appearance'] = 'Внешний вид';
|
||||
$lang['options_theme'] = 'Тема оформления';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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'] = 'Разрешение пользователям, не вошедшим в систему, получить доступ к функциям поиска.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Радиоинтерфейсы';
|
||||
$lang['options_radio_settings'] = 'Радиоинтерфейсы';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Las Opciones de Wavelog son configuraciones globale
|
||||
|
||||
$lang['options_appearance'] = 'Apariencia';
|
||||
$lang['options_theme'] = 'Tema';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Elección global de Tema, se utiliza cuando ningún usuario ha iniciado sesión.';
|
||||
$lang['options_public_search_bar'] = 'Barra de Búsqueda Pública';
|
||||
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Esto le permite acceder a las funciones de búsqueda a usuarios que no han iniciado sesión.';
|
||||
@@ -16,11 +17,8 @@ $lang['options_dashboard_map'] = 'Mapa en la Vista General';
|
||||
$lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'Esto permite que el mapa de la vsita general no aparezca o se muestre a la derecha.';
|
||||
$lang['options_logbook_map'] = 'Mapa en Libro de Guardia';
|
||||
$lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'Esto pemrite deshabilitar el mapa en el libro de guardia.';
|
||||
$lang['options_theme_changed_to'] = 'Tema cambiado a ';
|
||||
$lang['options_global_search_changed_to'] = 'Búsqueda Global cambiado a ';
|
||||
$lang['options_dashboard_banner_changed_to'] = 'Marquesina en la Vista General cambiada a ';
|
||||
$lang['options_dashboard_map_changed_to'] = 'Mapa en la Vista General cambiado a ';
|
||||
$lang['options_logbook_map_changed_to'] = 'Mapa en Libro de Guardia cambiado a ';
|
||||
$lang['options_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Configuración de Radio';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog-alternativ är globala inställningar som a
|
||||
|
||||
$lang['options_appearance'] = 'Utseende';
|
||||
$lang['options_theme'] = 'Tema';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Globalt temaval, detta används när användare inte är inloggade.';
|
||||
$lang['options_public_search_bar'] = 'Offentlig sökfält';
|
||||
$lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Detta tillåter icke-inloggade användare att komma åt sökfunktionerna.';
|
||||
@@ -16,11 +17,8 @@ $lang['options_dashboard_map'] = 'Dashboard karta';
|
||||
$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'] = 'Loggbok Karta';
|
||||
$lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'Detta gör det möjligt att inaktivera kartan i loggboken.';
|
||||
$lang['options_theme_changed_to'] = 'Temat ändrades till ';
|
||||
$lang['options_global_search_changed_to'] = 'Global sökning ändrad till ';
|
||||
$lang['options_dashboard_banner_changed_to'] = 'Dashboard banner ändrad till ';
|
||||
$lang['options_dashboard_map_changed_to'] = 'Dashboard karta ändrad till ';
|
||||
$lang['options_logbook_map_changed_to'] = 'Loggbokskarta ändrad till ';
|
||||
$lang['options_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radioinställningar';
|
||||
|
||||
@@ -7,6 +7,7 @@ $lang['options_message1'] = 'Wavelog Options are global settings used for all us
|
||||
|
||||
$lang['options_appearance'] = 'Appearance';
|
||||
$lang['options_theme'] = 'Theme';
|
||||
$lang['options_saved'] = "Options saved";
|
||||
$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.';
|
||||
@@ -16,11 +17,8 @@ $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_public_maps'] = "Public Maps";
|
||||
$lang['options_this_allows_to_disable_all_maps_in_the_public_view'] = "This allows to disable all maps in the public view. This affects the main map and the gridsquares map.";
|
||||
|
||||
$lang['options_radios'] = 'Radios';
|
||||
$lang['options_radio_settings'] = 'Radio Settings';
|
||||
|
||||
@@ -94,6 +94,15 @@
|
||||
<small id="logbookMapHelp" class="form-text text-muted"><?php echo lang('options_this_allows_to_disable_the_map_in_the_logbook'); ?></small>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="publicMaps"><?php echo lang('options_public_maps'); ?></label>
|
||||
<select class="form-select" id="publicMaps" name="publicMaps" aria-describedby="publicMapsHelp" required>
|
||||
<option value='true' <?php if($this->optionslib->get_option('public_maps') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
|
||||
<option value='false' <?php if($this->optionslib->get_option('public_maps') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
|
||||
</select>
|
||||
<small id="publicMapsHelp" class="form-text text-muted"><?php echo lang('options_this_allows_to_disable_all_maps_in_the_public_view'); ?></small>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="publicGithubButton">Public Github Button</label>
|
||||
<select class="form-select" id="publicGithubButton" name="publicGithubButton" aria-describedby="publicGithubButtonHelp" required>
|
||||
|
||||
@@ -45,7 +45,9 @@ function echo_table_col($row, $name) {
|
||||
</div>
|
||||
|
||||
<!-- Map -->
|
||||
<div id="map" class="map-leaflet" style="width: 100%; height: 365px"></div>
|
||||
<?php if ($this->optionslib->get_option('public_maps') == 'true') { ?>
|
||||
<div id="map" class="map-leaflet" style="width: 100%; height: 365px"></div>
|
||||
<?php } ?>
|
||||
|
||||
<div id="container" style="padding-top: 0px; margin-top: 5px;" class="container dashboard">
|
||||
|
||||
|
||||
@@ -61,11 +61,12 @@
|
||||
|
||||
<ul class="navbar-nav">
|
||||
<?php
|
||||
if (!empty($slug)) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('visitor/satellites/'.$slug);?>">Gridsquares</a>
|
||||
</li>
|
||||
<?php
|
||||
if (!empty($slug)) {
|
||||
if ($this->optionslib->get_option('public_maps') == 'true') { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('visitor/satellites/'.$slug);?>">Gridsquares</a>
|
||||
</li>
|
||||
<?php }
|
||||
$this->CI =& get_instance();
|
||||
if ($this->CI->oqrs_enabled($slug)) {
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user