diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-04 11:31:57 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-04 11:31:57 +0100 |
| commit | 36577d9f599a3dd8e2c7f44aa27daf49280ee435 (patch) | |
| tree | 24d6676fa8d5b0d0eb3acb33dabd9f7a0adcda8f /templates | |
| parent | de955c85fc44c2f437af523b4a19c2bf4a8e3cb7 (diff) | |
| download | themes-36577d9f599a3dd8e2c7f44aa27daf49280ee435.tar.gz themes-36577d9f599a3dd8e2c7f44aa27daf49280ee435.tar.bz2 themes-36577d9f599a3dd8e2c7f44aa27daf49280ee435.zip | |
Convert {booticon} to {biticon} — freedesktop/tango icon names throughout
Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with
{biticon ipackage="icons" iname="<freedesktop-name>"} using the tango iconset.
Mapping covers ~70 distinct old names to tango equivalents (edit-delete,
document-properties, go-next, lock, internet-mail, etc.).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/admin_custom_modules.tpl | 6 | ||||
| -rwxr-xr-x | templates/admin_layout_inc.tpl | 6 | ||||
| -rwxr-xr-x | templates/admin_layout_overview.tpl | 4 | ||||
| -rwxr-xr-x | templates/admin_themes_manager.tpl | 10 | ||||
| -rwxr-xr-x | templates/module_config_inc.tpl | 10 | ||||
| -rwxr-xr-x | templates/module_config_role_inc.tpl | 10 |
6 files changed, 23 insertions, 23 deletions
diff --git a/templates/admin_custom_modules.tpl b/templates/admin_custom_modules.tpl index 634560a..676ab5a 100755 --- a/templates/admin_custom_modules.tpl +++ b/templates/admin_custom_modules.tpl @@ -56,9 +56,9 @@ <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}">{booticon iname="fa-paperclip" iexplain=assign}</a> - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=custom_modules&name={$customModules[user].name}&action=edit">{booticon iname="fa-pen-to-square" iexplain=edit}</a> - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=custom_modules&name={$customModules[user].name}&action=remove">{booticon iname="fa-trash" iexplain=delete}</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="mail-attachment" 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> </tr> {sectionelse} diff --git a/templates/admin_layout_inc.tpl b/templates/admin_layout_inc.tpl index de2a41b..5b592e4 100755 --- a/templates/admin_layout_inc.tpl +++ b/templates/admin_layout_inc.tpl @@ -5,9 +5,9 @@ {formlabel label="Adjust display" for=""} {forminput} {if !$smarty.request.nocollapse|default:false} - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page={$page}&nocollapse=1">{booticon iname="fa-circle-plus" iexplain="Expand all modules"}</a> + <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page={$page}&nocollapse=1">{biticon ipackage="icons" iname="list-add" iexplain="Expand all modules"}</a> {else} - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page={$page}">{booticon iname="fa-circle-minus" iexplain="Collapse all modules"}</a> + <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page={$page}">{biticon ipackage="icons" iname="list-remove" iexplain="Collapse all modules"}</a> {/if} {formhelp note="Toggle the state of <em>all modules</em> (expanded/collapsed). This reloads the page without saving changes made prior."} {/forminput} @@ -15,7 +15,7 @@ <div class="form-group"> {formlabel label="Adjust modules" for=""} {forminput} - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page={$page}&fixpos=1">{booticon iname="fa-circle-arrow-right" iexplain="Adjust module postitions"}</a> + <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page={$page}&fixpos=1">{biticon ipackage="icons" iname="go-next" iexplain="Adjust module postitions"}</a> {formhelp note="Reset the position numbers of <em>all modules</em> using increments of 5."} {/forminput} </div> diff --git a/templates/admin_layout_overview.tpl b/templates/admin_layout_overview.tpl index 1b9998a..2790c75 100755 --- a/templates/admin_layout_overview.tpl +++ b/templates/admin_layout_overview.tpl @@ -20,8 +20,8 @@ {jstab title=$tabTitle} <div class="floaticon"> - {smartlink ititle="Edit this Layout" booticon="fa-edit" page=layout module_package=$module_package} - {smartlink ititle="Remove this Layout" booticon="fa-trash" page=$page remove_layout=$module_package onclick="return confirm('{tr}Are you sure you want to remove this layout? This can not be undone.{/tr}')"} + {smartlink ititle="Edit this Layout" biticon="document-properties" page=layout module_package=$module_package} + {smartlink ititle="Remove this Layout" biticon="edit-delete" page=$page remove_layout=$module_package onclick="return confirm('{tr}Are you sure you want to remove this layout? This can not be undone.{/tr}')"} </div> <h1 id="{$module_package}"> diff --git a/templates/admin_themes_manager.tpl b/templates/admin_themes_manager.tpl index bde786e..45229a5 100755 --- a/templates/admin_themes_manager.tpl +++ b/templates/admin_themes_manager.tpl @@ -10,8 +10,8 @@ <div id="themeapprove"> <h1>{tr}Confirm Selection{/tr}</h1> <p>{tr}The settings you have chosen has not been applied to the site yet. This allows you to test the styles before applying them to your site. To accept the change, please click on the accept button below{/tr}<p> - <a class="btn btn-primary" href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$smarty.request.site_style}&style_variation={$smarty.request.style_variation}&site_style_layout={$smarty.request.site_style_layout}&approved=1">{booticon iname="fa-circle-check"}{tr}Accept{/tr}</a> - <a class="btn pull-right" href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php">{booticon iname="fa-circle-xmark" }{tr}Cancel{/tr}</a> + <a class="btn btn-primary" href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$smarty.request.site_style}&style_variation={$smarty.request.style_variation}&site_style_layout={$smarty.request.site_style_layout}&approved=1">{biticon ipackage="icons" iname="dialog-ok"}{tr}Accept{/tr}</a> + <a class="btn pull-right" href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php">{biticon ipackage="icons" iname="process-stop" }{tr}Cancel{/tr}</a> </div> {/if} @@ -21,7 +21,7 @@ {foreach from=$stylesList item=s} <legend {if $style eq $s.style}class="highlight"{/if}> {if $style eq $s.style} - {booticon iname="fa-check" iexplain="Current Theme"} + {biticon ipackage="icons" iname="dialog-ok" iexplain="Current Theme"} {/if} <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">{$s.style|replace:"_":" "}</a> </legend> @@ -60,7 +60,7 @@ <li class="item"> <legend {if $style eq $s.style}class="highlight"{/if}> {if $gBitSystem->getConfig(site_icon_style) eq $s.style} - {booticon iname="fa-check" iexplain="Current Theme"} + {biticon ipackage="icons" iname="dialog-ok" iexplain="Current Theme"} {/if} <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_icon_style={$s.style}">{$s.style|replace:"_":" "}</a> </legend> @@ -75,7 +75,7 @@ <h3>{tr}Sample icons{/tr}</h3> {foreach from=$sampleIcons item=icon} - {biticon ipackage=icons istyle=$s.style iname="fa-large/$icon" iexplain=$icon} + {biticon ipackage=icons istyle=$s.style iname=$icon isize="large" iexplain=$icon} {/foreach} {if $smarty.const.DEFAULT_ICON_STYLE eq $s.style} diff --git a/templates/module_config_inc.tpl b/templates/module_config_inc.tpl index 3e9197e..37b3352 100755 --- a/templates/module_config_inc.tpl +++ b/templates/module_config_inc.tpl @@ -1,18 +1,18 @@ {capture name=shared} - {smartlink ititle="Up" booticon="fa-arrow-up" page=$page move_module=up module_package=$module_package module_id=$modInfo.module_id} - {smartlink ititle="Down" booticon="fa-arrow-down" page=$page move_module=down module_package=$module_package module_id=$modInfo.module_id} + {smartlink ititle="Up" biticon="go-up" page=$page move_module=up module_package=$module_package module_id=$modInfo.module_id} + {smartlink ititle="Down" biticon="go-down" page=$page move_module=down module_package=$module_package module_id=$modInfo.module_id} {if $colkey eq 'left' || $colkey eq 'right'} {if $colkey == 'left'} {assign var=move value=right} {elseif $colkey == 'right'} {assign var=move value=left} {/if} - {smartlink ititle="Move module" booticon="fa-arrow-$move" iexplain="`$move`" page=$page move_module=$move module_package=$module_package module_id=$modInfo.module_id} + {smartlink ititle="Move module" biticon="go-$move" iexplain="`$move`" page=$page move_module=$move module_package=$module_package module_id=$modInfo.module_id} {/if} {if $gBitThemes->isCustomModule( $modInfo.module_rsrc )} - {smartlink ititle="Edit" booticon="fa-edit" iexplain="Edit" page=custom_modules name=$modInfo.module_rsrc|regex_replace:"!.*\/!":"" action=edit} + {smartlink ititle="Edit" biticon="document-properties" iexplain="Edit" page=custom_modules name=$modInfo.module_rsrc|regex_replace:"!.*\/!":"" action=edit} {/if} - {smartlink ititle="Unassign" booticon="fa-trash" iexplain="Delete" ionclick="return confirm('Are you sure you want to remove `$modInfo.name`?');" page=$page move_module=unassign module_package=$module_package module_id=$modInfo.module_id } + {smartlink ititle="Unassign" biticon="edit-delete" iexplain="Delete" ionclick="return confirm('Are you sure you want to remove `$modInfo.name`?');" page=$page move_module=unassign module_package=$module_package module_id=$modInfo.module_id } {/capture} {strip} diff --git a/templates/module_config_role_inc.tpl b/templates/module_config_role_inc.tpl index 454995e..0640b86 100755 --- a/templates/module_config_role_inc.tpl +++ b/templates/module_config_role_inc.tpl @@ -1,6 +1,6 @@ {capture name=shared} - {smartlink ititle="Up" booticon="fa-arrow-up" page=$page move_module=up module_package=$module_package module_id=$modInfo.module_id} - {smartlink ititle="Down" booticon="fa-arrow-down" page=$page move_module=down module_package=$module_package module_id=$modInfo.module_id} + {smartlink ititle="Up" biticon="go-up" page=$page move_module=up module_package=$module_package module_id=$modInfo.module_id} + {smartlink ititle="Down" biticon="go-down" page=$page move_module=down module_package=$module_package module_id=$modInfo.module_id} {if $colkey eq 'left' || $colkey eq 'right'} {if $colkey == 'left'} {assign var=icon value=next} @@ -9,12 +9,12 @@ {assign var=icon value=previous} {assign var=move value=left} {/if} - {smartlink ititle="Move module" booticon="fa-arrow-$icon" iexplain="`$move`" page=$page move_module=$move module_package=$module_package module_id=$modInfo.module_id} + {smartlink ititle="Move module" biticon="go-$icon" iexplain="`$move`" page=$page move_module=$move module_package=$module_package module_id=$modInfo.module_id} {/if} {if $gBitThemes->isCustomModule( $modInfo.module_rsrc )} - {smartlink ititle="Edit" booticon="fa-edit" iexplain="Edit" page=custom_modules name=$modInfo.module_rsrc|regex_replace:"!.*\/!":"" action=edit} + {smartlink ititle="Edit" biticon="document-properties" iexplain="Edit" page=custom_modules name=$modInfo.module_rsrc|regex_replace:"!.*\/!":"" action=edit} {/if} - {smartlink ititle="Unassign" booticon="fa-trash" iexplain="Delete" ionclick="return confirm('Are you sure you want to remove `$modInfo.name`?');" page=$page move_module=unassign module_package=$module_package module_id=$modInfo.module_id } + {smartlink ititle="Unassign" biticon="edit-delete" iexplain="Delete" ionclick="return confirm('Are you sure you want to remove `$modInfo.name`?');" page=$page move_module=unassign module_package=$module_package module_id=$modInfo.module_id } {/capture} {strip} |
