Hi
With CMSimple version 3.2 the function languagemenu() does not return
closed img-tags for the flag images with xhtml_endtags = true.
Better use tag(img...) in cms.php line 639.
Holger
xhtml_endtags in function languagemenu()
Re: xhtml_endtags in function languagemenu()
Ups,
Peter posted that already at cmsimple.com:
Peter posted that already at cmsimple.com:
Harteg wrote: A user wrote me:
Hello Peter,
don't know why I have to purchase a license of cmsimple to post on the cmsimple-forum, but maybe I can tell you about two small things I found in the code of the cms.php!
To generate good and valide XHTML-Code I think the languagemenue-function should not output
<img src="'.$pth['folder']['flags'] etc..
instead I used
.tag('img
this is found in ROW 635 and 640
and to get a valid print-link I think it would be a solution to write
else if(sv('QUERY_STRING') != '')$t = str_replace('&','&',sv('QUERY_STRING')).$t;
in the printlink-function near ROW 527 and then the &s in the Query_Strings are escaped!
Cheers and thanx for your work!