THAI: update page_board

This commit is contained in:
Kenta420 2025-04-10 17:55:05 +07:00
parent ee3e46318b
commit 4fc4158dfe

View file

@ -180,7 +180,7 @@
If BoxID = 105005 Then If BoxID = 105005 Then
Var XMLProfile = "Plus5AndInclude20Percent-taobin_notopup-taobin_nopro-taobin_notopping" Var XMLProfile = "Plus5AndInclude20Percent-taobin_notopup-taobin_nopro-taobin_notopping"
Var XMLProfile = "DiscountFromBO-MachineShedule" Var XMLProfile = "DiscountFromBO-MachineShedule"
EndIf EndIf
DEBUGVAR XMLProfile DEBUGVAR XMLProfile
@ -474,6 +474,37 @@
; zone init lang ; zone init lang
; CountryName ; CountryName
If CountryName = "" Then
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
DEBUGVAR StrCountryShort
If StrCountryShort = "MYS" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "MYR" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "AUS" Then
Var CountryName = "Australia"
EndIf
If StrCountryShort = "SGP" Then
Var CountryName = "Singapore"
EndIf
If StrCountryShort = "HKG" Then
Var CountryName = "HongKong"
EndIf
If StrCountryShort = "UAE_DUBAI" Then
Var CountryName = "UnitedArabEmirates Dubai"
EndIf
If StrCountryShort = "" Then
Var CountryName = "Thailand"
EndIf
EndIf
Var show_eng_button_stage = "Enable" Var show_eng_button_stage = "Enable"
Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png" Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
@ -576,7 +607,7 @@
EndIf EndIf
STRCONTAIN "default_english" XMLProfile default_english STRCONTAIN "default_english" XMLProfile default_english
If default_english = "true" Then If default_english = "true" Then
Var show_eng = "true" Var show_eng = "true"
EndIf EndIf
@ -587,42 +618,6 @@
Var XButtonMember = 212 Var XButtonMember = 212
Var YButtonMember = 1695 Var YButtonMember = 1695
; CountryName
If CountryName = "" Then
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
DEBUGVAR StrCountryShort
If StrCountryShort = "MYS" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "MYR" Then
Var CountryName = "Malaysia"
EndIf
If StrCountryShort = "AUS" Then
Var CountryName = "Australia"
EndIf
If StrCountryShort = "SGP" Then
Var CountryName = "Singapore"
EndIf
If StrCountryShort = "HKG" Then
Var CountryName = "HongKong"
EndIf
If StrCountryShort = "UAE_DUBAI" Then
Var CountryName = "UnitedArabEmirates Dubai"
EndIf
If StrCountryShort = "" Then
Var CountryName = "Thailand"
EndIf
;
EndIf
; Zone set video main page. ; Zone set video main page.
; ignore collection point ; ignore collection point
@ -1252,7 +1247,7 @@
Var CatalogLayoutV3 = 1 Var CatalogLayoutV3 = 1
; test payment ; test payment
Var New_Payment = 1 Var New_Payment = 1
@ -1276,7 +1271,7 @@
Var LanguageShow = "THAI" Var LanguageShow = "THAI"
EnableLanguage "ENG" EnableLanguage "ENG"
EnableLanguage "THAI" EnableLanguage "THAI"
Var RedirectToNormalVersion = 1 Var RedirectToNormalVersion = 1
;EnableLanguage "MYANMAR" ;EnableLanguage "MYANMAR"
;EnableLanguage "MSC" ;EnableLanguage "MSC"
@ -1591,11 +1586,11 @@
</EventOpen> </EventOpen>
<EventActionOk> <EventActionOk>
</EventActionOk> </EventActionOk>
<EventActionError> <EventActionError>
</EventActionError> </EventActionError>
<EventUnitTest1> <EventUnitTest1>