Printing version is not Valid validator.w3.org

Discuss, ask and suggest about Usability and Accessability with CMS Made Simple
Locked
jce76350
Beta Tester
Beta Tester
Posts: 2033
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Printing version is not Valid validator.w3.org

Post by jce76350 »

Hi,

Some bugs in lib\content.functions.php

To be conforme XHTML 1.0 Transitional!

Line 392
$script = 'window.print();';
replace by   'window.print();';


Line 396
$tpl_source = ''."\n".'
replace by
source = ''.''.'
Note  lang="en" --> your language

Line 412
$tpl_source = ''."\n".'
replace by
source = ''.''.'
Note  lang="en" --> your language
Jean-Claude Etiemble
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Printing version is not Valid validator.w3.org

Post by Elijah Lofgren »

Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
JohnnyB
Dev Team Member
Dev Team Member
Posts: 729
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Printing version is not Valid validator.w3.org

Post by JohnnyB »

I hope you don't mind my 2 cents...  :)

I don't believe the "print" document needs to have a xhtml doctype.  It just really needs the proper html 4 trans doctype.  Making it a xhtml doctype without xml content does not follow w3 standards and will not make the document compliant.  Using the proper html 4 trans doctype should solve the problem sufficiently.

$tpl_source = ''."\n".'

best regards-
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Locked

Return to “[locked] Accessability and Usability”