user_map_custom for LBA

This commit is contained in:
HB9HIL
2024-05-31 15:52:38 +02:00
parent efb4a6abe0
commit 22a730d934
2 changed files with 4 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ class Logbookadvanced extends CI_Controller {
$mapoptions['nightshadow_layer'] = $this->user_options_model->get_options('LogbookAdvancedMap',array('option_name'=>'nightshadow_layer','option_key'=>'boolean'))->row();
$data['mapoptions'] = $mapoptions;
$data['user_map_custom'] = $this->optionslib->get_map_custom();
$active_station_id = $this->stations->find_active();
$station_profile = $this->stations->profile($active_station_id);

View File

@@ -1,10 +1,10 @@
<script type="text/javascript">
/*
*
* Define custom date format
*
* Custom user settings
*/
var custom_date_format = "<?php echo $custom_date_format ?>";
let user_map_custom = JSON.parse('<?php echo $user_map_custom; ?>');
var lang_gen_hamradio_latitude = '<?php echo lang('gen_hamradio_latitude'); ?>';
var lang_gen_hamradio_longitude = '<?php echo lang('gen_hamradio_longitude'); ?>';
var lang_gen_hamradio_gridsquare = '<?php echo lang('gen_hamradio_gridsquare'); ?>';