SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: Burak ? on August 16, 2008, 01:01:23 PM

Title: XHTML Errors
Post by: Burak ? on August 16, 2008, 01:01:23 PM
Line 101 .SPortal.template.php
Code: (F?ND) [Select]
<tr class="windowbg"><td style="padding: 5px;"colspan="2">';if(!empty($modSettings['articleavatar']) && !empty($article['poster']['avatar']['href']))echo '<div style="font-size: 11px;"><div><img src="' . $article['poster']['avatar']['href'] . '" alt="' . $article['poster']['name'] . '" width="30" align="left" /></div>&nbsp;', $article['message']['timeday'], ' ', $txt[525], ' ', $article['poster']['link'], '<br />&nbsp;', $txt['sp-articlesViews'], ': ', $article['topic']['views'], ' | ', $txt['sp-articlesComments'], ': ', $article['topic']['replies'], '</div>';elseecho '<div style="font-size: 11px;">', $article['message']['timeday'], ' ', $txt[525], ' ', $article['poster']['link'], ' | ', $txt['sp-articlesViews'], ': ', $article['topic']['views'], ' | ', $txt['sp-articlesComments'], ': ', $article['topic']['replies'], '</div>';echo '<hr /><div class="post">', !empty($article['category']['picture']['href']) ? '<div><img src="' . $article['category']['picture']['href'] . '" alt="' . $article['category']['name'] . '" width="90" align="right" /></div>' : '', $article['message']['body'], '<br/><br/></div></tr>
Code: (REPLACE) [Select]
<tr class="windowbg"><td style="padding: 5px;"colspan="2">';if(!empty($modSettings['articleavatar']) && !empty($article['poster']['avatar']['href']))echo '<div style="font-size: 11px;"><div><img src="' . $article['poster']['avatar']['href'] . '" alt="' . $article['poster']['name'] . '" width="30" align="left" /></div>&nbsp;', $article['message']['timeday'], ' ', $txt[525], ' ', $article['poster']['link'], '<br />&nbsp;', $txt['sp-articlesViews'], ': ', $article['topic']['views'], ' | ', $txt['sp-articlesComments'], ': ', $article['topic']['replies'], '</div>';elseecho '<div style="font-size: 11px;">', $article['message']['timeday'], ' ', $txt[525], ' ', $article['poster']['link'], ' | ', $txt['sp-articlesViews'], ': ', $article['topic']['views'], ' | ', $txt['sp-articlesComments'], ': ', $article['topic']['replies'], '</div>';echo '<hr /><div class="post">', !empty($article['category']['picture']['href']) ? '<div><img src="' . $article['category']['picture']['href'] . '" alt="' . $article['category']['name'] . '" width="90" align="right" /></div>' : '', $article['message']['body'], '<br/><br/></div></td></tr>
Quote from: ERROR
<tr class="windowbg"><td style="padding: 5px;"colspan="2">';if(!empty($modSettings['articleavatar']) && !empty($article['poster']['avatar']['href']))echo '<div style="font-size: 11px;"><div><img src="' . $article['poster']['avatar']['href'] . '" alt="' . $article['poster']['name'] . '" width="30" align="left" /></div>&nbsp;', $article['message']['timeday'], ' ', $txt[525], ' ', $article['poster']['link'], '<br />&nbsp;', $txt['sp-articlesViews'], ': ', $article['topic']['views'], ' | ', $txt['sp-articlesComments'], ': ', $article['topic']['replies'], '</div>';elseecho '<div style="font-size: 11px;">', $article['message']['timeday'], ' ', $txt[525], ' ', $article['poster']['link'], ' | ', $txt['sp-articlesViews'], ': ', $article['topic']['views'], ' | ', $txt['sp-articlesComments'], ': ', $article['topic']['replies'], '</div>';echo '<hr /><div class="post">', !empty($article['category']['picture']['href']) ? '<div><img src="' . $article['category']['picture']['href'] . '" alt="' . $article['category']['name'] . '" width="90" align="right" /></div>' : '', $article['message']['body'], '<br/><br/></div></td></tr>
Title: Re: XHTML Errors
Post by: Nathaniel on August 16, 2008, 07:35:48 PM
Thanks for pointing out the error Burak, I will have a look at it later.

Its version 2.04 right?
Title: Re: XHTML Errors
Post by: Burak ? on August 16, 2008, 08:08:13 PM
You're Welcome :)
Title: Re: XHTML Errors
Post by: ccbtimewiz on August 16, 2008, 09:59:39 PM
L, this is the error I showed you on MSN.  :PFix'd.
Title: Re: XHTML Errors
Post by: [SiNaN] on August 16, 2008, 11:30:53 PM
Well, how did I miss that?!
SimplePortal 2.3.8 © 2008-2024, SimplePortal