I have some code that I use on both my homepage and forumhome page, that displays the latest 5 threads.
I get 6 errors when I run the WC3 Validation that are all linked to the code that this mod uses. Code is posted below that I use.
You can check the errors I'm getting by clicking this link here that shows 6 errors. I want to know if there is any WC3 whiz kids here who think he or she can fix this code to still work the same correctly, but be 100% WC3 validated.
Link to check errors: http://validator.w3.org/check?uri=ht...pe=Inline&ss=1
I get 6 errors when I run the WC3 Validation that are all linked to the code that this mod uses. Code is posted below that I use.
Code:
<div class="smallfont"> <if condition="$show['firstnew']"> <a href="showthread.php?$session[sessionurl]threadid=&thread[threadid]&goto=newpost"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a> </if> <if condition="$show['icon'] && !$show['firstnew']"> <img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" /> </if> <a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a> <em>$vbphrase[last_post]:</em> $thread[date] <if condition="$vboptions['yestoday'] != 2"><span class="time">$thread[time]</span></if> <phrase 1="member.php?$session[sessionurl]find=lastposter&threadid=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> » $vbphrase[replies]: $thread[replycount] » $vbphrase[views]: $thread[views] </div>
Link to check errors: http://validator.w3.org/check?uri=ht...pe=Inline&ss=1
Comment