Administration block not valid XHTML

Administration block not valid XHTML

by James Ballard -
Number of replies: 4
Hi

On validating our site pages when I had the administration visible we received an error to say one of the image tags was not closed. This occurs on a course admin block not on the home page admin block.

<tr class="r0"><td class="c0" valign="top" width="16">
<img src=""
height
="16" width="16" alt="">
</td>

Does anyone know where I can change this to add the missing /> to the end of this line or why it isn't isn't included?

Thanks
James


Average of ratings: -
In reply to James Ballard

Re: Administration block not valid XHTML

by Kevin Hughes -

It's in blocks/admin/block_admin.php on line 124.  

Looks like someone just forgot to put in the slash smile

In reply to James Ballard

Re: Administration block not valid XHTML

by Urs Hunkler -
Picture of Core developers

Hi James,

sorry, I can't tell you where you can add the missing "/", but please report this bug in the bug tracker with a relative high priority. It will help the developers eliminate these bugs.

Thank you very much
Urs

In reply to Urs Hunkler

Re: Administration block not valid XHTML

by James Ballard -
Thanks for the help

I found the missing / in my local code as well so I assume it is a general problem and not confined to changes made to our site. I shall report it on bug tracker as soon as my password arrives.
In reply to James Ballard

Re: Administration block not valid XHTML

by John Papaioannou -
Fixed effective now, thank you for the report! approve

Edit: Just noticed you did in fact post bug 4451 for this issue; bug closed.