kopia lustrzana https://github.com/magicbug/Cloudlog
Added full Worked All Britain Award Support
Added full Worked All Britain Award Support using the SIG system in Cloudlog #3079pull/3085/head
rodzic
dc294ef54f
commit
2d72981787
Plik diff jest za duży
Load Diff
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - 通联全日本都道府县奖状
|
|||
$lang['awards_waja_description_ln2'] = "WAJA,通联全日本都道府县奖状,鼓励许可的业余无线电操作者与所有日本都道府县的电台通联";
|
||||
$lang['awards_waja_description_ln3'] = "也许可以通过展示出已经通联(或收听)过来自日本47个都道府县的电台发来的QSL卡片,并按照WAJA(HAJA)的顺序进行排列,都道府县的名称可以忽略";
|
||||
$lang['awards_waja_description_ln4'] = "请访问 <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a> 获得更多信息";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,12 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Diploma Worked All Japan prefectu
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures (Trabajadas todas las prefecturas de Japón) en la radioafición, fomenta que los operadores de radioafición licenciados trabajen todas las prefecturas de Japón.";
|
||||
$lang['awards_waja_description_ln3'] = "Puede ser otorgado por haber contactado (escuchado) y recibido una tarjeta QSL de una estación de radioaficionado localizada en cada una de las 47 prefecturas de Japón. La lista de tarjetas QSL debe ser ordenada por su número de referencia WAJA (HAJA), sin embargo los nombres de las prefecturas pueden ser omitidos.";
|
||||
$lang['awards_waja_description_ln4'] = "Para más información, por favor visite: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a> (en inglés).";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -193,3 +193,13 @@ $lang['awards_waja_description_ln1'] = "WAJA - Worked All Japan prefectures Awar
|
|||
$lang['awards_waja_description_ln2'] = "WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan.";
|
||||
$lang['awards_waja_description_ln3'] = "May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>.";
|
||||
|
||||
/*
|
||||
___________________________________________________________________________________________
|
||||
WAB -- Use all 3 Lines of Text
|
||||
___________________________________________________________________________________________
|
||||
*/
|
||||
$lang['awards_waja_description_ln1'] = "WAB - Worked All Britain Award";
|
||||
$lang['awards_wab_description_ln2'] = "The Amateur Radio Worked All Britain (WAB) Award is a prestigious recognition program within the amateur radio community that celebrates communication achievements across the United Kingdom. The WAB Award scheme encourages radio operators to establish contact with stations located in different regions of Britain, fostering camaraderie and promoting radio communication skills. To earn the WAB Award, participants must make successful radio contacts with stations located in specific WAB areas, which are defined by Ordnance Survey grid squares. These grid squares cover the entirety of Great Britain, including England, Scotland, Wales, and some offshore islands.";
|
||||
$lang['awards_wab_description_ln3'] = "Participants in the WAB Award program exchange information such as their location, signal strength, and WAB square reference during radio contacts. Points are awarded based on the location of the contacted station, with different point values assigned to contacts made within different WAB areas. By accumulating points from successful contacts, radio operators can progress through various award levels, each representing a significant milestone in their amateur radio journey. The WAB Award not only recognizes the dedication and skill of radio operators but also promotes geographic diversity and encourages exploration of the rich tapestry of locations across Britain through the medium of amateur radio.";
|
||||
$lang['awards_waja_description_ln4'] = "For more information, please visit: <a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>.";
|
||||
|
|
|
@ -4702,6 +4702,21 @@ class Logbook_model extends CI_Model
|
|||
return $this->db->get($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
function wab_qso_details($wab)
|
||||
{
|
||||
$CI = &get_instance();
|
||||
$CI->load->model('logbooks_model');
|
||||
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
|
||||
|
||||
$this->db->join('station_profile', 'station_profile.station_id = ' . $this->config->item('table_name') . '.station_id');
|
||||
$this->db->join('lotw_users', 'lotw_users.callsign = ' . $this->config->item('table_name') . '.col_call', 'left outer');
|
||||
$this->db->where_in($this->config->item('table_name') . '.station_id', $logbooks_locations_array);
|
||||
$this->db->where('COL_SIG', "WAB");
|
||||
$this->db->where('COL_SIG_INFO', $wab);
|
||||
|
||||
return $this->db->get($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
public function check_qso_is_accessible($id)
|
||||
{
|
||||
// check if qso belongs to user
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
|
||||
class Worked_all_britain_model extends CI_Model
|
||||
{
|
||||
function get_worked_squares () {
|
||||
$CI =& get_instance();
|
||||
$CI->load->model('logbooks_model');
|
||||
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
|
||||
|
||||
if (!$logbooks_locations_array) {
|
||||
return null;
|
||||
}
|
||||
$this->db->select("COL_SIG_INFO");
|
||||
$this->db->where_in("station_id", $logbooks_locations_array);
|
||||
$this->db->where("COL_SIG", 'WAB');
|
||||
|
||||
// return result as an array
|
||||
$query = $this->db->get($this->config->item('table_name'));
|
||||
$worked_squares[] = null;
|
||||
// run through the query results
|
||||
foreach ($query->result() as $row) {
|
||||
$worked_squares[] = "Small Square ".$row->COL_SIG_INFO." Boundry Box";
|
||||
}
|
||||
|
||||
// return the rows as an array
|
||||
return $worked_squares;
|
||||
}
|
||||
|
||||
function get_confirmed_squares () {
|
||||
$CI =& get_instance();
|
||||
$CI->load->model('logbooks_model');
|
||||
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
|
||||
|
||||
if (!$logbooks_locations_array) {
|
||||
return null;
|
||||
}
|
||||
$this->db->select("COL_SIG_INFO");
|
||||
$this->db->where_in("station_id", $logbooks_locations_array);
|
||||
$this->db->where("COL_SIG", 'WAB');
|
||||
|
||||
// check if col_qsl_rcvd or col_eqsl_qsl_rcvd or COL_LOTW_QSL_RCVD is 'Y'
|
||||
$this->db->where("(col_qsl_rcvd='Y' or col_eqsl_qsl_rcvd='Y' or COL_LOTW_QSL_RCVD='Y')");
|
||||
|
||||
// return result as an array
|
||||
$query = $this->db->get($this->config->item('table_name'));
|
||||
$worked_squares[] = null;
|
||||
// run through the query results
|
||||
foreach ($query->result() as $row) {
|
||||
$worked_squares[] = "Small Square ".$row->COL_SIG_INFO." Boundry Box";
|
||||
}
|
||||
|
||||
// return the rows as an array
|
||||
return $worked_squares;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
<h5><?php echo lang('general_word_filtering_on'); ?> <?php echo $filter; ?></h5>
|
||||
|
||||
<?php $this->load->view('view_log/partial/log_ajax'); ?>
|
|
@ -1,98 +1,19 @@
|
|||
<div class="container">
|
||||
<!-- Award Info Box -->
|
||||
<!-- Award Info Box -->
|
||||
<br>
|
||||
<div id="awardInfoButton">
|
||||
<script>
|
||||
var lang_awards_info_button = "<?php echo lang('awards_info_button'); ?>";
|
||||
var lang_award_info_ln1 = "<?php echo lang('awards_vucc_description_ln1'); ?>";
|
||||
var lang_award_info_ln2 = "<?php echo lang('awards_vucc_description_ln2'); ?>";
|
||||
var lang_award_info_ln3 = "<?php echo lang('awards_vucc_description_ln3'); ?>";
|
||||
var lang_award_info_ln4 = "<?php echo lang('awards_vucc_description_ln4'); ?>";
|
||||
var lang_award_info_ln1 = "<?php echo lang('awards_wab_description_ln1'); ?>";
|
||||
var lang_award_info_ln2 = "<?php echo lang('awards_wab_description_ln2'); ?>";
|
||||
var lang_award_info_ln3 = "<?php echo lang('awards_wab_description_ln3'); ?>";
|
||||
var lang_award_info_ln4 = "<?php echo lang('awards_wab_description_ln4'); ?>";
|
||||
</script>
|
||||
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo lang('awards_info_button'); ?></button>
|
||||
</div>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
|
||||
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
|
||||
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js'></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
<div id="map" style="width: 100%; height: 100vh;"></div>
|
||||
<script>
|
||||
var wab_squares = $.ajax({
|
||||
url: "http://cloudlog.mg/assets/json/WABSquares.geojson",
|
||||
dataType: "json",
|
||||
success: console.log("WAB data successfully loaded."),
|
||||
error: function(xhr) {
|
||||
alert(xhr.statusText)
|
||||
}
|
||||
})
|
||||
|
||||
$.when(wab_squares).done(function() {
|
||||
|
||||
var map = L.map('map').setView([51.5074, -0.1278], 7);
|
||||
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
}).addTo(map);
|
||||
|
||||
console.log(wab_squares.responseJSON);
|
||||
// Add requested external GeoJSON to map
|
||||
var kywab_squares = L.geoJSON(wab_squares.responseJSON, {
|
||||
style: function(feature) {
|
||||
if (feature.properties.name === 'Small Square SP50 Boundry Box') {
|
||||
return {
|
||||
fillColor: '#5cb85c',
|
||||
fill: true,
|
||||
fillOpacity: 1,
|
||||
};
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
pointToLayer: function(feature, latlng) {
|
||||
if (feature.properties && feature.properties.name) {
|
||||
// Create a custom icon that displays the name from the GeoJSON data
|
||||
var labelIcon = L.divIcon({
|
||||
className: 'text-labels', // Set class for CSS styling
|
||||
html: feature.properties.name
|
||||
});
|
||||
|
||||
// Create a marker at the location of the point
|
||||
return L.marker(latlng, {
|
||||
icon: labelIcon
|
||||
});
|
||||
}
|
||||
},
|
||||
onEachFeature: function(feature, layer) {
|
||||
layer.on('click', function() {
|
||||
// Code to execute when the area is clicked
|
||||
alert('Area clicked: ' + feature.properties.name);
|
||||
});
|
||||
}
|
||||
}).addTo(map);
|
||||
// Function to update labels based on zoom level
|
||||
function updateLabels() {
|
||||
var currentZoom = map.getZoom();
|
||||
kywab_squares.eachLayer(function(layer) {
|
||||
if (currentZoom >= 8) {
|
||||
// Show labels if zoom level is 10 or higher
|
||||
layer.getElement().style.display = 'block';
|
||||
} else {
|
||||
// Hide labels if zoom level is less than 10
|
||||
layer.getElement().style.display = 'none';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Update labels when the map zoom changes
|
||||
map.on('zoomend', updateLabels);
|
||||
|
||||
// Update labels immediately after adding the GeoJSON data to the map
|
||||
updateLabels();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</div>
|
|
@ -1583,6 +1583,145 @@ if ($this->session->userdata('user_id') != null) {
|
|||
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(1) == "awards" && $this->uri->segment(2) == "wab") { ?>
|
||||
<script>
|
||||
var WorkedSquaresObject = <?php echo json_encode($worked_squares); ?>;
|
||||
var WorkedSquaresArray = Object.values(WorkedSquaresObject);
|
||||
|
||||
var ConfirmedSquaresObject = <?php echo json_encode($confirmed_squares); ?>;
|
||||
var ConfirmedSquaresArray = Object.values(ConfirmedSquaresObject);
|
||||
|
||||
var wab_squares = $.ajax({
|
||||
url: "<?php echo base_url(); ?>assets/json/WABSquares.geojson",
|
||||
dataType: "json",
|
||||
success: console.log("WAB data successfully loaded."),
|
||||
error: function(xhr) {
|
||||
alert(xhr.statusText)
|
||||
}
|
||||
})
|
||||
|
||||
// Load the external GeoJSON file
|
||||
$.when(wab_squares).done(function() {
|
||||
var layer = L.tileLayer('<?php echo $this->optionslib->get_option('option_map_tile_server'); ?>', {
|
||||
maxZoom: 18,
|
||||
attribution: '<?php echo $this->optionslib->get_option('option_map_tile_server_copyright'); ?>',
|
||||
id: 'mapbox.streets'
|
||||
});
|
||||
|
||||
var map = L.map('map', {
|
||||
layers: [layer],
|
||||
center: [54.970901, -2.457140],
|
||||
zoom: 8,
|
||||
minZoom: 8,
|
||||
fullscreenControl: true,
|
||||
fullscreenControlOptions: {
|
||||
position: 'topleft'
|
||||
},
|
||||
});
|
||||
|
||||
var printer = L.easyPrint({
|
||||
tileLayer: layer,
|
||||
sizeModes: ['Current'],
|
||||
filename: 'myMap',
|
||||
exportOnly: true,
|
||||
hideControlContainer: true
|
||||
}).addTo(map);
|
||||
|
||||
//console.log(wab_squares.responseJSON);
|
||||
// Add requested external GeoJSON to map
|
||||
var kywab_squares = L.geoJSON(wab_squares.responseJSON, {
|
||||
style: function(feature) {
|
||||
if (WorkedSquaresArray.indexOf(feature.properties.name) !== -1) {
|
||||
if (ConfirmedSquaresArray.indexOf(feature.properties.name) !== -1) {
|
||||
return {
|
||||
fillColor: 'red',
|
||||
fill: true,
|
||||
fillOpacity: 1,
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
fillColor: '#5cb85c',
|
||||
fill: true,
|
||||
fillOpacity: 1,
|
||||
};
|
||||
}
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
pointToLayer: function(feature, latlng) {
|
||||
if (feature.properties && feature.properties.name) {
|
||||
// Create a custom icon that displays the name from the GeoJSON data
|
||||
var labelIcon = L.divIcon({
|
||||
className: 'text-labels', // Set class for CSS styling
|
||||
html: feature.properties.name
|
||||
});
|
||||
|
||||
// Create a marker at the location of the point
|
||||
return L.marker(latlng, {
|
||||
icon: labelIcon
|
||||
});
|
||||
}
|
||||
},
|
||||
onEachFeature: function(feature, layer) {
|
||||
layer.on('click', function() {
|
||||
// Code to execute when the area is clicked
|
||||
displaywabcontacts(feature.properties.name);
|
||||
});
|
||||
}
|
||||
}).addTo(map);
|
||||
// Function to update labels based on zoom level
|
||||
function updateLabels() {
|
||||
var currentZoom = map.getZoom();
|
||||
kywab_squares.eachLayer(function(layer) {
|
||||
if (currentZoom >= 8) {
|
||||
// Show labels if zoom level is 10 or higher
|
||||
layer.getElement().style.display = 'block';
|
||||
} else {
|
||||
// Hide labels if zoom level is less than 10
|
||||
layer.getElement().style.display = 'none';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Update labels when the map zoom changes
|
||||
map.on('zoomend', updateLabels);
|
||||
|
||||
// Update labels immediately after adding the GeoJSON data to the map
|
||||
updateLabels();
|
||||
});
|
||||
|
||||
function displaywabcontacts(wabsquare) {
|
||||
var baseURL = "<?php echo base_url(); ?>";
|
||||
$.ajax({
|
||||
url: baseURL + 'index.php/awards/wab_details_ajax',
|
||||
type: 'post',
|
||||
data: {
|
||||
'Wab': wabsquare,
|
||||
},
|
||||
success: function(html) {
|
||||
BootstrapDialog.show({
|
||||
title: lang_general_word_qso_data,
|
||||
size: BootstrapDialog.SIZE_WIDE,
|
||||
cssClass: 'qso-counties-dialog',
|
||||
nl2br: false,
|
||||
message: html,
|
||||
onshown: function(dialog) {
|
||||
$('[data-bs-toggle="tooltip"]').tooltip();
|
||||
},
|
||||
buttons: [{
|
||||
label: lang_admin_close,
|
||||
action: function(dialogItself) {
|
||||
dialogItself.close();
|
||||
}
|
||||
}]
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(1) == "gridsquares" && !empty($this->uri->segment(2))) { ?>
|
||||
<script>
|
||||
var gridsquaremap = true;
|
||||
|
@ -2573,7 +2712,7 @@ if ($this->session->userdata('user_id') != null) {
|
|||
},
|
||||
success: function(data) {
|
||||
// remove selected sstv image from table
|
||||
$("#" + id).parent("tr:first").remove();
|
||||
$("#" + id).parent("tr:first").remove();
|
||||
|
||||
// remove sstv image from carousel
|
||||
$("#sstvCarouselIndicators .carousel-indicators li:last-child").remove();
|
||||
|
@ -2748,27 +2887,27 @@ if ($this->session->userdata('user_id') != null) {
|
|||
function createTable(title, type) {
|
||||
const tableClass = type === 'sstv' ? 'sstvtable' : 'qsltable';
|
||||
return `<table style="width:100%" class="${tableClass} table table-sm table-bordered table-hover table-striped table-condensed">` +
|
||||
'<thead>' +
|
||||
'<tr>' +
|
||||
'<th style="text-align: center">' + title + '</th>' +
|
||||
'<th style="text-align: center"></th>' +
|
||||
'<th style="text-align: center"></th>' +
|
||||
'</tr>' +
|
||||
'</thead>' +
|
||||
'<tbody></tbody>' +
|
||||
'</table>'
|
||||
'<thead>' +
|
||||
'<tr>' +
|
||||
'<th style="text-align: center">' + title + '</th>' +
|
||||
'<th style="text-align: center"></th>' +
|
||||
'<th style="text-align: center"></th>' +
|
||||
'</tr>' +
|
||||
'</thead>' +
|
||||
'<tbody></tbody>' +
|
||||
'</table>'
|
||||
}
|
||||
|
||||
function createTableRow(image, type){
|
||||
function createTableRow(image, type) {
|
||||
const viewFunction = type === 'sstv' ? 'viewSstv' : 'viewQsl';
|
||||
const deleteFunction = type === 'sstv' ? 'deleteSstv' : 'deleteQsl';
|
||||
return '<tr><td style="text-align: center">' + image.filename + '</td>' +
|
||||
`<td id="${image.insertid}" style="text-align: center"><button onclick="${deleteFunction}(${image.insertid});" class="btn btn-sm btn-danger">Delete</button></td>` +
|
||||
`<td style="text-align: center"><button onclick="${viewFunction}('${image.filename}')" class="btn btn-sm btn-success">View</button></td>` +
|
||||
'</tr>'
|
||||
`<td id="${image.insertid}" style="text-align: center"><button onclick="${deleteFunction}(${image.insertid});" class="btn btn-sm btn-danger">Delete</button></td>` +
|
||||
`<td style="text-align: center"><button onclick="${viewFunction}('${image.filename}')" class="btn btn-sm btn-success">View</button></td>` +
|
||||
'</tr>'
|
||||
}
|
||||
|
||||
function handleSSTVImageUpload(sstvImage){
|
||||
function handleSSTVImageUpload(sstvImage) {
|
||||
const baseURL = "<?php echo base_url(); ?>";
|
||||
const numCarouselItems = $('#sstv-carousel-indicators li').length;
|
||||
|
||||
|
@ -2777,7 +2916,7 @@ if ($this->session->userdata('user_id') != null) {
|
|||
$('.sstvtable tbody:last').append(createTableRow(sstvImage, "sstv"));
|
||||
|
||||
// Append card to the carousel
|
||||
const newCarouselItem = '<div class="' + (numCarouselItems === 0 ? 'active ' : '') + 'carousel-item carouselimageid_' + sstvImage.insertid +'"><img class="img-fluid w-qsl" src="' + baseURL + '/assets/sstvimages/' + sstvImage.filename + '" alt="QSL picture"></div>';
|
||||
const newCarouselItem = '<div class="' + (numCarouselItems === 0 ? 'active ' : '') + 'carousel-item carouselimageid_' + sstvImage.insertid + '"><img class="img-fluid w-qsl" src="' + baseURL + '/assets/sstvimages/' + sstvImage.filename + '" alt="QSL picture"></div>';
|
||||
$("#sstv-carousel-inner").append(newCarouselItem);
|
||||
|
||||
// Append new carousel indicator
|
||||
|
@ -2791,7 +2930,7 @@ if ($this->session->userdata('user_id') != null) {
|
|||
function uploadSSTV() {
|
||||
const baseURL = "<?php echo base_url(); ?>";
|
||||
const formdata = new FormData(document.getElementById("sstvinfo"));
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: baseURL + 'index.php/sstv/uploadsstv',
|
||||
type: 'post',
|
||||
|
@ -2805,7 +2944,7 @@ if ($this->session->userdata('user_id') != null) {
|
|||
if (sstvImage.status == 'Success') {
|
||||
// Show the SSTV image tab
|
||||
$('.sstvimagetab').removeAttr('hidden');
|
||||
|
||||
|
||||
// Handle the SSTV image upload
|
||||
handleSSTVImageUpload(sstvImage);
|
||||
} else if (sstvImage.status != '') {
|
||||
|
@ -2829,7 +2968,7 @@ if ($this->session->userdata('user_id') != null) {
|
|||
$('.qsltable tbody:last').append(createTableRow(qslCard, "qsl"));
|
||||
|
||||
// Append card image to the carousel
|
||||
const newCarouselItem = '<div class="' + (numCarouselItems === 0 ? 'active ' : '') + 'carousel-item carouselimageid_' + qslCard.insertid +'"><img class="img-fluid w-qsl" src="' + baseURL + '/assets/qslcard/' + qslCard.filename + '" alt="QSL picture"></div>';
|
||||
const newCarouselItem = '<div class="' + (numCarouselItems === 0 ? 'active ' : '') + 'carousel-item carouselimageid_' + qslCard.insertid + '"><img class="img-fluid w-qsl" src="' + baseURL + '/assets/qslcard/' + qslCard.filename + '" alt="QSL picture"></div>';
|
||||
$("#qsl-carousel-inner").append(newCarouselItem);
|
||||
|
||||
// Append carousel indicator for the new card
|
||||
|
|
|
@ -171,6 +171,8 @@
|
|||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/vucc'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_vucc'); ?></a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/wab'); ?>"><i class="fas fa-trophy"></i> Worked All Britain</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/waja'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_waja'); ?></a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/was'); ?>"><i class="fas fa-trophy"></i> <?php echo lang('menu_was'); ?></a>
|
||||
|
|
Ładowanie…
Reference in New Issue