diff options
| author | Christian Fowler <spider@viovio.com> | 2007-05-07 05:08:42 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-05-07 05:08:42 +0000 |
| commit | 49403d2048805f3c588b8914622b2b1f33d18117 (patch) | |
| tree | 549fcf08e05923c70b1602dc86f52c1c8ecb2d5d /templates/list_topics.tpl | |
| parent | b3acd9400e9768329ade69a74dec86058ae10d3f (diff) | |
| download | boards-49403d2048805f3c588b8914622b2b1f33d18117.tar.gz boards-49403d2048805f3c588b8914622b2b1f33d18117.tar.bz2 boards-49403d2048805f3c588b8914622b2b1f33d18117.zip | |
fix deleting of topics via link and with multi-check
Diffstat (limited to 'templates/list_topics.tpl')
| -rw-r--r-- | templates/list_topics.tpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index 7ba72e6..8477801 100644 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -1,12 +1,12 @@ -{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.9 2007/05/03 08:10:23 bitweaver Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.10 2007/05/07 05:08:42 spiderr Exp $ *} {strip} <div class="listing boards"> <div class="floaticon"> {if $print_page ne 'y'} - {if $gBitUser->hasPermission( 'p_bitboard_edit' )} + {if $gBitUser->hasPermission( 'p_boards_edit' )} <a title="{tr}Remove this message board{/tr}" href="{$smarty.const.BOARDS_PKG_URL}edit.php?b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Message Board"}</a> {/if} - {if $gBitUser->hasPermission( 'p_bitboard_remove' )} + {if $gBitUser->hasPermission( 'p_boards_remove' )} <a title="{tr}Remove this message board{/tr}" href="{$smarty.const.BOARDS_PKG_URL}remove.php?b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="edit-delete" iexplain="Remove Message Board"}</a> {/if} {/if}<!-- end print_page --> @@ -122,7 +122,7 @@ {/if} {if $thread.th_moved==0 && $gBitUser->hasPermission( 'p_boards_remove' )} - <a title="{tr}Delete Thread{/tr}" href="{$smarty.const.BOARDS_PKG_URL}topic.php?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}topic.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> {else} {biticon ipackage=liberty iname=spacer iforce="icon"} {/if} @@ -167,6 +167,8 @@ document.write("<input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"switchCheckboxes(this.form.id,'checked[]','switcher')\" /><br />"); /* ]]> */</script> + <input type="hidden" name="b" value="{$smarty.request.b}" /> + <select name="submit_mult" onchange="this.form.submit();"> <option value="" selected="selected">{tr}with checked{/tr}:</option> {if $gBitUser->hasPermission( 'p_boards_remove' )} |
