diff --git a/application/language/bulgarian/menu_lang.php b/application/language/bulgarian/menu_lang.php index 83e76c8b..f71a72cf 100644 --- a/application/language/bulgarian/menu_lang.php +++ b/application/language/bulgarian/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/chinese_simplified/menu_lang.php b/application/language/chinese_simplified/menu_lang.php index 6a3c093f..ecc40fde 100644 --- a/application/language/chinese_simplified/menu_lang.php +++ b/application/language/chinese_simplified/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = '大陆'; $lang['menu_awards'] = '奖项'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/czech/menu_lang.php b/application/language/czech/menu_lang.php index efb0a2f2..3640e5b2 100644 --- a/application/language/czech/menu_lang.php +++ b/application/language/czech/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Kontinenty'; $lang['menu_awards'] = 'Diplomy'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/dutch/menu_lang.php b/application/language/dutch/menu_lang.php index 751f673f..d2d886f5 100644 --- a/application/language/dutch/menu_lang.php +++ b/application/language/dutch/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/english/menu_lang.php b/application/language/english/menu_lang.php index 81efd085..98563067 100644 --- a/application/language/english/menu_lang.php +++ b/application/language/english/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_ffma'] = 'Fred Fish Memorial Award'; diff --git a/application/language/finnish/menu_lang.php b/application/language/finnish/menu_lang.php index 962dd0f4..6cffea7c 100644 --- a/application/language/finnish/menu_lang.php +++ b/application/language/finnish/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Mantereet'; $lang['menu_awards'] = 'Awardit'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/french/menu_lang.php b/application/language/french/menu_lang.php index 81efd085..98563067 100644 --- a/application/language/french/menu_lang.php +++ b/application/language/french/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_ffma'] = 'Fred Fish Memorial Award'; diff --git a/application/language/german/menu_lang.php b/application/language/german/menu_lang.php index 12fb5fcc..589e5e64 100644 --- a/application/language/german/menu_lang.php +++ b/application/language/german/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Kontinente'; $lang['menu_awards'] = 'Diplome'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/greek/menu_lang.php b/application/language/greek/menu_lang.php index 0c1304a0..4eaacfdb 100644 --- a/application/language/greek/menu_lang.php +++ b/application/language/greek/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/italian/menu_lang.php b/application/language/italian/menu_lang.php index 0c1304a0..4eaacfdb 100644 --- a/application/language/italian/menu_lang.php +++ b/application/language/italian/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/polish/menu_lang.php b/application/language/polish/menu_lang.php index 0c1304a0..4eaacfdb 100644 --- a/application/language/polish/menu_lang.php +++ b/application/language/polish/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/russian/menu_lang.php b/application/language/russian/menu_lang.php index cb2be6aa..225b1379 100644 --- a/application/language/russian/menu_lang.php +++ b/application/language/russian/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Континенты'; $lang['menu_awards'] = 'Дипломы'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/spanish/menu_lang.php b/application/language/spanish/menu_lang.php index 0c1304a0..4eaacfdb 100644 --- a/application/language/spanish/menu_lang.php +++ b/application/language/spanish/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/swedish/menu_lang.php b/application/language/swedish/menu_lang.php index d351a301..46fc846c 100644 --- a/application/language/swedish/menu_lang.php +++ b/application/language/swedish/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Kontinenter'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/language/turkish/menu_lang.php b/application/language/turkish/menu_lang.php index 0c1304a0..4eaacfdb 100644 --- a/application/language/turkish/menu_lang.php +++ b/application/language/turkish/menu_lang.php @@ -36,6 +36,7 @@ $lang['menu_continents'] = 'Continents'; $lang['menu_awards'] = 'Awards'; $lang['menu_cq'] = 'CQ'; +$lang['menu_dl_gridmaster'] = 'DL Gridmaster'; $lang['menu_dok'] = 'DOK'; $lang['menu_dxcc'] = 'DXCC'; $lang['menu_iota'] = 'IOTA'; diff --git a/application/models/Gridmaster_model.php b/application/models/Gridmaster_model.php index 216fa1fa..7042ff27 100644 --- a/application/models/Gridmaster_model.php +++ b/application/models/Gridmaster_model.php @@ -49,6 +49,14 @@ class Gridmaster_model extends CI_Model { private $ja_lon = 140; private $ja_zoom = 5; + private $dl_grids = ['JO45', 'JO34', 'JO44', 'JO54', 'JO64', 'JO74', 'JO33', 'JO43', 'JO53', 'JO63', 'JO73', 'JO32', 'JO42', 'JO52', 'JO62', 'JO72', + 'JO21', 'JO31', 'JO41', 'JO51', 'JO61', 'JO71', 'JO20', 'JO30', 'JO40', 'JO50', 'JO60', 'JO70', 'JN39', 'JN49', 'JN59', 'JN69', + 'JN38', 'JN48', 'JN58', 'JN68', 'JN37', 'JN47', 'JN57', 'JN67' + ]; + private $dl_lat = 52; + private $dl_lon = 11; + private $dl_zoom = 6; + function get_lotw($dxcc) { $CI =& get_instance(); $CI->load->model('logbooks_model'); diff --git a/application/views/interface_assets/header.php b/application/views/interface_assets/header.php index df04a3c9..3d9ade55 100644 --- a/application/views/interface_assets/header.php +++ b/application/views/interface_assets/header.php @@ -149,6 +149,8 @@