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/cd.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/cd.svg')
| -rw-r--r-- | icons/flags/cd.svg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/icons/flags/cd.svg b/icons/flags/cd.svg new file mode 100644 index 0000000..0a59f1c --- /dev/null +++ b/icons/flags/cd.svg @@ -0,0 +1,10 @@ +<?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="svg548"> + + <sodipodi:namedview borderopacity="1.0" bordercolor="#666666" pagecolor="#ffffff" id="base" showgrid="true" gridoriginx="0px" gridoriginy="0px" gridtolerance="10px" gridspacingx="25px" gridspacingy="25px"/> + <defs id="defs550"/> + <rect width="750" height="500" x="0" y="2.4273992e-005" opacity="1" fill="#00a3dd" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="0" stroke-miterlimit="1.5" stroke-dasharray="none" stroke-opacity="1"/> + <path d="M 703.125 0 L 0 375 L 0 500 L 0.03125 500 L 46.875 500 L 750 125 L 750 0 L 703.125 0 z " font-size="12px" fill="#f7d618" fill-opacity="1" fill-rule="evenodd" stroke-width="1pt"/> + <path d="M 750,0 L 0,400 L 0,499.99951 L 0.031,499.9 L 0.062991636,500 L 750,100 L 750,0 z " font-size="12px" fill="#ce1021" fill-opacity="1" fill-rule="evenodd" stroke-width="1pt"/> + <path sodipodi:r1="75" sodipodi:r2="28.65" sodipodi:arg1="-1.5707963" sodipodi:arg2="-0.9424778" d="M 335.12064,25 L 351.9,76.82 L 406.4,76.82 L 362.3,108.8 L 379.2,160.6 L 335.1,128.6 L 291.0,160.6 L 307.8,108.8 L 263.7,76.82 L 318.2,76.82 L 335.12064,25 z " transform="matrix(1.25854,0,0,1.25854,-303.8947,-7.311083)" opacity="1" color="#000000" fill="#f7d618" fill-opacity="1" fill-rule="evenodd" stroke="none" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="miter" marker="none" marker-start="none" marker-mid="none" marker-end="none" stroke-miterlimit="4" stroke-dasharray="none" stroke-dashoffset="0" stroke-opacity="1" visibility="visible" display="inline" overflow="visible"/> +</svg> |
