Here a first stab at making the html output easier to theme, starting with the result bar. Code from poll module.

Comments

ChrisKennedy’s picture

StatusFileSize
new1.93 KB

Based on http://drupal.org/node/306 I believe that "theme('poll_bar'..." should be "theme('decisions_bar, ...." to reference the function you included in your patch. The attached patch makes this change and also syncs with #87498 by renaming poll.include to poll.inc.

anders.fajerson’s picture

Status: Needs review » Reviewed & tested by the community

You are of course right, sorry for that.

ChrisKennedy’s picture

Status: Reviewed & tested by the community » Fixed

No problem, thanks for the patch :)

Anonymous’s picture

Status: Fixed » Closed (fixed)