summaryrefslogtreecommitdiff
path: root/icons/flags/ma.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/ma.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/ma.svg')
-rw-r--r--icons/flags/ma.svg11
1 files changed, 11 insertions, 0 deletions
diff --git a/icons/flags/ma.svg b/icons/flags/ma.svg
new file mode 100644
index 0000000..e5598b5
--- /dev/null
+++ b/icons/flags/ma.svg
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" version="1.1">
+ <rect height="400" width="600" fill="#de3131"/>
+ <g transform="scale(1.5625)" fill="#008400" stroke="black" stroke-width="0.64" stroke-linecap="square">
+ <path d="M 181.2,113.1 L 146.4,113.2 L 186.0,141.9 L 192,137.65625 L 168,120.21875 L 178.9,120.1 L 181.2,113.1 z "/>
+ <path d="M 202.7,113.1 L 191.9,80.12 L 176.8,126.6 L 182.8,130.9 L 191.9,102.7 L 195.4,113.1 L 202.7,113.1 z "/>
+ <path d="M 209.4,133.6 L 237.5,113.1 L 188.5,113.2 L 186.3,120.1 L 215.9,120.1 L 207.1,126.6 L 209.4,133.6 z "/>
+ <path d="M 191.9,146.3 L 220.1,166.7 L 205.0,120.1 L 197.6,120.1 L 206.8,148.4 L 197.9,141.9 L 191.9,146.3 z "/>
+ <path d="M 174.5,133.6 L 163.8,166.7 L 203.4,137.9 L 201.1,130.9 L 177.1,148.4 L 180.5,137.9 L 174.5,133.6 z "/>
+ </g>
+</svg>