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 #167570 is a reply to message #167498] Sun, 15 July 2012 15:14 Go to previous messageGo to previous message
dennisp is currently offline  dennisp   Taiwan
Messages: 49
Registered: December 2004
Location: Belize
Karma:
Member
dennisp wrote on Mon, 02 July 2012 14:25
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>.


Similar to the above, drawpmsg.tmpl, also has the same html bug..im thinking in all the templates..

The file I checked was: user_left/drawpmsg.tmpl
Line 25:
<table cellspacing="0" cellpadding="0" class="ContentTable"><tr class="MsgR2">{TEMPLATE-DATA: online_indicator}{TEMPLATE: dpmsg_profile_link}{IF: !$mini}{IF: $obj->user_id}<br />{TEMPLATE-DATA: avatar}<tr class="MsgR2">

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><tr class="MsgR2">

[Updated on: Sun, 15 July 2012 15:15]

Report message to a moderator

[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: Wed Nov 27 17:56:38 GMT 2024

Total time taken to generate the page: 0.05195 seconds