From 83526634d3d06e34130cb49d0c617066f00f1219 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Mon, 15 Jun 2026 12:15:24 +0100 Subject: Register password-show icons in browser; document tango/tango5 copy rule Add password-show-on and password-show-off to icon_browser.php. Add note to CLAUDE.md that icons used in templates must exist in tango/ (not just tango5/) and must be registered in icon_browser.php. Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 7 +++++++ icon_browser.php | 2 ++ 2 files changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 5881ae0..760a808 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -70,6 +70,13 @@ Column visibility is controlled by feature flags in `kernel_config` checked in ` The old hardcoded `display_mode != 'edit'` guard in `html.tpl` has been removed — columns now always follow these flags. All flags off = columns show on all pages including edit pages. +## Icon sets (tango vs tango5) +`util/iconsets/tango/` is the default iconset; `tango5/` is a richer superset. The `{biticon}` +plugin searches the active style first, then falls back to `tango` — it does NOT fall back to +`tango5`. Any icon used in a template that only exists in `tango5/scalable/` must be copied to +`tango/scalable/` too, otherwise it silently goes missing on sites using the tango default. +After copying, add the icon name and purpose to `$iconUsage` in `themes/icon_browser.php`. + ## Site-specific theme overrides (/etc/webstack/domains) Each vhosted site has its theme overrides at `/etc/webstack/domains/{site}/themes/{site}/`. These are symlinked into `bitweaver5/config/themes/{site}` — e.g.: diff --git a/icon_browser.php b/icon_browser.php index 0de5f36..808145d 100755 --- a/icon_browser.php +++ b/icon_browser.php @@ -80,6 +80,8 @@ $iconUsage = [ "lock" => "Lock / key / permissions", "emblem-readonly" => "Hidden / read-only", "emblem-unreadable" => "Visible / show", + "password-show-on" => "Show password (toggle reveal)", + "password-show-off" => "Hide password (toggle conceal)", // Users and contacts "user-desktop" => "User", "user-home" => "User home", -- cgit v1.3