From 248c457f8e875eb9efe6705bbfb6a506283ccfc9 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Thu, 4 Jun 2026 11:31:56 +0100 Subject: Convert {booticon} to {biticon} — freedesktop/tango icon names throughout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with {biticon ipackage="icons" iname=""} 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 --- plugins/data.attachment.php | 2 +- plugins/data.img.php | 2 +- plugins/data.jstabs.php | 2 +- plugins/data.toc.php | 2 +- plugins/filter.maketoc.php | 2 +- templates/admin_plugins.tpl | 2 +- templates/admin_xref_groups.tpl | 2 +- templates/admin_xref_sources.tpl | 2 +- templates/center_list_generic.tpl | 4 ++-- templates/content_permissions_inc.tpl | 2 +- templates/content_role_permissions.tpl | 6 +++--- templates/content_role_permissions_inc.tpl | 2 +- templates/display_comment.tpl | 8 ++++---- templates/display_structure.tpl | 2 +- templates/edit_storage_list.tpl | 6 +++--- templates/list_comment_files_inc.tpl | 2 +- templates/list_xref.tpl | 2 +- templates/mime/pdf/admin.tpl | 2 +- templates/mime/video/admin.tpl | 6 +++--- templates/service_content_body_inc.tpl | 2 +- templates/service_content_icon_inc.tpl | 4 ++-- templates/structure_add_content.tpl | 2 +- templates/structure_display.tpl | 2 +- templates/structure_toc_leaf.tpl | 4 ++-- templates/view_xref_address_item.tpl | 6 +++--- templates/view_xref_bank_item.tpl | 6 +++--- templates/view_xref_contact_item.tpl | 6 +++--- templates/view_xref_date_item.tpl | 6 +++--- templates/view_xref_locate_item.tpl | 6 +++--- templates/view_xref_phone_item.tpl | 6 +++--- templates/view_xref_sig_item.tpl | 6 +++--- templates/view_xref_text_item.tpl | 6 +++--- templates/view_xref_value_item.tpl | 6 +++--- 33 files changed, 63 insertions(+), 63 deletions(-) diff --git a/plugins/data.attachment.php b/plugins/data.attachment.php index 5ba05e6..52f2395 100755 --- a/plugins/data.attachment.php +++ b/plugins/data.attachment.php @@ -43,7 +43,7 @@ $pluginParams = [ 'help_function' => '\data_attachment_help', 'syntax' => '{attachment id= size= align= }', 'plugin_type' => DATA_PLUGIN, - 'booticon' => '{booticon iname="icon-paper-clip" iexplain="Attachment"}', + 'booticon' => '{biticon ipackage="icons" iname="mail-attachment" iexplain="Attachment"}', 'taginsert' => '{attachment id= align= size= description= alt=}', ]; $gLibertySystem->registerPlugin( PLUGIN_GUID_DATAATTACHMENT, $pluginParams ); diff --git a/plugins/data.img.php b/plugins/data.img.php index 32008b5..43a1e5c 100755 --- a/plugins/data.img.php +++ b/plugins/data.img.php @@ -27,7 +27,7 @@ $pluginParams = [ 'help_function' => '\data_img_help', 'syntax' => "{img src=http://www.google.at/logos/olympics06_ski_jump.gif}", 'plugin_type' => DATA_PLUGIN, - 'booticon' => '{booticon iname="icon-picture" iexplain="Web Image"}', + 'booticon' => '{biticon ipackage="icons" iname="image-x-generic" iexplain="Web Image"}', 'taginsert' => '{img src= width= height= align= description= link=}', ]; $gLibertySystem->registerPlugin( PLUGIN_GUID_DATAIMG, $pluginParams ); diff --git a/plugins/data.jstabs.php b/plugins/data.jstabs.php index d3e9c15..c200f7a 100755 --- a/plugins/data.jstabs.php +++ b/plugins/data.jstabs.php @@ -27,7 +27,7 @@ $pluginParams = [ 'plugin_type' => DATA_PLUGIN, // display icon in quicktags bar - 'booticon' => '{booticon iname="icon-folder-closed-alt" iexplain="Javascript Tabs"}', + 'booticon' => '{biticon ipackage="icons" iname="folder" iexplain="Javascript Tabs"}', 'taginsert' => '{jstabs}text{/jstabs}', // functions diff --git a/plugins/data.toc.php b/plugins/data.toc.php index 5428587..fe57e5d 100755 --- a/plugins/data.toc.php +++ b/plugins/data.toc.php @@ -42,7 +42,7 @@ $pluginParams = [ 'help_function' => '\data_toc_help', 'syntax' => '{toc structure_id= }', 'plugin_type' => DATA_PLUGIN, - 'booticon' => '{booticon iname="icon-list-ol" iexplain="Structure Table of Contents"}', + 'booticon' => '{biticon ipackage="icons" iname="text-x-generic" iexplain="Structure Table of Contents"}', 'taginsert' => '{toc}', 'structure_id' => 'id of the structure to display', ]; diff --git a/plugins/filter.maketoc.php b/plugins/filter.maketoc.php index 04b3467..99cc5c4 100755 --- a/plugins/filter.maketoc.php +++ b/plugins/filter.maketoc.php @@ -32,7 +32,7 @@ $pluginParams = [ 'help_page' => 'Maketoc Filter', 'help_function' => 'maketoc_help', 'syntax' => '{maketoc}', - 'booticon' => '{booticon iname="icon-list-ul" iexplain="Page Table of Contents"}', + 'booticon' => '{biticon ipackage="icons" iname="text-x-generic" iexplain="Page Table of Contents"}', 'taginsert' => '{maketoc}', ]; $gLibertySystem->registerPlugin( PLUGIN_GUID_FILTERMAKETOC, $pluginParams ); diff --git a/templates/admin_plugins.tpl b/templates/admin_plugins.tpl index 372c314..e5adf24 100755 --- a/templates/admin_plugins.tpl +++ b/templates/admin_plugins.tpl @@ -30,7 +30,7 @@ {jspopup href="https://www.bitweaver.org/wiki/`$plugin.help_page`" ibiticon="icons/dialog-information" title=$plugin.help_page class="external"} {/if} {if !empty( $plugin.plugin_settings_url )} - {booticon iname="fa-pen-to-square" iexplain="Plugin Settings"} + {biticon ipackage="icons" iname="document-properties" iexplain="Plugin Settings"} {/if}
diff --git a/templates/list_comment_files_inc.tpl b/templates/list_comment_files_inc.tpl index b397b82..44298ea 100755 --- a/templates/list_comment_files_inc.tpl +++ b/templates/list_comment_files_inc.tpl @@ -6,7 +6,7 @@

{foreach from=$storageHash item=item key=id} - {booticon iname="fa-cloud-arrow-down"} {$item.file_name|default:"File `$id`"|escape} ({$item.file_size|display_bytes}) {jspopup notra=1 href="`$item.display_url`&popup=y" title="Details..."} + {biticon ipackage="icons" iname="network-receive"} {$item.file_name|default:"File `$id`"|escape} ({$item.file_size|display_bytes}) {jspopup notra=1 href="`$item.display_url`&popup=y" title="Details..."} {/foreach}

diff --git a/templates/list_xref.tpl b/templates/list_xref.tpl index 55b3d0a..6ffa8c4 100644 --- a/templates/list_xref.tpl +++ b/templates/list_xref.tpl @@ -37,7 +37,7 @@ {if $allow_add && $gContent->isValid() && $gContent->hasUpdatePermission() && $source ne 'history'}
- {smartlink ititle="Add record" ipackage="liberty" ifile="add_xref.php" booticon="icon-note-add" content_id=$gContent->mInfo.content_id group=$group} + {smartlink ititle="Add record" ipackage="liberty" ifile="add_xref.php" biticon="list-add" content_id=$gContent->mInfo.content_id group=$group}
{/if} {/legend} diff --git a/templates/mime/pdf/admin.tpl b/templates/mime/pdf/admin.tpl index 249fb18..deada4b 100755 --- a/templates/mime/pdf/admin.tpl +++ b/templates/mime/pdf/admin.tpl @@ -8,7 +8,7 @@
{form legend="PDF Plugin settings"}

- {booticon iname="fa-triangle-exclamation" iexplain="Warning"} {tr}To make use of this plugin, you need to install phptotext. + {biticon ipackage="icons" iname="dialog-warning" iexplain="Warning"} {tr}To make use of this plugin, you need to install phptotext. This will provide the tool to extract the text layer from the pdf and use it to populate the search results.{/tr}

diff --git a/templates/mime/video/admin.tpl b/templates/mime/video/admin.tpl index 6bddcab..ebfe683 100755 --- a/templates/mime/video/admin.tpl +++ b/templates/mime/video/admin.tpl @@ -9,11 +9,11 @@ {if $ffmpeg_extension}

- {booticon iname="fa-check" iexplain="OK"} {tr}The ffmpeg-php extension is available.{/tr} + {biticon ipackage="icons" iname="dialog-ok" iexplain="OK"} {tr}The ffmpeg-php extension is available.{/tr}

{else}

- {booticon iname="fa-triangle-exclamation" iexplain="Warning"} {tr}If possible, please install the ffmpeg-php php extension. This plugin will work without the extension but many features will not work well such as video recognition and mp4 uploads.{/tr} + {biticon ipackage="icons" iname="dialog-warning" iexplain="Warning"} {tr}If possible, please install the ffmpeg-php php extension. This plugin will work without the extension but many features will not work well such as video recognition and mp4 uploads.{/tr}

{/if} @@ -130,7 +130,7 @@

- {booticon iname="fa-triangle-exclamation" iexplain="Warning"} {tr}ffmpeg has a habit of changing the API when releasing new versions. Due to the demand for new features and the tendency to use cutting edge versions of ffmpeg it is very difficult to keep track of these API changes.{/tr} + {biticon ipackage="icons" iname="dialog-warning" iexplain="Warning"} {tr}ffmpeg has a habit of changing the API when releasing new versions. Due to the demand for new features and the tendency to use cutting edge versions of ffmpeg it is very difficult to keep track of these API changes.{/tr}

diff --git a/templates/service_content_body_inc.tpl b/templates/service_content_body_inc.tpl index 776b7d4..fb0588c 100755 --- a/templates/service_content_body_inc.tpl +++ b/templates/service_content_body_inc.tpl @@ -1,4 +1,4 @@ {if $gBitSystem->isFeatureActive( 'liberty_display_status' ) && ($gBitUser->hasPermission('p_liberty_edit_content_status') || $gBitUser->hasPermission('p_liberty_edit_all_status')) && !is_null($serviceHash.content_status_id) && $serviceHash.content_status_id != 50} {assign var=contentStatusId value=$serviceHash.content_status_id} -

{booticon iname="fa-triangle-exclamation" iexplain="Warning"} {tr}The status of this content is{/tr} {$gContent->getContentStatusName($contentStatusId)}.

+

{biticon ipackage="icons" iname="dialog-warning" iexplain="Warning"} {tr}The status of this content is{/tr} {$gContent->getContentStatusName($contentStatusId)}.

{/if}{$gContent->mInfo.content_status_name} diff --git a/templates/service_content_icon_inc.tpl b/templates/service_content_icon_inc.tpl index 744fde7..10ba5ce 100755 --- a/templates/service_content_icon_inc.tpl +++ b/templates/service_content_icon_inc.tpl @@ -8,7 +8,7 @@ {assign var="amp" value="?"} {/if} - {booticon iname="fa-recycle" iexplain="Refresh cache"} + {biticon ipackage="icons" iname="edit-clear" iexplain="Refresh cache"} {/if} {if $gBitUser->hasPermission( 'p_liberty_assign_content_perms' ) && $serviceHash.content_id} @@ -17,7 +17,7 @@ {else} {assign var=iconClass value=""} {/if} - {smartlink ipackage=liberty ifile="content_role_permissions.php" ititle="Assign Permissions" booticon="icon-key" class=$iconClass content_id=$serviceHash.content_id} + {smartlink ipackage=liberty ifile="content_role_permissions.php" ititle="Assign Permissions" biticon="lock" class=$iconClass content_id=$serviceHash.content_id} {/if} {/if} {/strip} diff --git a/templates/structure_add_content.tpl b/templates/structure_add_content.tpl index 8110d83..17c2046 100755 --- a/templates/structure_add_content.tpl +++ b/templates/structure_add_content.tpl @@ -92,7 +92,7 @@ function addStructure(pContentId) { {$contentHash.title}
diff --git a/templates/structure_display.tpl b/templates/structure_display.tpl index 685de14..443b548 100644 --- a/templates/structure_display.tpl +++ b/templates/structure_display.tpl @@ -22,7 +22,7 @@ {if $structureInfo.prev && $structureInfo.prev.structure_id} {if $wikibook_use_icons eq 'y'} - {booticon iname="fa-arrow-left" iexplain=Previous} + {biticon ipackage="icons" iname="go-previous" iexplain=Previous} {else} « {$structureInfo.prev.title|escape} {/if} diff --git a/templates/structure_toc_leaf.tpl b/templates/structure_toc_leaf.tpl index b21dd76..f3b063d 100755 --- a/templates/structure_toc_leaf.tpl +++ b/templates/structure_toc_leaf.tpl @@ -2,8 +2,8 @@
  • {if $editingStructure}
    -
    {booticon iname="fa-trash" class="icon"}
    - {booticon iname="fa-arrows-up-down-left-right" class="structure-sort-handle"} +
    {biticon ipackage="icons" iname="edit-delete" class="icon"}
    + {biticon ipackage="icons" iname="go-next" class="structure-sort-handle"}
    {/if}
    {$structure_tree.title|escape} diff --git a/templates/view_xref_address_item.tpl b/templates/view_xref_address_item.tpl index 21af596..965430f 100644 --- a/templates/view_xref_address_item.tpl +++ b/templates/view_xref_address_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_bank_item.tpl b/templates/view_xref_bank_item.tpl index 099ce6b..f26fc1f 100644 --- a/templates/view_xref_bank_item.tpl +++ b/templates/view_xref_bank_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_contact_item.tpl b/templates/view_xref_contact_item.tpl index c89a8ae..ad4ee11 100644 --- a/templates/view_xref_contact_item.tpl +++ b/templates/view_xref_contact_item.tpl @@ -20,13 +20,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_date_item.tpl b/templates/view_xref_date_item.tpl index 099ce6b..f26fc1f 100644 --- a/templates/view_xref_date_item.tpl +++ b/templates/view_xref_date_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_locate_item.tpl b/templates/view_xref_locate_item.tpl index 099ce6b..f26fc1f 100644 --- a/templates/view_xref_locate_item.tpl +++ b/templates/view_xref_locate_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_phone_item.tpl b/templates/view_xref_phone_item.tpl index 5c95005..344e511 100644 --- a/templates/view_xref_phone_item.tpl +++ b/templates/view_xref_phone_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_sig_item.tpl b/templates/view_xref_sig_item.tpl index 099ce6b..f26fc1f 100644 --- a/templates/view_xref_sig_item.tpl +++ b/templates/view_xref_sig_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_text_item.tpl b/templates/view_xref_text_item.tpl index c89a8ae..ad4ee11 100644 --- a/templates/view_xref_text_item.tpl +++ b/templates/view_xref_text_item.tpl @@ -20,13 +20,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} diff --git a/templates/view_xref_value_item.tpl b/templates/view_xref_value_item.tpl index b289054..96ac916 100644 --- a/templates/view_xref_value_item.tpl +++ b/templates/view_xref_value_item.tpl @@ -14,13 +14,13 @@ {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} - {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} - {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} + {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} - {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} {/if} {/if} -- cgit v1.3