summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-05 09:35:18 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-05 09:35:18 +0100
commit113181cef0d65235bede8062f1c42c5d6396eb41 (patch)
treeab59ec74b5a700b14d5abe0bffdc575d20d6dbef
parent268ce0ddf9fde07e2420642ad0cc44e824da4e52 (diff)
downloadwiki-113181cef0d65235bede8062f1c42c5d6396eb41.tar.gz
wiki-113181cef0d65235bede8062f1c42c5d6396eb41.tar.bz2
wiki-113181cef0d65235bede8062f1c42c5d6396eb41.zip
Switch delete icon from edit-delete to user-trash (dustbin)
user-trash updated to a proper dustbin SVG. All templates across all packages updated to use user-trash instead of edit-delete. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xtemplates/admin_external_wikis.tpl2
-rwxr-xr-xtemplates/copyrights.tpl2
-rw-r--r--templates/list_books.tpl2
-rwxr-xr-xtemplates/page_icons.tpl2
-rwxr-xr-xtemplates/page_permissions.tpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/admin_external_wikis.tpl b/templates/admin_external_wikis.tpl
index 7856b21..38acf2d 100755
--- a/templates/admin_external_wikis.tpl
+++ b/templates/admin_external_wikis.tpl
@@ -30,7 +30,7 @@
<td>{$channels[user].name}</td>
<td>{$channels[user].extwiki}</td>
<td>
- &nbsp;&nbsp;<a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].extwiki_id}" onclick="return confirm('{tr}Are you sure you want to delete this external wiki?{/tr}')" title="Click here to delete this external wiki">{biticon ipackage="icons" iname="edit-delete" iexplain="remove"}</a>&nbsp;&nbsp;
+ &nbsp;&nbsp;<a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].extwiki_id}" onclick="return confirm('{tr}Are you sure you want to delete this external wiki?{/tr}')" title="Click here to delete this external wiki">{biticon ipackage="icons" iname="user-trash" iexplain="remove"}</a>&nbsp;&nbsp;
<a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;extwiki_id={$channels[user].extwiki_id}">{biticon ipackage="icons" iname="document-properties" iexplain="edit"}</a>
</td>
</tr>
diff --git a/templates/copyrights.tpl b/templates/copyrights.tpl
index e6b0722..f2d1456 100755
--- a/templates/copyrights.tpl
+++ b/templates/copyrights.tpl
@@ -38,7 +38,7 @@
<a href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$gContent->mInfo.page_id}&amp;action=up&amp;copyright_id={$copyrights[i].copyright_id}">{biticon ipackage="icons" iname="go-up" iexplain="move up"}</a>
<a href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$gContent->mInfo.page_id}&amp;action=down&amp;copyright_id={$copyrights[i].copyright_id}">{biticon ipackage="icons" iname="go-down" iexplain="move down"}</a>
<a title="{tr}Delete this copyright{/tr}" href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$gContent->mInfo.page_id}&amp;action=delete&amp;copyright_id={$copyrights[i].copyright_id}"
- onclick="return confirm('{tr}Are you sure you want to delete this copyright?{/tr}')">{biticon ipackage="icons" iname="edit-delete" iexplain="delete"}</a>
+ onclick="return confirm('{tr}Are you sure you want to delete this copyright?{/tr}')">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a>
</div>
{/form}
{/section}
diff --git a/templates/list_books.tpl b/templates/list_books.tpl
index d7a39cd..67ac888 100644
--- a/templates/list_books.tpl
+++ b/templates/list_books.tpl
@@ -32,7 +32,7 @@
{/if}
{/if}
{if ($channels[ix].creator_user_id == $gBitUser->mUserId) || $gBitUser->hasPermission( 'p_wiki_admin_book' )}
- <a href="{$smarty.const.WIKI_PKG_URL}edit_book.php?action=remove&structure_id={$channels[ix].structure_id}&tk={$gBitUser->mTicket}">{biticon ipackage="icons" iname="edit-delete" iexplain="remove"}</a>
+ <a href="{$smarty.const.WIKI_PKG_URL}edit_book.php?action=remove&structure_id={$channels[ix].structure_id}&tk={$gBitUser->mTicket}">{biticon ipackage="icons" iname="user-trash" iexplain="remove"}</a>
{/if}
</td>
</tr>
diff --git a/templates/page_icons.tpl b/templates/page_icons.tpl
index 9e14f15..6750099 100755
--- a/templates/page_icons.tpl
+++ b/templates/page_icons.tpl
@@ -67,7 +67,7 @@
{if $gContent->mInfo.title ne 'SandBox' && !$gContent->isLocked()}
{if $gContent->isOwner() || $gContent->hasUserPermission( 'p_wiki_remove_page' )}
- <a title="{tr}Remove this page{/tr}" href="{$smarty.const.WIKI_PKG_URL}remove_page.php?page_id={$gContent->mInfo.page_id}&amp;version=last">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete"}</a>
+ <a title="{tr}Remove this page{/tr}" href="{$smarty.const.WIKI_PKG_URL}remove_page.php?page_id={$gContent->mInfo.page_id}&amp;version=last">{biticon ipackage="icons" iname="user-trash" iexplain="Delete"}</a>
{/if}
{/if}
diff --git a/templates/page_permissions.tpl b/templates/page_permissions.tpl
index 97718f0..e432bfe 100755
--- a/templates/page_permissions.tpl
+++ b/templates/page_permissions.tpl
@@ -28,7 +28,7 @@
<h2>{tr}Existing requests for email notification{/tr}</h2>
<ul>
{section name=ix loop=$emails}
- <li>{$emails[ix]} <a href="{$smarty.const.WIKI_PKG_URL}page_permissions.php?page_id={$gContent->mInfo.page_id}&amp;removeemail={$emails[ix]}&amp;tab=email">{biticon ipackage="icons" iname="edit-delete" iexplain="delete"}</a></li>
+ <li>{$emails[ix]} <a href="{$smarty.const.WIKI_PKG_URL}page_permissions.php?page_id={$gContent->mInfo.page_id}&amp;removeemail={$emails[ix]}&amp;tab=email">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a></li>
{/section}
</ul>
{/if}