diff options
| author | Christian Fowler <spider@viovio.com> | 2007-01-08 04:58:38 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-01-08 04:58:38 +0000 |
| commit | 99d0ed3d110a2ac8276b02d9466b54d30a044c4b (patch) | |
| tree | 340f958b708f94d3a6ba2f5253a002fa0be94a3c /templates | |
| parent | 96cfb5a5cdeaabb6b04662621db0c3ec4e7babf0 (diff) | |
| download | boards-99d0ed3d110a2ac8276b02d9466b54d30a044c4b.tar.gz boards-99d0ed3d110a2ac8276b02d9466b54d30a044c4b.tar.bz2 boards-99d0ed3d110a2ac8276b02d9466b54d30a044c4b.zip | |
rename tables and columns to be consistent with standard bitweaver packages
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/list_posts.tpl | 4 | ||||
| -rw-r--r-- | templates/list_topics.tpl | 11 | ||||
| -rw-r--r-- | templates/post_display.tpl | 4 |
3 files changed, 6 insertions, 13 deletions
diff --git a/templates/list_posts.tpl b/templates/list_posts.tpl index 8516a06..0230cc3 100644 --- a/templates/list_posts.tpl +++ b/templates/list_posts.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.2 2006/11/22 12:33:57 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.3 2007/01/08 04:58:38 spiderr Exp $ *} {strip} <div class="boards breadcrumb"> « {tr}Back to{/tr} <a href="{$board->mInfo.display_url}">{$board->mInfo.title|escape}</a> @@ -49,7 +49,7 @@ {formfeedback hash=$formfeedback} {foreach item=comment from=$comments} - <div class="mb-post {cycle values="even,odd"}{if $gBitSystem->isFeatureActive('bitboards_post_anon_moderation') && $comment.user_id<0 and $comment.approved==0} unapproved{/if}"> + <div class="mb-post {cycle values="even,odd"}{if $gBitSystem->isFeatureActive('bitboards_post_anon_moderation') && $comment.user_id<0 and $comment.is_approved==0} unapproved{/if}"> {assign var=thread_mInfo value=$thread->mInfo} {displaycomment comment=$comment template=$comment_template} </div> diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index d97249b..cd49578 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.4 2007/01/05 08:31:21 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.5 2007/01/08 04:58:38 spiderr Exp $ *} {strip} <div class="listing bitboard"> <div class="floaticon"> @@ -50,14 +50,7 @@ {/if} {foreach item=thread from=$threadList} - <tr class="{cycle values="even,odd"} { - if $gBitSystem->isFeatureActive('bitboards_post_anon_moderation') && $thread.unreg > 0 - }unapproved{ - elseif $thread.th_moved>0 - }moved{ - /if} - {if $thread.th_sticky==1} highlight{/if}" - > + <tr class="{cycle values="even,odd"} {if $gBitSystem->isFeatureActive('bitboards_post_anon_moderation') && $thread.unreg > 0}unapproved{elseif $thread.th_moved>0}moved{/if} {if $thread.th_sticky==1} highlight{/if}" > <td style="white-space:nowrap;">{* topic status icons *} {if $thread.th_moved>0} {biticon ipackage="icons" iname="go-jump" iexplain="Moved Topic"} diff --git a/templates/post_display.tpl b/templates/post_display.tpl index d1aa481..912ecba 100644 --- a/templates/post_display.tpl +++ b/templates/post_display.tpl @@ -18,8 +18,8 @@ {if $gBitUser->isAdmin()} <a href="{$comments_return_url}&delete_comment_id={$comment.comment_id}" rel="nofollow">{biticon ipackage="icons" iname="edit-delete" iexplain="Remove"}</a> {/if} - {if $gBitUser->hasPermission( 'p_bitboards_edit' ) && (($comment.user_id<0 && $comment.approved==0)||$comment.user_id>=0) && !$comment.warned} - {if $comment.user_id<0 && $comment.approved==0} + {if $gBitUser->hasPermission( 'p_bitboards_edit' ) && (($comment.user_id<0 && $comment.is_approved==0)||$comment.user_id>=0) && !$comment.warned} + {if $comment.user_id<0 && $comment.is_approved==0} <a title="{tr}Approve this post{/tr}" href="{$smarty.const.BITBOARDS_PKG_URL}post.php?t={$thread->mRootId}&action=1&comment_id={$comment.comment_id}"> {biticon ipackage="icons" iname="list-add" iexplain="Approve Post"} </a> |
