Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 279
Total: 279

Author Topic: Have ya heard of the W3C validator?  (Read 3935 times)

0 Members and 1 Guest are viewing this topic.

Offline 2Ntense

  • Member
  • *
  • Posts: 1
    • View Profile
Have ya heard of the W3C validator?
« on: August 16, 2008, 01:33:04 pm »
There's a link to it at the bottom of your forum here.  ;D

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: [Select]
//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: [Select]
<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 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Have ya heard of the W3C validator?
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal