diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-05 09:35:18 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-05 09:35:18 +0100 |
| commit | abbc77ea320e06b807d239fd465d0a2137244119 (patch) | |
| tree | d6ac4415d3d88cf8411d0d4c9c03925b1d7e9d64 | |
| parent | f02668bc990e9b9f763e270d2749a7f59f3350d2 (diff) | |
| download | boards-abbc77ea320e06b807d239fd465d0a2137244119.tar.gz boards-abbc77ea320e06b807d239fd465d0a2137244119.tar.bz2 boards-abbc77ea320e06b807d239fd465d0a2137244119.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-x | templates/board_assign.tpl | 2 | ||||
| -rwxr-xr-x | templates/list_topics.tpl | 4 | ||||
| -rwxr-xr-x | templates/post_display.tpl | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/board_assign.tpl b/templates/board_assign.tpl index a9df48a..39d3db3 100755 --- a/templates/board_assign.tpl +++ b/templates/board_assign.tpl @@ -78,7 +78,7 @@ <td style="text-align:right">{$mapping.thread_count}</td> <td class="actionicon"> <input type="checkbox" name="remove[{$board.board_id}][{$mapping.t_content_id}]" value="1" /> - <a title="Remove from board" href="{$smarty.const.BOARDS_PKG_URL}assign.php?remove[{$board.board_id}][{$mapping.t_content_id}]=1#board{$smarty.foreach.board_loop.iteration}">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="Remove from board"}</a> + <a title="Remove from board" href="{$smarty.const.BOARDS_PKG_URL}assign.php?remove[{$board.board_id}][{$mapping.t_content_id}]=1#board{$smarty.foreach.board_loop.iteration}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="Remove from board"}</a> </td> </tr> {/foreach} diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index a85fd93..6f7fb72 100755 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -22,7 +22,7 @@ <a title="Edit message board" href="{$smarty.const.BOARDS_PKG_URL}edit.php?b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="document-properties" ipackage="icons" iexplain="Edit Message Board"}</a> {/if} {if $board->hasUserPermission( 'p_boards_remove', true, true )} - <a title="Remove message board" href="{$smarty.const.BOARDS_PKG_URL}edit.php?remove=1&b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="Remove Message Board"}</a> + <a title="Remove message board" href="{$smarty.const.BOARDS_PKG_URL}edit.php?remove=1&b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="Remove Message Board"}</a> {/if} {/if}<!-- end print_page --> {*if $board->hasPostCommentsPermission()} @@ -109,7 +109,7 @@ {*smartlink ititle="Edit" ifile="edit.php" ibiticon="liberty/edit" board_id=$thread.board_id*} <a href="{$smarty.const.BOARDS_PKG_URL}topic_move.php?t={$thread.th_thread_id|escape:"url"}" title="Move Thread">{biticon ipackage="icons" iname="emblem-symbolic-link" iexplain="Move Thread" iforce="icon"} - </a> <a title="Delete Topic" href="{$smarty.const.BOARDS_PKG_URL}edit_topic.php?remove=1&t={$thread.th_thread_id|escape:"url"}">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="Delete Thread" iforce="icon"}</a> + </a> <a title="Delete Topic" href="{$smarty.const.BOARDS_PKG_URL}edit_topic.php?remove=1&t={$thread.th_thread_id|escape:"url"}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="Delete Thread" iforce="icon"}</a> {/if} </td> diff --git a/templates/post_display.tpl b/templates/post_display.tpl index 465d50d..87366f7 100755 --- a/templates/post_display.tpl +++ b/templates/post_display.tpl @@ -36,7 +36,7 @@ <a href="{$comments_return_url}&post_comment_id={$comment.comment_id}&post_comment_request=1#editcomments" rel="nofollow">{biticon ipackage="icons" iname="document-properties" ipackage="icons" iexplain="Edit" iforce="icon"}</a> {/if} {if $board->hasUserPermission( 'p_liberty_admin_comments' )} - <a href="{$comments_return_url}&delete_comment_id={$comment.comment_id}" rel="nofollow">{biticon ipackage="icons" iname="edit-delete" ipackage="icons" iexplain="Remove" iforce="icon"}</a> + <a href="{$comments_return_url}&delete_comment_id={$comment.comment_id}" rel="nofollow">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="Remove" iforce="icon"}</a> {/if} {if $board->hasUpdatePermission() and (($comment.user_id<0 and $comment.is_approved==0)or$comment.user_id>=0) and !$comment.is_warned} {if $comment.user_id<0 and $comment.is_approved==0} |
