diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-05 15:34:31 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-05 15:34:31 +0100 |
| commit | cbfe62da3bb81e1a3f34bb061352579c8913370e (patch) | |
| tree | 5ea97ad34a5bbd77657eff1c466871711774aa53 /preferences.php | |
| parent | b9c0eeeccd91fd360dd26f5368199cac8ec4cdeb (diff) | |
| download | users-cbfe62da3bb81e1a3f34bb061352579c8913370e.tar.gz users-cbfe62da3bb81e1a3f34bb061352579c8913370e.tar.bz2 users-cbfe62da3bb81e1a3f34bb061352579c8913370e.zip | |
Add CSS flag dropdown select with lipis flag-icons
- css/flag-icons.css: lipis 4x3 set, 1x1 stripped, paths → ../icons/flags/
- countries_inc.php: asort, Smarty assigns, loadCss (PKG_PATH not PKG_URL);
PHP files reduce to single require()
- flag_select_inc.tpl: custom dropdown with .fi CSS flags, search filter,
jQuery open/close; fsName/fsValue/fsId/fsSize; min-width 300px;
line-height:1.5em on flag spans
- html_head_inc.tpl placeholder; display templates keep {biticon istyle=flag}
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'preferences.php')
| -rwxr-xr-x | preferences.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/preferences.php b/preferences.php index 39f3b03..728564d 100755 --- a/preferences.php +++ b/preferences.php @@ -226,8 +226,6 @@ $languages = $gBitLanguage->listLanguages(); $gBitSmarty->assign( 'languages', $languages ); require( USERS_PKG_INCLUDE_PATH.'countries_inc.php' ); -asort( $bwCountries ); -$gBitSmarty->assign( 'countries', $bwCountries ); $editUser->mInfo['users_homepage'] = $editUser->getPreference( 'users_homepage', '' ); |
