Themes

 
 
Picture of James Ballard
Administration block not valid XHTML
Group Particularly helpful Moodlers
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: -
Picture of Kevin Hughes
Re: Administration block not valid XHTML
 

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

Looks like someone just forgot to put in the slash smile

 
Average of ratings: -
Picture of Urs Hunkler
Re: Administration block not valid XHTML
Group DevelopersGroup Particularly helpful Moodlers

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

 
Average of ratings: -
Picture of James Ballard
Re: Administration block not valid XHTML
Group Particularly helpful Moodlers
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.
 
Average of ratings: -
Picture of John Papaioannou
Re: Administration block not valid XHTML
 
Fixed effective now, thank you for the report! approve

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