Project:Control Panel
Version:4.7.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:der
Status:closed (fixed)

Issue Summary

Hi!

The validator reports an error related to the links generated within the function theme_controlpanel_panel_view(). It seems anchor tags can't contain div elements. Also the IMG and BR tags are not correctly terminated.

Maybe instead of:

<a href=...>
  <div>
    <img src=... >
    <br> ...title...
  </div>
</a>

Something like this?

<a href=...>
  <span style="display:block;">
    <img src=... />
    <br /> ...title...
  </span>
</a>

Comments

#1

Another little problem, fieldsets are not correctly closed. hmm...

#2

I hope it helps, I have fixed the above mentioned issues and a couple more related to output generated by this module.

Please, see attached file.

AttachmentSize
controlpanel.module 10.39 KB

#3

Status:active» needs work

Thanks Markus, but can you provide this in a patch instead of the whole module?

Thanks

#4

Oh sorry, I just started to use the 'generate patch' function in WinMerge yesterday.

Please see attached file.

AttachmentSize
controlpanel.module.patch 3.17 KB

#5

Assigned to:Anonymous» der
Status:needs work» fixed

patch applied

#6

Status:fixed» closed (fixed)