summaryrefslogtreecommitdiff
path: root/smartyplugins/function.biticon.php
AgeCommit message (Collapse)AuthorFilesLines
2026-06-05Add istyle=flag for scalable 4:3 SVG flag sizingLester Caine1-3/+3
istyle=flag scales height via isize (small=16, medium=24, large=32) and derives width as (height/3)*4. istyle is already in the cache hash so no further cache key changes needed. Also reverts width/height from $ommit so they remain available as pass-through HTML attributes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Support explicit width/height params in biticon SVG outputLester Caine1-3/+4
Add width/height to omit list so they don't double-output; SVG size code now uses them if provided, falling back to svgSizes[isize] for square icons. Allows flag icons to be rendered at 32×24 (4:3) rather than forced square. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Add SVG to biticon_first_match default extension search orderLester Caine1-1/+1
SVG now checked before PNG/GIF/JPG for all package icon lookups, enabling SVG flag files (and future SVG package icons) to be served without an explicit extension override in every {biticon} call. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04Switch iconset to SVG-only — drop small/medium/large PNG directoriesLester Caine1-12/+3
All iconset icons (ipackage=icons) now served from scalable/ as SVGs. ipath (/small/, /medium/, /large/) is preserved only for cache key differentiation and SVG width/height calculation; no PNG directory lookups are performed. Four icons remapped to SVG equivalents that exist in tango/scalable/: dialog-cancel -> process-stop (newsletters: unsubscribed) emblem-downloads -> network-receive (fisheye: download file) emblem-shared -> emblem-symbolic-link (boards: moved topic) mail-mark-important -> emblem-important (messages: flagged) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04biticon: respect site_icon_size for menu and quicktag locationsLester Caine1-8/+4
ilocation=menu and ilocation=quicktag were hardcoded to small/, ignoring the site_icon_size config. Now all locations use the config value (or explicit isize= if provided), so changing Default Icon Size in Theme Settings affects the entire site uniformly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04Icon system: switch from silk-sprite/colourstrap to Tango3 freedesktop ↵Lester Caine1-12/+25
iconset with SVG support - function.biticon.php: look in util/iconsets/ (moved from config/); add SVG fallback via scalable/ directory; biticon_first_match accepts optional extensions param; isize (small/medium/large) mapped to 16/24/32px for SVG width+height; isize added to ommit list so it never leaks as an HTML attribute - admin_themes_inc.php: iconset path updated to UTIL_PKG_PATH; biticon_sizes expanded to small (16px) / medium (24px) / large (32px) - admin_themes_manager.php: iconset path updated to UTIL_PKG_PATH - admin_themes_manager.tpl: replace stale Gnome/KDE links with Tango3/freedesktop refs - icon_browser.php: icon_fetcher now uses scalable/ SVGs as primary name source, supplements with large/ PNGs; all iconset paths updated to UTIL_PKG_PATH - icon_browser.tpl: three clean size columns (small/medium/large) using isize= instead of sloppy iname path embedding; help text updated Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14php-cs-fixer tidies to php8.5 standardsLester Caine1-4/+4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06Tidying links to bitweaver.org to avoid redirect from httplsces1-1/+1
2025-08-27smarty plugins massaged for Smarty5lsces1-59/+51
2025-05-24is_string check in biticon; empty/is_numeric in mAppMenu_sortspiderr1-1/+1
2021-01-17PHP7 fix param order for implodespiderr1-1/+1
2020-08-15fix pSmall recursion in smarty_function_biticonspiderr1-2/+2
2020-02-22fix passing of pSmarty which is done automatically by the smarty compilerspiderr1-7/+3
2019-12-31remove passing of gBitSmarty into biticon and booticon smarty plugins; ↵spiderr1-7/+6
return text if icon file not found and !forceIcon
2016-02-07Merge github commitslsces1-1/+1
2013-06-02whitespace tweaksspiderr1-1/+1
2012-10-30Add facility to select icon size - useful to add large icons in pages wherelsces1-14/+18
the site is set to small.
2010-09-09remove ridiculous width and height parameters from img, which prevent tag ↵spiderr1-6/+0
level styling
2010-07-20clean up bugs in migrating iconsets to new config pkg locationtekimaki1-1/+1
2010-07-20fix paths to iconsets in new config location - this should be it for awhile ↵tekimaki1-4/+4
(famous last words)
2010-06-22FILE MOVE AGAIN - this is an even better idea move config_inc.php to config ↵tekimaki1-4/+4
root dir where all install specific configurations are to be housedPlease enter the commit message for your changes.
2010-06-19FILE MANAGEMENT CHANGE! move the location of styles and icon_styles to root ↵Will James1-4/+4
styles directory to be managed by git superprojects
2010-06-13move smarty to themesWill James1-0/+299