SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 12:48:49 pm

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 49
Total: 49
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Have ya heard of the W3C validator?  (Read 2148 times)
2Ntense
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: August 16, 2008, 01:33:04 pm »

There's a link to it at the bottom of your forum here.  Grin

Run the Gallery Light through the Validator, if you're bored some day.  All of the IMG tags in the template are missing the ALT parameter, and the table formatting is incorrectly nested somewhere.  I'm about half surprised that it doesn't fall all over itself.

I found the table problem:
Code:
//Check which BBCode parser exists parse_bbc for 1.1 or doUBBC for 1.0.x
$parse_exist = function_exists('parse_bbc');

echo '<table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
<tr class="titlebg">
<td colspan="2">' . $txt['gallery_text_galleryname'] . '</td>
<td>' . $txt['gallery_text_gallerydescription'] .'</td>
<td>' . $txt['gallery_text_totalimages'] . '</td>
';
if($g_manage)
echo '
<td>' . $txt['gallery_text_reorder'] . '</td>
<td>' . $txt['gallery_text_options'] . '</td></tr>';

That last part should have been

Code:
<td>' . $txt['gallery_text_options'] . '</td>';
echo '
</tr>';

or else non-admins will never get the end of the table row.
« Last Edit: August 16, 2008, 01:48:32 pm by 2Ntense » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #1 on: August 16, 2008, 01:36:00 pm »

I am aware of those issues most of have been fixed in the pro version.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.196 seconds with 20 queries.