diff options
| author | wjames5 <will@tekimaki.com> | 2008-08-01 03:31:46 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-08-01 03:31:46 +0000 |
| commit | 3a22553520d0ff3330828c729ffe9a4c90cc8766 (patch) | |
| tree | 9a35794ff3fb80e9623fcba717146ae33b7479db /templates | |
| parent | 39bc2e90c0a9edc60ef91374c746cf829cf58492 (diff) | |
| download | boards-3a22553520d0ff3330828c729ffe9a4c90cc8766.tar.gz boards-3a22553520d0ff3330828c729ffe9a4c90cc8766.tar.bz2 boards-3a22553520d0ff3330828c729ffe9a4c90cc8766.zip | |
move expunge topic into edit_topic, and do perm checks on the root board for editing topics instead of on the topic itself - NOTE! change to expunge topic is now either hasEditPerm on the board if its root is a board or has admin_comments perm. Prevents someone from killing a tree of comments on content that is not controlled by the board but is mapped to the board - but does give board editor more power over its native comments
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/list_topics.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index 2fb3385..15cb15a 100644 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.21 2008/07/31 16:54:42 wjames5 Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.22 2008/08/01 03:31:46 wjames5 Exp $ *} {strip} <div class="listing boards"> <div class="floaticon"> @@ -112,7 +112,7 @@ {/if} {if $thread.th_moved==0 && $gBitUser->hasPermission( 'p_boards_remove' )} - <a title="{tr}Delete Topic{/tr}" href="{$smarty.const.BOARDS_PKG_URL}view_board_inc.php?b={$smarty.request.b}&remove=1&thread_id={$thread.th_thread_id|escape:"url"}">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete Thread" iforce="icon"}</a> + <a title="{tr}Delete Topic{/tr}" href="{$smarty.const.BOARDS_PKG_URL}edit_topic.php?remove=1&t={$thread.th_thread_id|escape:"url"}">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete Thread" iforce="icon"}</a> {else} {biticon ipackage=liberty iname=spacer iforce="icon"} {/if} |
