Page 1 of 1

XHTML 1.1 error in serendipity_plugin_category_dhtml_menu

Posted: Wed May 03, 2006 11:03 am
by frodeste
Validation: http://validator.w3.org/check?uri=http% ... &verbose=1

Plugin:
<div class="serendipitySideBarItem container_serendipity_plugin_category_dhtml_menu">
<div class="serendipitySideBarContent"><script type="text/javascript" src="http://www.stenstrom.no/blog/plugins/se ... "></script>
<script language="javascript" type="text/javascript">

Error: Attribute `language` not allowed within script Tag.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">



Could someone please look at this bug? Please :)

Re: XHTML 1.1 error in serendipity_plugin_category_dhtml_men

Posted: Wed May 03, 2006 11:26 am
by garvinhicking
Hi!

This output comes from the PEAR DHTML class, you must contact the PEAR maintainers of that package to make it validate, please.

Best regards,
Garvin

Posted: Wed May 03, 2006 12:51 pm
by frodeste
I have sent him a message, including suggestion on how to fix.

I would really like it if this plugin changes to use the dtree class instead. It would make my blog look better as I use both.

Posted: Wed May 03, 2006 1:05 pm
by frodeste
BTW.. I have changed my blog to use the standard category plugin, but it does not seem to respect the norwegian language translation for the word Category, which should be "Emne".

The ploural Categories should be Emner

Also, there is a typo in the admin: Hendelses-lugins should read Hendelses-plugins.

Posted: Wed May 03, 2006 1:27 pm
by garvinhicking
Hi!

Yes, a dtree alternative to that plugin would be very welcome. I think it should not be too hard to code, maybe you'd like to look into it?

Best regards,
Garvin