From e0f340cfec0d0534e1518dbe3b16e2ed22c3b205 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Fri, 5 Jun 2026 12:19:27 +0100 Subject: Display flag icons at 32x24 (4:3 ratio) Co-Authored-By: Claude Sonnet 4.6 --- modules/mod_user_profile.tpl | 2 +- templates/user_information_inc.tpl | 2 +- templates/user_preferences.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mod_user_profile.tpl b/modules/mod_user_profile.tpl index 7b726d2..17b26f7 100644 --- a/modules/mod_user_profile.tpl +++ b/modules/mod_user_profile.tpl @@ -34,7 +34,7 @@
{tr}Joined{/tr}: {$userInfo.registration_date|bit_short_date}
{tr}Last visit{/tr}: {$userInfo.last_login|bit_short_date}
- {if $userPrefs.flag}{biticon iforce=icon ipackage=users ipath="flags/" iname=$userPrefs.flag iexplain=$userPrefs.users_country}{/if} {assign var=langcode value=$userPrefs.bitlanguage|default:$gBitSystem->getConfig('bitlanguage','en')}{$gBitLanguage->mLanguageList.$langcode.native_name} + {if $userPrefs.flag}{biticon iforce=icon ipackage=users ipath="flags/" iname=$userPrefs.flag iexplain=$userPrefs.users_country width=32 height=24}{/if} {assign var=langcode value=$userPrefs.bitlanguage|default:$gBitSystem->getConfig('bitlanguage','en')}{$gBitLanguage->mLanguageList.$langcode.native_name} {/bitmodule} {/strip} {/if} diff --git a/templates/user_information_inc.tpl b/templates/user_information_inc.tpl index 682ecc5..68b6f0b 100644 --- a/templates/user_information_inc.tpl +++ b/templates/user_information_inc.tpl @@ -23,7 +23,7 @@
{formlabel label="Country"} {forminput} - {biticon ipackage="users" ipath="flags/" iname=$userData->getPreference('flag') iexplain=$userData->getPreference('users_country') iforce="icon"} {$userData->getPreference('users_country')} + {biticon ipackage="users" ipath="flags/" iname=$userData->getPreference('flag') iexplain=$userData->getPreference('users_country') iforce="icon" width=32 height=24} {$userData->getPreference('users_country')} {/forminput}
diff --git a/templates/user_preferences.tpl b/templates/user_preferences.tpl index b7a4205..e0e30f7 100644 --- a/templates/user_preferences.tpl +++ b/templates/user_preferences.tpl @@ -68,7 +68,7 @@ {/foreach}   - {if $editUser->mPrefs.flag}{biticon iforce=icon ipackage=users ipath="flags/" iname=$editUser->mPrefs.flag iexplain=$editUser->mPrefs.users_country}{/if} + {if $editUser->mPrefs.flag}{biticon iforce=icon ipackage=users ipath="flags/" iname=$editUser->mPrefs.flag iexplain=$editUser->mPrefs.users_country width=32 height=24}{/if} {/forminput} -- cgit v1.3