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/rw.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/rw.svg')
| -rw-r--r-- | icons/flags/rw.svg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/icons/flags/rw.svg b/icons/flags/rw.svg new file mode 100644 index 0000000..00fb1fc --- /dev/null +++ b/icons/flags/rw.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg height="400" width="600" version="1.1" xmlns="http://www.w3.org/2000/svg"> + <desc>flag of Rwanda</desc> + + <rect fill="#0084c9" height="200" width="600"/> + <rect fill="#f9d616" height="100" width="600" y="200"/> + <rect fill="#007c59" height="100" width="600" y="300"/> + <path fill="#eaaf0f" d="M 559.3,145.6 L 528.3,121.8 L 543.3,157.9 L 519.4,126.9 L 524.5,165.7 L 509.6,129.6 L 504.5,168.37128 L 499.3,129.6 L 484.4,165.7 L 489.5,126.9 L 465.6,157.9 L 480.6,121.8 L 449.6,145.6 L 473.4,114.6 L 437.2,129.5 L 468.2,105.7 L 429.5,110.8 L 465.6,95.86 L 426.87872,90.75 L 465.6,85.63 L 429.5,70.66 L 468.2,75.75 L 437.2,51.93 L 473.4,66.89 L 449.6,35.86 L 480.6,59.65 L 465.6,23.52 L 489.5,54.54 L 484.4,15.77 L 499.3,51.89 L 504.5,13.128723 L 509.6,51.89 L 524.5,15.77 L 519.4,54.54 L 543.3,23.52 L 528.3,59.65 L 559.3,35.86 L 535.5,66.89 L 571.7,51.93 L 540.7,75.75 L 579.4,70.66 L 543.3,85.63 L 582.12128,90.75 L 543.3,95.86 L 579.4,110.8 L 540.7,105.7 L 571.7,129.5 L 535.5,114.6 L 559.3,145.6 z"/> + <path fill="#eaaf0f" d="M 532.75 90.75 A 28.25 28.25 0 1 1 476.25,90.75 A 28.25 28.25 0 1 1 532.75 90.75 z" stroke="#0084c9" stroke-width="2.8"/> +</svg> |
