MyBB Community Forums

Full Version: [F] private_read template error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://community.mybboard.net/thread-33232-page-2.html

As per that discussion I am reporting this as official template bug.

Opera 9.27 displays the PMs as centered.

http://upload44.com/uploads/873-070208-150558.png

That's a new 1.4 install with not a single edit.

Thank you.
Found the bug.

template private_read is wrong

<html>
<head>
<title>{$lang->viewing_pm} {$pm['subject']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead">
<strong>{$pm['subject']}</strong>
</td>
</tr>
{$action_time}
{$message}
</table>
{$footer}
</body>
</html>

Should be:

<html>
<head>
<title>{$lang->viewing_pm} {$pm['subject']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead">
<strong>{$pm['subject']}</strong>
</td>
</tr>
</table>
{$action_time}
{$message}
{$footer}
</body>
</html>

Notice the position of the </table> tag?
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.