diff options
| author | bitweaver.org <bitweaver@users.sourceforge.net> | 2007-05-02 18:06:32 +0000 |
|---|---|---|
| committer | bitweaver.org <bitweaver@users.sourceforge.net> | 2007-05-02 18:06:32 +0000 |
| commit | 7f3a561b6c903664dbe6ade326049b7dd3aa555c (patch) | |
| tree | 53cac13ec6a0b584242516bb9c74a974b8ac08ce | |
| parent | 5d51b934c2e7d115b32ca11cde33fab6c1270d51 (diff) | |
| download | boards-7f3a561b6c903664dbe6ade326049b7dd3aa555c.tar.gz boards-7f3a561b6c903664dbe6ade326049b7dd3aa555c.tar.bz2 boards-7f3a561b6c903664dbe6ade326049b7dd3aa555c.zip | |
more template fixes - add a wrapper that is used to indent posts in threaded view
| -rw-r--r-- | templates/list_posts.tpl | 11 | ||||
| -rw-r--r-- | templates/post_display.tpl | 8 |
2 files changed, 10 insertions, 9 deletions
diff --git a/templates/list_posts.tpl b/templates/list_posts.tpl index 2dde38f..8a63907 100644 --- a/templates/list_posts.tpl +++ b/templates/list_posts.tpl @@ -1,12 +1,12 @@ -{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.8 2007/03/31 15:54:14 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.9 2007/05/02 18:06:32 bitweaver Exp $ *} {strip} <div class="listing bitboard"> -<div class="navbar"> - <div class="boards breadcrumb"> - <a href="{$smarty.const.BOARDS_PKG_URL}">{tr}Message Boards{/tr}</a> » <a href="{$board->mInfo.display_url}">{$board->mInfo.title|escape}</a> + <div class="navbar"> + <div class="boards breadcrumb"> + <a href="{$smarty.const.BOARDS_PKG_URL}">{tr}Message Boards{/tr}</a> » <a href="{$board->mInfo.display_url}">{$board->mInfo.title|escape}</a> + </div> </div> -</div> <div class="floaticon"> {* not happy with this yet - xing *} @@ -92,4 +92,3 @@ {include file="bitpackage:boards/legend_inc.tpl" posticons=1} {/strip} - diff --git a/templates/post_display.tpl b/templates/post_display.tpl index 23b1475..b07e43f 100644 --- a/templates/post_display.tpl +++ b/templates/post_display.tpl @@ -17,7 +17,7 @@ </div> {/if} <div class="body" id="{$comment.comment_id|escape}"> - <div class="content" {if $comments_style eq 'threaded' || $gBitUser->getPreference('boards_show_avatars','y') == y}style="{if $comments_style eq 'threaded'}padding-left:{math equation="level * marginIncrement +3 " level=$comment.level marginIncrement=20}px;{/if}{if $gBitUser->getPreference('boards_show_avatars','y') == y}margin-left: 14.5em;{/if}"{/if}> + <div class="wrapper" {if $comments_style eq 'threaded' || $gBitUser->getPreference('boards_show_avatars','y') == y}style="{if $comments_style eq 'threaded'}padding-left:{math equation="level * marginIncrement +3 " level=$comment.level marginIncrement=20}px;{/if}{if $gBitUser->getPreference('boards_show_avatars','y') == y}margin-left: 14.5em;{/if}"{/if}> {if !$post_is_preview} <div class="floaticon"> {if $print_page ne 'y' && $comment.deleted==0 } @@ -129,8 +129,10 @@ </div> {/if} - {$comment.parsed_data} - </div><!-- end .content --> + <div class="content"> + {$comment.parsed_data} + </div><!-- end .content --> + </div><!-- end .wrapper --> </div> |
