From: <dh...@us...> - 2012-08-26 18:40:48
|
Revision: 10119 http://xoops.svn.sourceforge.net/xoops/?rev=10119&view=rev Author: dhcst Date: 2012-08-26 18:40:40 +0000 (Sun, 26 Aug 2012) Log Message: ----------- bug fix: load user ranks has been wrongly linked in newbb_thread.html (black_beard reported it) Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html Modified: XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html 2012-08-26 08:22:06 UTC (rev 10118) +++ XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html 2012-08-26 18:40:40 UTC (rev 10119) @@ -1,13 +1,13 @@ <{if $post_id == $topic_post.post_id}><div id="aktuell"></div><{/if}> <table class="outer" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width: 0px;"> <tr> - <th width="20%" align="left"> + <th width="20%" class="left"> <div class="ThreadUserName"><{$topic_post.poster.link}></div> </th> - <th width="75%" align="left"><div class="comTitle"><{$topic_post.post_title}></div></th> - <th align="right"> - <div class="ThreadTitle" style="float: right;"> + <th width="75%" class="left"><div class="comTitle"><{$topic_post.post_title}></div></th> + <th class="right"> + <div class="ThreadTitle"> <{if $topic_post.post_id > 0}> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$topic_post.post_id}>">#<{$topic_post.post_no}></a> <{/if}> @@ -18,7 +18,7 @@ <{if $topic_post.poster.uid gt -1}> <td width="20%" class="odd" rowspan="2" valign="top"> <{if $topic_post.poster.uid != 0}> - <div class="comUserRankText"><{$topic_post.poster.rank_title}><br /><img class="comUserImg" src="<{$xoops_upload_url}>/ranks/<{$topic_post.poster.rank_image}>" alt="" /></div> + <div class="comUserRankText"><{if $topic_post.poster.rank_title !=""}> <{$topic_post.poster.rank_title}><br /><img src="<{$xoops_upload_url}>/<{$topic_post.poster.rank_image}>" alt="<{$topic_post.poster.rank_title}>" /><{/if}></div> <{if $topic_post.poster.avatar != "blank.gif"}> <br /><img class="comUserImg" src="<{$xoops_upload_url}>/<{$topic_post.poster.avatar}>" alt="1" /> <{else}> @@ -77,7 +77,7 @@ <{/if}> <div class="clear"></div> <br /> - <div style="float: right; padding: 5px; margin-top: 10px;"> + <div class="post_ip"> <{if $topic_post.poster_ip}> IP: <a href="http://www.whois.sc/<{$topic_post.poster_ip}>" target="_blank"><{$topic_post.poster_ip}></a> | <{/if}> @@ -87,7 +87,7 @@ <{if $topic_post.post_edit}> <div class="clear"></div> <br /> - <div style="float: right; padding: 5px; margin-top: 10px; border:1px solid #000;"> + <div class="post_edit"> <small><{$topic_post.post_edit}></small> </div> <{/if}> @@ -113,14 +113,14 @@ <td colspan="3" class="foot"> <table style="border: 0; padding: 0; margin: 0"> <tr> - <td style="text-align:left;"> + <td class="left"> <{if $topic_post.thread_action}> <{foreachq item=btn from=$topic_post.thread_action}> <a href="<{$btn.link}>&post_id=<{$topic_post.post_id}>" title="<{$btn.name}>" <{if $btn.target}>target="<{$btn.target}>"<{/if}>> <{$btn.image}></a> <{/foreach}> <{/if}> </td> - <td style="text-align: right;"> + <td class="right"> <{if $mode gt 1}> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/action.post.php?post_id=<{$topic_post.post_id}>&op=split&mode=1" target="_self" title="<{$smarty.const._MD_SPLIT_ONE}>"><{$smarty.const._MD_SPLIT_ONE}></a> | <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/action.post.php?post_id=<{$topic_post.post_id}>&op=split&mode=2" target="_self" title="<{$smarty.const._MD_SPLIT_TREE}>"><{$smarty.const._MD_SPLIT_TREE}></a> | This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |