FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Stray HTML Table tag
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Stray HTML Table tag [message #167498 is a reply to message #167497] Mon, 02 July 2012 18:25 Go to previous messageGo to previous message
dennisp is currently offline  dennisp   Taiwan
Messages: 49
Registered: December 2004
Location: Belize
Karma:
Member
Thanks for the fix...and for the flattery but hardly...just spotting them as I try to go about applying small changes of my own...Smile
Here is another one:

File:user_info_left\tmpl\drawmsg.tmpl
Line: 23
<table cellspacing="0" cellpadding="0" class="ContentTable"><tr class="MsgR2">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->disp_flag_cc && $GLOBALS['FUD_OPT_3'] & 524288}&nbsp;&nbsp;<img src="images/flags/{VAR: obj->disp_flag_cc}.png" border="0" width="16" height="11" title="{VAR: obj->flag_country}" alt="{VAR: obj->flag_country}"/>{ENDIFI}{IF: $obj->user_id}<br />{TEMPLATE-DATA: avatar}

should be:
<table cellspacing="0" cellpadding="0" class="ContentTable"><tr class="MsgR2"><td class="msgud">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->disp_flag_cc && $GLOBALS['FUD_OPT_3'] & 524288}&nbsp;&nbsp;<img src="images/flags/{VAR: obj->disp_flag_cc}.png" border="0" width="16" height="11" title="{VAR: obj->flag_country}" alt="{VAR: obj->flag_country}"/>{ENDIFI}{IF: $obj->user_id}</td></tr><tr>{TEMPLATE-DATA: avatar}</tr>

{TEMPLATE-DATA: online_indicator} should be within <td> since it does not create its own <tr>/<td> tags.
{TEMPLATE-DATA: avatar} creates <td> tags around itself but not <tr>.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rate Topic tree view only
Next Topic: SQL fatal error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 01:28:18 GMT 2024

Total time taken to generate the page: 0.09188 seconds