Friendselectric and theme_item_list

AjK - January 27, 2006 - 11:04
Project:Admin block
Version:4.6.x-1.x-dev
Component:Code
Category:support request
Priority:minor
Assigned:frjo
Status:won't fix
Description

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

AttachmentSize
adminblock.module.patch2.69 KB

#1

frjo - January 27, 2006 - 12:15
Title:Incorrect theme() call in adminblock.module» Friendselectric and theme_item_list
Category:bug report» support request
Assigned to:Anonymous» frjo
Status:active» 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".

 
 

Drupal is a registered trademark of Dries Buytaert.