summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-07-31 16:54:42 +0000
committerwjames5 <will@tekimaki.com>2008-07-31 16:54:42 +0000
commit3c7898dca4bd8aa253b471d7ddb078823a753426 (patch)
tree873efd945d46b25048ccd2d1b16772d12399c08a /templates
parent0229eff83c859c3ca0177a51b10596149832a17f (diff)
downloadboards-3c7898dca4bd8aa253b471d7ddb078823a753426.tar.gz
boards-3c7898dca4bd8aa253b471d7ddb078823a753426.tar.bz2
boards-3c7898dca4bd8aa253b471d7ddb078823a753426.zip
migrate board topic post to more common file name convention, this will be slightly weird for some tpls temporarily - those will get cleaned up in follow up changes
Diffstat (limited to 'templates')
-rw-r--r--templates/flipswitch.tpl2
-rw-r--r--templates/list_topics.tpl10
-rw-r--r--templates/post_display.tpl6
3 files changed, 9 insertions, 9 deletions
diff --git a/templates/flipswitch.tpl b/templates/flipswitch.tpl
index 7a6a538..ccc5eb8 100644
--- a/templates/flipswitch.tpl
+++ b/templates/flipswitch.tpl
@@ -13,7 +13,7 @@ $flip_downname=>$flip.$flip_name.downname
<span id="flip_{$flip.$flip_name.id}-{$flip_name}">
{if $gBitUser->hasPermission( $flip.$flip_name.perm )}
{if !$gBitThemes->isJavascriptEnabled()}
- <a href="{$smarty.const.BOARDS_PKG_URL}topic.php?t={$flip.$flip_name.id}&amp;
+ <a href="{$smarty.const.BOARDS_PKG_URL}view_board_inc.php?t={$flip.$flip_name.id}&amp;
{$flip.$flip_name.idname}={$flip.$flip_name.id|escape:"url"}
&amp;{$flip_name}={$flip.$flip_name.state|escape:"url"}" />
{else}
diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl
index 61bd5e7..2fb3385 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.20 2008/04/25 20:00:54 wjames5 Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.21 2008/07/31 16:54:42 wjames5 Exp $ *}
{strip}
<div class="listing boards">
<div class="floaticon">
@@ -10,7 +10,7 @@
<a title="{tr}Edit 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 $board->hasUserPermission( 'p_boards_remove', TRUE, TRUE )}
- <a title="{tr}Remove message board{/tr}" href="{$smarty.const.BOARDS_PKG_URL}board.php?remove=1&amp;b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="edit-delete" iexplain="Remove Message Board"}</a>
+ <a title="{tr}Remove message board{/tr}" href="{$smarty.const.BOARDS_PKG_URL}list_board_inc.php?remove=1&amp;b={$board->mInfo.board_id}">{biticon ipackage="icons" iname="edit-delete" iexplain="Remove Message Board"}</a>
{/if}
{/if}<!-- end print_page -->
</div><!-- end .floaticon -->
@@ -91,10 +91,10 @@
{if $gBitUser->hasPermission('p_boards_edit') || $gBitUser->hasPermission('p_boards_post_edit')}
<td class="actionicon">
{if $thread.flc_user_id<0 && $thread.first_approved==0}
- <a title="{tr}Approve First Post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}topic.php?b={$board->mInfo.board_id}&amp;action=1&amp;comment_id={$thread.th_thread_id}">
+ <a title="{tr}Approve First Post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}view_board_inc.php?b={$board->mInfo.board_id}&amp;action=1&amp;comment_id={$thread.th_thread_id}">
{biticon ipackage="icons" iname="list-add" iexplain="Approve First Post" iforce="icon"}
</a>
- <a title="{tr}Reject First Post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}topic.php?b={$board->mInfo.board_id}&amp;action=2&amp;comment_id={$thread.th_thread_id}">
+ <a title="{tr}Reject First Post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}view_board_inc.php?b={$board->mInfo.board_id}&amp;action=2&amp;comment_id={$thread.th_thread_id}">
{biticon ipackage="icons" iname="list-remove" iexplain="Reject First Post" iforce="icon"}
</a>
{/if}
@@ -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}topic.php?b={$smarty.request.b}&amp;remove=1&amp;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}view_board_inc.php?b={$smarty.request.b}&amp;remove=1&amp;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}
diff --git a/templates/post_display.tpl b/templates/post_display.tpl
index 39be9f0..51bb8f0 100644
--- a/templates/post_display.tpl
+++ b/templates/post_display.tpl
@@ -36,15 +36,15 @@
{/if}
{if $board->hasUserPermission( 'p_boards_edit' ) && (($comment.user_id<0 && $comment.is_approved==0)||$comment.user_id>=0) && !$comment.is_warned}
{if $comment.user_id<0 && $comment.is_approved==0}
- <a title="{tr}Approve this post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}post.php?t={$thread->mRootId}&amp;action=1&amp;comment_id={$comment.comment_id}">
+ <a title="{tr}Approve this post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}view_topic_inc.php?t={$thread->mRootId}&amp;action=1&amp;comment_id={$comment.comment_id}">
{biticon ipackage="icons" iname="list-add" iexplain="Approve Post" iforce="icon"}
</a>
- <a title="{tr}Reject this post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}post.php?t={$thread->mRootId}&amp;action=2&amp;comment_id={$comment.comment_id}">
+ <a title="{tr}Reject this post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}view_topic_inc.php?t={$thread->mRootId}&amp;action=2&amp;comment_id={$comment.comment_id}">
{biticon ipackage="icons" iname="list-remove" iexplain="Reject Post" iforce="icon"}
</a>
{elseif !$comment.is_warned && $comment.user_id>=0}
- <a onclick="return BitBoards.warn( 'warn_block_{$comment.comment_id|escape:"url"}', this )" title="{tr}Warn the poster about this post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}post.php?t={$thread->mRootId}&amp;action=3&amp;comment_id={$comment.comment_id}">
+ <a onclick="return BitBoards.warn( 'warn_block_{$comment.comment_id|escape:"url"}', this )" title="{tr}Warn the poster about this post{/tr}" href="{$smarty.const.BOARDS_PKG_URL}view_topic_inc.php?t={$thread->mRootId}&amp;action=3&amp;comment_id={$comment.comment_id}">
{biticon ipackage="icons" iname="dialog-warning" iexplain="Warn Post" iforce="icon"}
</a>