Page 1 of 1

Printing version is not Valid validator.w3.org

Posted: Sun Dec 03, 2006 9:50 am
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

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

Posted: Fri Dec 15, 2006 6:48 am
by Elijah Lofgren

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

Posted: Wed Jan 10, 2007 1:46 am
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-