summaryrefslogtreecommitdiff
path: root/icons/flags/fm.svg
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-05 11:49:47 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-05 11:49:47 +0100
commitb27276bcd349afa551d0be6f3a4f87e9fcff9f3a (patch)
tree3c72b7b98ee2ce7cc8c18c44bf01447f94b6cbef /icons/flags/fm.svg
parenteb18d270a3face41198949f8f435d0be9a4c40dc (diff)
downloadusers-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/fm.svg')
-rw-r--r--icons/flags/fm.svg22
1 files changed, 22 insertions, 0 deletions
diff --git a/icons/flags/fm.svg b/icons/flags/fm.svg
new file mode 100644
index 0000000..d77431d
--- /dev/null
+++ b/icons/flags/fm.svg
@@ -0,0 +1,22 @@
+<?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="760" height="400" viewBox="0 0 38 20">
+ <rect width="38" height="20" fill="#75b2dd"/>
+<defs>
+<g id="star" fill="white" transform="scale(2)">
+ <g id="cone">
+ <polygon id="triangle" points="0,0 0,1 .5,1" transform="translate(0,-1) rotate(18)"/>
+ <use xlink:href="#triangle" transform="scale(-1,1)"/>
+ </g>
+ <use xlink:href="#cone" transform="rotate(72)"/>
+ <use xlink:href="#cone" transform="rotate(-72)"/>
+ <use xlink:href="#cone" transform="rotate(144)"/>
+ <use xlink:href="#cone" transform="rotate(-144)"/>
+</g>
+</defs>
+
+<use xlink:href="#star" transform="translate(19,4)"/>
+<use xlink:href="#star" transform="translate(13,10) rotate(-90)"/>
+<use xlink:href="#star" transform="translate(25,10) rotate(90)"/>
+<use xlink:href="#star" transform="translate(19,16) rotate(180)"/>
+
+</svg>