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/an.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/an.svg')
| -rw-r--r-- | icons/flags/an.svg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/icons/flags/an.svg b/icons/flags/an.svg new file mode 100644 index 0000000..9bc0cfc --- /dev/null +++ b/icons/flags/an.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="750" height="500" id="svg722"> + + <sodipodi:namedview borderopacity="1.0" bordercolor="#666666" pagecolor="#ffffff" id="base"/> + <defs id="defs724"/> + <rect y="0.00020000001" x="0" height="499.99979" width="749.99963" font-size="12px" fill="#ffffff" fill-opacity="1" fill-rule="evenodd" stroke-width="1pt"/> + <rect y="4.372199e-005" x="291.66669" height="499.99979" width="166.6666" fill="#dc171d" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-opacity="1"/> + <rect y="166.66672" x="0" height="166.66658" width="749.99963" font-size="12px" fill="#00007b" fill-opacity="1" fill-rule="evenodd" stroke-width="1pt"/> + <g transform="translate(-2.5e-5,-8.5e-5)"> + <path d="M 387.8,215.2 L 374.8,204.8 L 361.9,214.8 L 367.1,199.4 L 354.1,189.0 L 369.7,189.0 L 375.1,173.6 L 380.1,189.0 L 395.8,189.0 L 383.3,199.4 L 387.8,215.2 z " font-size="12px" fill="#ffffff" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="1pt"/> + <path d="M 346.1,326.3 L 333.2,315.9 L 320.3,325.9 L 325.4,310.5 L 312.5,300.1 L 328.0,300.1 L 333.5,284.7 L 338.4,300.1 L 354.1,300.1 L 341.7,310.5 L 346.1,326.3 z " font-size="12px" fill="#ffffff" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="1pt"/> + <path d="M 403.8,326.3 L 416.7,315.9 L 429.6,325.9 L 424.5,310.5 L 437.4,300.1 L 421.9,300.1 L 416.4,284.7 L 411.5,300.1 L 395.8,300.1 L 408.2,310.5 L 403.8,326.3 z " font-size="12px" fill="#ffffff" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="1pt"/> + <path d="M 498.9,256.9 L 485.9,246.5 L 473.1,256.5 L 478.2,241.1 L 465.2,230.6 L 480.8,230.6 L 486.2,215.2 L 491.2,230.6 L 506.9,230.6 L 494.4,241.1 L 498.9,256.9 z " font-size="12px" fill="#ffffff" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="1pt"/> + <path d="M 251.0,256.9 L 264.0,246.5 L 276.8,256.5 L 271.7,241.1 L 284.7,230.6 L 269.1,230.6 L 263.7,215.2 L 258.7,230.6 L 243.0,230.6 L 255.5,241.1 L 251.0,256.9 z " font-size="12px" fill="#ffffff" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="1pt"/> + </g> +</svg> |
