Non XHTML and CSS Validity issues

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Ron@Spikecity

Non XHTML and CSS Validity issues

Post by Ron@Spikecity »

Ok, while making a new site with 0.12 beta 2 I found the following discrepancies to get it validated CSS2 and XHTML transitional.

In plugins/
function.print.php

'&goback=0'

should be

'&goback=0;'

'&goback=1'

should be

'&goback=1;'

Add on tag email (to scramble email addresses using js)

in function.email.php


.....


Should be removed as it is depricated
Current standard requires within the tags to hide it from non javascript supporting browsers.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Non XHTML and CSS Validity issues

Post by Ted »

Thanks for the fixes to the print plugin.  They're going into svn now.  However, I don't see that email tag.  Is that something you added?
Ron@Spikecity

Re: Non XHTML and CSS Validity issues

Post by Ron@Spikecity »

wishy wrote: Thanks for the fixes to the print plugin.  They're going into svn now.  However, I don't see that email tag.  Is that something you added?
It's one of the third party plugins
alby

Re: Non XHTML and CSS Validity issues

Post by alby »

For WAI-ATAG issue, I have expanded function.print.php with:

- title: Text to show for title attribute. If blank show text parameter.
- class: Class of link.
- more: Place additional options inside the link.

- src_img - Show this image file. Default images/cms/printbutton.gif
- alt: Text to show for the alt of tag if showbutton is sets.
- class_img: Class of tag if showbutton is sets.

Patch

Alby
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am
Location: Southern France

Re: Non XHTML and CSS Validity issues

Post by fredt »

I finally solved the email tag NOSCRIPT validation problem by including it in mess of tags :

no javascript, no e-mail!

Discussion and new version with "class" tag here:
http://forum.cmsmadesimple.org/index.ph ... 788.0.html

Validates with W3C Transitional and Strict...
Post Reply

Return to “Developers Discussion”