Home »
FUDforum Development »
Bug Reports »
Stray HTML Table tag
Re: Stray HTML Table tag [message #167570 is a reply to message #167498] |
Sun, 15 July 2012 15:14 |
dennisp
Messages: 49 Registered: December 2004 Location: Belize
Karma:
|
Member |
|
|
dennisp wrote on Mon, 02 July 2012 14:25Thanks for the fix...and for the flattery but hardly...just spotting them as I try to go about applying small changes of my own...
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} <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} <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} <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
|
|
|
|
|
Stray HTML Table tag
By: dennisp on Fri, 29 June 2012 09:55
|
|
|
Re: Stray HTML Table tag
By: naudefj on Fri, 29 June 2012 13:37
|
|
|
Re: Stray HTML Table tag
By: naudefj on Fri, 29 June 2012 17:18
|
|
|
Re: Stray HTML Table tag
By: dennisp on Sun, 01 July 2012 05:46
|
|
|
Re: Stray HTML Table tag
By: dennisp on Mon, 02 July 2012 10:03
|
|
|
Re: Stray HTML Table tag
By: dennisp on Mon, 02 July 2012 16:33
|
|
|
Re: Stray HTML Table tag
By: naudefj on Mon, 02 July 2012 17:32
|
|
|
Re: Stray HTML Table tag
By: dennisp on Mon, 02 July 2012 18:25
|
|
|
Re: Stray HTML Table tag
By: naudefj on Mon, 02 July 2012 19:37
|
|
|
Re: Stray HTML Table tag
By: dennisp on Sun, 15 July 2012 15:14
|
|
|
Re: Stray HTML Table tag
By: dennisp on Sun, 15 July 2012 15:22
|
|
|
Re: Stray HTML Table tag
By: NeXuS on Mon, 23 July 2012 06:35
|
Goto Forum:
Current Time: Wed Nov 27 17:56:38 GMT 2024
Total time taken to generate the page: 0.05195 seconds