W3C - Validate
nope it is w3c html 4.01 valid
http://www.studmed.dk Portal for doctors and medical students in Denmark
look at conf.template_default.inc
there's no alt tag defined in every spacer in this file
much fun...
Code: Select all
"<br><img src=\"img/leer.gif\" width=\"1\" height=\"2\"><br>";
Code: Select all
"<br><img src=\"img/leer.gif\" width=\"1\" height=\"2\" alt=\"spacer\"><br>";
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
- Oliver Georgi
- Site Admin
- Posts: 9928
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Thx, but I still not know how to solve it.....Jérôme wrote:Normally, the ALT-Tag is not intended just to be empty, but to provide people that have graphics turned off in their browser or who can't see (blind people, ever heard of barrier-free web sites?) with information about what the picture shows.
That's why I think that this is a task for the developers of SPAW to include the function to add suggestive ALT-attributes to images.
But I think you are not so much interested in such philosophical questions than in an answer to your question.
I have not tested it, but I think the solution can be found in include/inc_ext/spaw/dialogs/img.php
Search after the function okClick with the lineAs I said, I haven't looked deeply in the code, but this line seems to do what is asked by you. Why it doesn't work: I don't know.Code: Select all
iProps.alt = (img_prop.calt.value)?(img_prop.calt.value):'';
Anyway I think the solution can be found in this file somewhere...
http://www.studmed.dk Portal for doctors and medical students in Denmark
hmm .. maybe i have to ignore all the xhtml-tags then?
anyway the validator.w3c.org giving me only 1 error for HTML:
(Note: only with an open submenu)
the CSS.validator says:
but if i check the pages with the Mac-Browser iCab he give me all the "/>"-Tags as an error. The same if i check the code with BBEdit (also an Mac-tool).
anyway the validator.w3c.org giving me only 1 error for HTML:
(Note: only with an open submenu)
Code: Select all
Line 103, column 64: duplicate specification of attribute "STYLE" (explain...).
...="cursor:pointer;cursor:hand;" style="cursor:pointer;cursor:hand;" onClick="l
Code: Select all
Ungültige Nummer : cursorhand ist kein cursor-Wert : hand
If iCab and BBEdit say that /> is wrong, they are wrong
. According to the XHTML-Standard, all (I call them) "simple" elements like img, br, hr, input, etc. require either to be written like this or like this
iCab is interesting, but not very "mature", I dare say...

Code: Select all
<img src="pic.jpg" alt="This is an image" />
Code: Select all
<img src="pic.jpg" alt="This is an image, too"></img>
- Oliver Georgi
- Site Admin
- Posts: 9928
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
check that post
http://www.phpwcms.de/forum/viewtopic.php?p=8341#8341
http://www.phpwcms.de/forum/viewtopic.php?p=8341#8341
u can get the same result online at:Jérôme wrote:If iCab and BBEdit say that /> is wrong, they are wrong.
http://www.htmlhelp.com/tools/validator/
try it first by unchecking the checkbox "Include warnings" !
if u like u can check the spider with "Validate entire site"
look what u get .. it should be the result like http://validator.w3.org/
but now try it again by enabling "Include warnings"...
check the page or the complete site and u will see what is wrong or not.
they simply use Doctype for the test.. and the phpwcms-doctype is set to html 401. and here u can read what w3c talking about the <br>-tag:
http://www.w3.org/TR/html401/struct/text.html#edef-BR
Start tag: required, End tag: forbidden
.. thats why iCab and BBEdit telling me the page is not clean .. they simply use the same Tidy-tool u can try online

- Oliver Georgi
- Site Admin
- Posts: 9928
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
what are we talking about when you say there will be w3cvalid source in the furture - valid html4.01 or valid xhtml?




Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
- Oliver Georgi
- Site Admin
- Posts: 9928
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
allright - that's a clear statement, thanks olli 

Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
it will be xhtml or html ... anyway, i will try to explain why i like to see it really validated.
if i check a code for errors and i get a list of hundreds of "/>"-errors, i cant see the real errors. what are real errors? i am not talking about errors in the phpwcms.. i am talking about errors I made with my templates. validating the running system is the best way for me to find my own errors, but i cant get this errors with this horrible long list.
i have cleaned up the phpwcms again to the most errors. now i can see what errors i make my self:
check: warnings ON, check entire site ON, but hide valid
or trythis one to see what is "ok too":
check: warnings ON, check entire site ON, don't hide valid
if you check this carefully you will see that there is a bug in the search-form. sure, the search-form is working ... anyway ... in this case some ppl. (like me) are not sure if this error is about their own template, or their article?
ok, i know its about phpwcms... and its working well .. but .. what i want to say is ... try the same procedure with the following site to find a error u made maybe with your template? lets say things are not displayed in your browser like you want it to see? best way is to check it now:
phpwcms.de -> warning ON, entire site ON, hide valid ON
... so, for me its no fun to find a error on that long list.
sorry now in german:
ich kanns in englisch nicht so gut ausdrücken, deswegen noch kurz in deutsch: ich will hier auf keinen fall rummotzen, im gegenteil ... ich bin schwer begeistert von diesem CMS und ich hab mir wirklich auch typo3 und geeklog und andere sachen angesehen. für mich ist das hier das beste was ich gesehen habe. nur bin ich selbst so ein schusselkopf, das ich ziemlich viele tippfehler mache. und das kontrolliere ich eben aus gewohnheit mit diesen validatern. nur in diesen langen listen von fehlern finde ich nicht meine eigenen fehler.
das phpwcms clean zu machen dauert ca 30 minuten .. einfach mit suchen/ersetzen den ganzen ordner durchforsten. das ist kein ding. ich mach es auch gerne wieder bei der nächsten release.
if i check a code for errors and i get a list of hundreds of "/>"-errors, i cant see the real errors. what are real errors? i am not talking about errors in the phpwcms.. i am talking about errors I made with my templates. validating the running system is the best way for me to find my own errors, but i cant get this errors with this horrible long list.
i have cleaned up the phpwcms again to the most errors. now i can see what errors i make my self:
check: warnings ON, check entire site ON, but hide valid
or trythis one to see what is "ok too":
check: warnings ON, check entire site ON, don't hide valid
if you check this carefully you will see that there is a bug in the search-form. sure, the search-form is working ... anyway ... in this case some ppl. (like me) are not sure if this error is about their own template, or their article?
ok, i know its about phpwcms... and its working well .. but .. what i want to say is ... try the same procedure with the following site to find a error u made maybe with your template? lets say things are not displayed in your browser like you want it to see? best way is to check it now:
phpwcms.de -> warning ON, entire site ON, hide valid ON
... so, for me its no fun to find a error on that long list.
sorry now in german:
ich kanns in englisch nicht so gut ausdrücken, deswegen noch kurz in deutsch: ich will hier auf keinen fall rummotzen, im gegenteil ... ich bin schwer begeistert von diesem CMS und ich hab mir wirklich auch typo3 und geeklog und andere sachen angesehen. für mich ist das hier das beste was ich gesehen habe. nur bin ich selbst so ein schusselkopf, das ich ziemlich viele tippfehler mache. und das kontrolliere ich eben aus gewohnheit mit diesen validatern. nur in diesen langen listen von fehlern finde ich nicht meine eigenen fehler.
das phpwcms clean zu machen dauert ca 30 minuten .. einfach mit suchen/ersetzen den ganzen ordner durchforsten. das ist kein ding. ich mach es auch gerne wieder bei der nächsten release.
