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
Var XMLProfile = "Plus5AndInclude20Percent-taobin_notopup-taobin_nopro-taobin_notopping"
Var XMLProfile = "DiscountFromBO-MachineShedule"
Var XMLProfile = "DiscountFromBO-MachineShedule"
EndIf
DEBUGVAR XMLProfile
@ -474,6 +474,37 @@
; zone init lang
; 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 MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
@ -576,7 +607,7 @@
EndIf
STRCONTAIN "default_english" XMLProfile default_english
If default_english = "true" Then
Var show_eng = "true"
EndIf
@ -587,42 +618,6 @@
Var XButtonMember = 212
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.
; ignore collection point
@ -1252,7 +1247,7 @@
Var CatalogLayoutV3 = 1
; test payment
Var New_Payment = 1
@ -1276,7 +1271,7 @@
Var LanguageShow = "THAI"
EnableLanguage "ENG"
EnableLanguage "THAI"
Var RedirectToNormalVersion = 1
;EnableLanguage "MYANMAR"
;EnableLanguage "MSC"
@ -1591,11 +1586,11 @@
</EventOpen>
<EventActionOk>
</EventActionOk>
<EventActionError>
</EventActionError>
<EventUnitTest1>