When using the "friendselectric" theme, I noticed that the "Admin block" appeared incorrect.

It seems to me that when $block['centent'] is being constructed a theme() call is made thus:-

$block['content'] = theme('item_list', ....)

but, in the code above that it appeard to 'wanting' to be links (the [ ]|[ ] section) rather than a bullet list. I changed the code so that I had :-

$block['content'] = theme('links', ....

and it now displays as I expected it to.

--Ak

CommentFileSizeAuthor
adminblock.module.patch2.69 KBAjK

Comments

frjo’s picture

Title: Incorrect theme() call in adminblock.module » Friendselectric and theme_item_list
Assigned: Unassigned » frjo
Category: bug » support
Status: Active » Closed (won't fix)

Friendselectric does some very special stuff to item lists in its style.css.

If the items in a list is only simple links it works, but when the items are more complex like in admin_block the output looks very weird indeed.

In all other themes I tested it works as expected so I mark this as "won't fix".