diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-05 11:49:47 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-05 11:49:47 +0100 |
| commit | b27276bcd349afa551d0be6f3a4f87e9fcff9f3a (patch) | |
| tree | 3c72b7b98ee2ce7cc8c18c44bf01447f94b6cbef /icons/flags/sg.svg | |
| parent | eb18d270a3face41198949f8f435d0be9a4c40dc (diff) | |
| download | users-b27276bcd349afa551d0be6f3a4f87e9fcff9f3a.tar.gz users-b27276bcd349afa551d0be6f3a4f87e9fcff9f3a.tar.bz2 users-b27276bcd349afa551d0be6f3a4f87e9fcff9f3a.zip | |
Replace GIF flag scan with static ISO alpha-3 country list and SVG flags
- Add countries_inc.php: 252 countries as alpha-3 → name + alpha-3 → alpha-2
map for flag image lookup; derived from webtrees CountryService, no runtime
webtrees dependency
- Add 243 Marble SVG flags (xx.svg) plus eng/sct/wls/nir for constituent countries
- Remove 244 full-name GIF flags
- RoleUser: set users_country_code (alpha-3), flag (alpha-2 lowercase), and
users_country (display name) at load time
- preferences.php, register.php, hauth_register.php: replace opendir GIF scan
with require_once countries_inc.php
- Templates: replace {section loop=$flags} with {foreach $countries as $code => $name};
iexplain now uses display name instead of raw flag code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'icons/flags/sg.svg')
| -rw-r--r-- | icons/flags/sg.svg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/icons/flags/sg.svg b/icons/flags/sg.svg new file mode 100644 index 0000000..2335d17 --- /dev/null +++ b/icons/flags/sg.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="4320" height="2880" id="svg1399"> + <defs id="defs1413"/> + <rect width="4320" height="1440" x="0" y="0" id="red stripe" fill="#ce1126"/> + <rect width="4320" height="1440" x="0" y="1440" id="white stripe" fill="#ffffff"/> + <circle cx="880" cy="720" r="530" fill="#ffffff"/> + <circle cx="1210" cy="720" r="580" fill="#ce1126"/> + <use transform="translate(-294.9999,220.7)" id="use1417" x="0" y="0" width="4320" height="2880" xlink:href="#path1432"/> + <path d="M 1307.,508.9 L 1228.,447.2 L 1149.5943,509.7 L 1180.,411.3 L 1100,351.96269 L 1198.,352.8 L 1227.5658,253.7 L 1257.,352.5 L 1356.,350.7 L 1275.,410.9 L 1307.,508.9 z " fill="#ffffff"/> + <use transform="translate(295,220.7)" id="use1419" x="0" y="0" width="4320" height="2880" xlink:href="#path1432"/> + <use transform="translate(-183.7,567.7)" id="use1421" x="0" y="0" width="4320" height="2880" xlink:href="#path1432"/> + <use transform="translate(185,567.7)" id="use1423" x="0" y="0" width="4320" height="2880" xlink:href="#path1432"/> +</svg> |
