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 | 7c12a94ffb053b0086739b89f449e33e6ab8dddf (patch) | |
| tree | e8f6238b8cbe8f6a10fa1d28024ea266235604f2 | |
| parent | 86e77048f769d3cb05f0d616bd518744e72e50c5 (diff) | |
| download | pigeonholes-7c12a94ffb053b0086739b89f449e33e6ab8dddf.tar.gz pigeonholes-7c12a94ffb053b0086739b89f449e33e6ab8dddf.tar.bz2 pigeonholes-7c12a94ffb053b0086739b89f449e33e6ab8dddf.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>
| -rwxr-xr-x | templates/list.tpl | 10 | ||||
| -rw-r--r-- | templates/menu_pigeonholes.tpl | 14 | ||||
| -rwxr-xr-x | templates/section_inc.tpl | 8 | ||||
| -rwxr-xr-x | templates/service_nav_path_inc.tpl | 2 |
4 files changed, 17 insertions, 17 deletions
diff --git a/templates/list.tpl b/templates/list.tpl index 4d6e3ea..7415538 100755 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -17,7 +17,7 @@ {minifind} <div class="navbar"> <ul> - <li>{booticon iname="icon-circle-arrow-right" ipackage="icons" iexplain=sort}</li> + <li>{biticon ipackage="icons" iname="go-next" ipackage="icons" iexplain=sort}</li> <li>{smartlink ititle="Title" isort=title idefault=1 icontrol=$listInfo}</li> <li>{smartlink ititle="Description" isort=data icontrol=$listInfo}</li> </ul> @@ -29,10 +29,10 @@ {foreach from=$pigeonList item=item} {if $gBitUser->hasPermission( 'p_pigeonholes_update' )} <div class="floaticon"> - {smartlink ititle="Change Structure" ifile="edit_structure.php" booticon="icon-recycle" structure_id=$item.structure_id} - {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" booticon="icon-file" structure_id=$item.structure_id action="create"} - {smartlink ititle="Edit Category" ifile="edit_pigeonholes.php" booticon="icon-edit" structure_id=$item.structure_id action="edit"} - {smartlink ititle="Remove Category" ifile="edit_pigeonholes.php" booticon="icon-trash" action="remove" structure_id=$item.structure_id} + {smartlink ititle="Change Structure" ifile="edit_structure.php" biticon="edit-clear" structure_id=$item.structure_id} + {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" biticon="text-x-generic" structure_id=$item.structure_id action="create"} + {smartlink ititle="Edit Category" ifile="edit_pigeonholes.php" biticon="document-properties" structure_id=$item.structure_id action="edit"} + {smartlink ititle="Remove Category" ifile="edit_pigeonholes.php" biticon="edit-delete" action="remove" structure_id=$item.structure_id} </div> {/if} <h2>{$item.display_link}</h2> diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl index bc9212a..3cbeeef 100644 --- a/templates/menu_pigeonholes.tpl +++ b/templates/menu_pigeonholes.tpl @@ -2,24 +2,24 @@ {if $packageMenuTitle}<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>{/if} <ul class="{$packageMenuClass}"> {if $gBitUser->hasPermission( 'p_pigeonholes_create' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{booticon iname="icon-file" iexplain="Create Category" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{biticon ipackage="icons" iname="text-x-generic" iexplain="Create Category" ilocation=menu}</a></li> {/if} {if $gBitUser->hasPermission( 'p_pigeonholes_view' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{booticon iname="icon-list" iexplain="List Categories" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{biticon ipackage="icons" iname="text-x-generic" iexplain="List Categories" ilocation=menu}</a></li> {if $gContent->mStructureId && $gContent->mType.content_type_guid == $smarty.const.PIGEONHOLES_CONTENT_TYPE_GUID} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}{if $gBitSystem->isFeatureActive('pretty_urls_extended')}view/structure/{else}view.php?structure_id={/if}{$gContent->mStructureId}">{booticon iname="icon-search" iexplain="View Category" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}{if $gBitSystem->isFeatureActive('pretty_urls_extended')}view/structure/{else}view.php?structure_id={/if}{$gContent->mStructureId}">{biticon ipackage="icons" iname="edit-find" iexplain="View Category" ilocation=menu}</a></li> {if $gBitUser->hasCreatePermission()} - <li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('structure_id')}&action=edit">{booticon iname="icon-edit" iexplain="Edit Category" ilocation=menu}</a></li> + <li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('structure_id')}&action=edit">{biticon ipackage="icons" iname="document-properties" iexplain="Edit Category" ilocation=menu}</a></li> <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('root_structure_id')}&action=create">{biticon iname="insert-object" iexplain="Insert Sub-Category" ilocation=menu}</a></li> - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_structure.php?structure_id={$gContent->getField('structure_id')}">{booticon iname="icon-recycle" iexplain="Change Structure" ilocation=menu}</a></li> - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('structure_id')}&action=remove">{booticon iname="icon-trash" iexplain="Delete Category" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_structure.php?structure_id={$gContent->getField('structure_id')}">{biticon ipackage="icons" iname="edit-clear" iexplain="Change Structure" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('structure_id')}&action=remove">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete Category" ilocation=menu}</a></li> {/if} {/if} {/if} {if $gBitUser->hasPermission( 'p_pigeonholes_insert_member' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{booticon iname="icon-paperclip" iexplain="Assign Content" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{biticon ipackage="icons" iname="mail-attachment" iexplain="Assign Content" ilocation=menu}</a></li> {/if} </ul> {/strip} diff --git a/templates/section_inc.tpl b/templates/section_inc.tpl index fd71e16..946109f 100755 --- a/templates/section_inc.tpl +++ b/templates/section_inc.tpl @@ -36,7 +36,7 @@ <li> <a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$pigeonMember.content_id}">{$pigeonMember.title|escape}</a> {if $gBitUser->hasPermission( 'p_pigeonholes_insert_member' )} - {smartlink ititle="Remove From Category" booticon="icon-trash" expand_all=$smarty.request.expand_all action=dismember structure_id=$sid parent_id=$pigeonMember.parent_id pigeonhole_content_id=$pigeonMember.content_id} + {smartlink ititle="Remove From Category" biticon="edit-delete" expand_all=$smarty.request.expand_all action=dismember structure_id=$sid parent_id=$pigeonMember.parent_id pigeonhole_content_id=$pigeonMember.content_id} {/if} </li> @@ -57,9 +57,9 @@ {* ======= very basic display of the pigoenhole structure ======= *} {if !$no_edit && $gBitUser->hasPermission( 'p_pigeonholes_update' )} <div class="floaticon"> - {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" booticon="icon-file" structure_id=$subtree[ix].structure_id action=create} - {smartlink ititle="Edit Category" booticon="icon-edit" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=edit} - {smartlink ititle="Remove Category" booticon="icon-trash" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=remove} + {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" biticon="text-x-generic" structure_id=$subtree[ix].structure_id action=create} + {smartlink ititle="Edit Category" biticon="document-properties" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=edit} + {smartlink ititle="Remove Category" biticon="edit-delete" ifile="edit_pigeonholes.php" structure_id=$subtree[ix].structure_id action=remove} </div> {/if} diff --git a/templates/service_nav_path_inc.tpl b/templates/service_nav_path_inc.tpl index ef64c17..733a8fc 100755 --- a/templates/service_nav_path_inc.tpl +++ b/templates/service_nav_path_inc.tpl @@ -4,7 +4,7 @@ {foreach from=$pigeonData item=pigeonItem} <span class="path">{$pigeonItem.display_path} {if $gContent->hasUpdatePermission()} - {smartlink ititle="Remove Category" booticon="icon-trash" ipackage=pigeonholes ifile="edit_pigeonholes.php" action=dismember parent_id=$pigeonItem.content_id pigeonhole_content_id=$gContent->mContentId return_uri=$gContent->getDisplayUri()} + {smartlink ititle="Remove Category" biticon="edit-delete" ipackage=pigeonholes ifile="edit_pigeonholes.php" action=dismember parent_id=$pigeonItem.content_id pigeonhole_content_id=$gContent->mContentId return_uri=$gContent->getDisplayUri()} {/if} </span> {/foreach} |
