This repository was archived by the owner on Feb 28, 2024. It is now read-only.
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,18 @@ function toSteamID_NO_STEAM($id) {
67
67
68
68
function CountryFlag ($ country , $ country_flag , $ continent_flag ) {
69
69
if (!empty ($ country_flag ))
70
- return '<img class="bg-transparent border" title=" ' .$ country .'" height="16" src="./images/flags/ ' .$ country_flag .'.svg"/> ' ;
70
+ return '<img class="bg-transparent border" title=" ' .$ country .'" height="16" src="./images/flags/ ' .strtolower ( $ country_flag) .'.svg"/> ' ;
71
71
elseif (!empty ($ continent_flag ))
72
- return '<img class="bg-transparent border" title=" ' .$ country .'" height="16" src="./images/flags/continents/ ' .$ continent_flag .'.svg"/> ' ;
72
+ return '<img class="bg-transparent border" title=" ' .$ country .'" height="16" src="./images/flags/continents/ ' .strtolower ( $ continent_flag) .'.svg"/> ' ;
73
73
else
74
74
return '<img class="bg-transparent border" title=" ' .$ country .'" height="16" src="./images/flags/unknown.svg"/> ' ;
75
75
}
76
76
77
77
function CountryFlagProfile ($ countryCode , $ continentCode ) {
78
78
if (!empty ($ countryCode ))
79
- return '<img class="rounded border bg-transparent shadow-sm mb-1" height="20" src="./images/flags/ ' .$ countryCode .'.svg"/> ' ;
79
+ return '<img class="rounded border bg-transparent shadow-sm mb-1" height="20" src="./images/flags/ ' .strtolower ( $ countryCode) .'.svg"/> ' ;
80
80
elseif (!empty ($ continent_flag ))
81
- return '<img class="rounded border bg-transparent shadow-sm mb-1" height="20" src="./images/flags/continents/ ' .$ continentCode .'.svg"/> ' ;
81
+ return '<img class="rounded border bg-transparent shadow-sm mb-1" height="20" src="./images/flags/continents/ ' .strtolower ( $ continentCode) .'.svg"/> ' ;
82
82
else
83
83
return '<img class="rounded border bg-transparent shadow-sm mb-1" height="20" src="./images/flags/unknown.svg" alt="Unknown FLag"/> ' ;
84
84
}
You can’t perform that action at this time.
0 commit comments