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
commit65750d6a8216c3a67748c1513628aa6ef390a757 (patch)
treeb77c1b3374745603206171a71f8190069e548bd9
parent5fbf48693af7639d9488ab3e34a625f33aff2029 (diff)
downloadblogs-65750d6a8216c3a67748c1513628aa6ef390a757.tar.gz
blogs-65750d6a8216c3a67748c1513628aa6ef390a757.tar.bz2
blogs-65750d6a8216c3a67748c1513628aa6ef390a757.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/blog_list_post.tpl2
-rwxr-xr-xtemplates/crosspost.tpl2
-rwxr-xr-xtemplates/list_blogs.tpl2
-rwxr-xr-xtemplates/view_blog.tpl2
-rwxr-xr-xtemplates/view_blog_post.tpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/blog_list_post.tpl b/templates/blog_list_post.tpl
index 0a99d0c..b226636 100755
--- a/templates/blog_list_post.tpl
+++ b/templates/blog_list_post.tpl
@@ -20,7 +20,7 @@
{if ($aPost.ownsblog eq 'y') || ($gBitUser->mUserId && $aPost.user_id eq $gBitUser->mUserId) || $gBitUser->hasPermission( 'p_blogs_admin' )}
<a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$aPost.blog_id|default:0}&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="document-properties" ipackage="icons" iexplain="edit"}</a>
<a title="{tr}History{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post_history.php?content_id={$aPost.content_id}">{biticon ipackage="icons" iname="appointment" iexplain="History"}</a>
- <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
{/if}
</div>
{/if}
diff --git a/templates/crosspost.tpl b/templates/crosspost.tpl
index 5ab86b2..da5dcb1 100755
--- a/templates/crosspost.tpl
+++ b/templates/crosspost.tpl
@@ -20,7 +20,7 @@
{assign var="has_crosspost" value=true}
{$availBlogTitle|escape}
&nbsp;<a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?blog_content_id={$blogContentId}&amp;post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-properties" ipackage="icons" iexplain="edit crosspost note"}</a>
- &nbsp;<a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?action=remove&amp;post_id={$post_info.post_id}&amp;blog_content_id={$blogContentId}&amp;status_id=300">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="delete this crossposting"}</a><br/>
+ &nbsp;<a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?action=remove&amp;post_id={$post_info.post_id}&amp;blog_content_id={$blogContentId}&amp;status_id=300">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete this crossposting"}</a><br/>
{/if}
{/foreach}
{if !$has_crosspost}
diff --git a/templates/list_blogs.tpl b/templates/list_blogs.tpl
index f55cee5..ad04a39 100755
--- a/templates/list_blogs.tpl
+++ b/templates/list_blogs.tpl
@@ -59,7 +59,7 @@
<a title="{tr}edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}edit.php?blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="text-x-generic" ipackage="icons" iexplain="configure"}</a>
{/if}
{if ($gBitUser->mUserId && $listBlog.user_id eq $gBitUser->mUserId) || $gBitUser->hasPermission( 'p_blogs_admin' )}
- <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove=1&amp;blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove=1&amp;blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
{/if}
</div>
diff --git a/templates/view_blog.tpl b/templates/view_blog.tpl
index f4d5b4f..2e9062c 100755
--- a/templates/view_blog.tpl
+++ b/templates/view_blog.tpl
@@ -25,7 +25,7 @@
{/if}
{if ($gContent->hasUpdatePermission())}
- <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?remove=1&amp;blog_id={$gContent->getField('blog_id')}">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?remove=1&amp;blog_id={$gContent->getField('blog_id')}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
{/if}
</div>
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index edcd692..ec5b046 100755
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -41,7 +41,7 @@
<a title="{tr}History{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post_history.php?content_id={$post_info.content_id}">{biticon ipackage="icons" iname="appointment" iexplain="History"}</a>
{/if}
{if $gContent->hasUserPermission( 'p_blogs_admin' )}
- <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$post_info.post_id}&amp;status_id=300">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$post_info.post_id}&amp;status_id=300">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
{/if}
{/if}
</div>