Is there anything gained from making the pager.inc pager pieces themeable? I'm no longer sure, but the attached patch does so.

Comments

Bèr Kessels’s picture

great! +1 from me.

But, the three dots (...) are still not thmeabnle, nor have they got a style. The arent even wrapped in a HTML element. IMO that we sthe worst thing of the current pager: that i could do nothing with these dots. :)

jeremy’s picture

StatusFileSize
new8.63 KB

Is it sufficient to wrap them in div? See attached.

tangent’s picture

Wrapping them in a div is only marginally better for theming purposes without assigning a class.

dries’s picture

Committed to HEAD.

jeremy’s picture

StatusFileSize
new8.85 KB

Here's a followup patch to add classes to each of the pager pieces, and the "...".

jeremy’s picture

StatusFileSize
new3.54 KB

Here's the proper followup patch.

jeremy’s picture

StatusFileSize
new3.54 KB

Sorry for the shotgun effect, but rumor has it you should close quotes. One more patch attached.

dries’s picture

Committed to HEAD.

gábor hojtsy’s picture

Dries committed the patch without the closed quotes!

dries’s picture

Committed to HEAD.

Anonymous’s picture