diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-04 11:46:53 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-04 11:46:53 +0100 |
| commit | ef0daf530e35ffc55a41b45fbbd7d969409c7d40 (patch) | |
| tree | 00d269d44c891baf35ea6d193405e86643a35d20 | |
| parent | 3db2788ab3457128ff3e043506cff28adc50f021 (diff) | |
| download | themes-ef0daf530e35ffc55a41b45fbbd7d969409c7d40.tar.gz themes-ef0daf530e35ffc55a41b45fbbd7d969409c7d40.tar.bz2 themes-ef0daf530e35ffc55a41b45fbbd7d969409c7d40.zip | |
Switch attachment icon from mail-attachment to stock_attach
stock_attach (paperclip) is available as PNG (16px) and SVG (scalable),
making it a cleaner fit for attach/assign/crosspost contexts than the
mail-specific mail-attachment icon.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rwxr-xr-x | icon_browser.php | 4 | ||||
| -rwxr-xr-x | templates/admin_custom_modules.tpl | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/icon_browser.php b/icon_browser.php index 8cdf596..52cbadc 100755 --- a/icon_browser.php +++ b/icon_browser.php @@ -61,7 +61,7 @@ $iconUsage = [ // Communication "internet-mail" => "Email / envelope / inbox", "internet-group-chat" => "Comment / discussion", - "mail-attachment" => "Attachment / paperclip", + "stock_attach" => "Attachment / paperclip / assign", "network-transmit" => "Upload / send / RSS feed", "network-receive" => "Download", // Auth and permissions @@ -118,6 +118,8 @@ $iconUsage = [ "pdf" => "PDF", "silhouette" => "Anonymous / silhouette user", ]; +// MAINTENANCE NOTE: when an icon iname is changed in any template or plugin, +// update $iconUsage above to match, then run ?used_only=1 to verify coverage. $gBitSmarty->assign( 'iconUsage', $iconUsage ); $iconList = []; diff --git a/templates/admin_custom_modules.tpl b/templates/admin_custom_modules.tpl index 676ab5a..e43a850 100755 --- a/templates/admin_custom_modules.tpl +++ b/templates/admin_custom_modules.tpl @@ -56,7 +56,7 @@ <td>{$customModules[user].name|escape}</td> <td>{$customModules[user].title|escape}</td> <td class="alignright"> - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=layout&module_name=_custom%3Acustom%2F{$customModules[user].name}">{biticon ipackage="icons" iname="mail-attachment" iexplain=assign}</a> + <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=layout&module_name=_custom%3Acustom%2F{$customModules[user].name}">{biticon ipackage="icons" iname="stock_attach" iexplain=assign}</a> <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=custom_modules&name={$customModules[user].name}&action=edit">{biticon ipackage="icons" iname="document-properties" iexplain=edit}</a> <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=custom_modules&name={$customModules[user].name}&action=remove">{biticon ipackage="icons" iname="edit-delete" iexplain=delete}</a> </td> |
