Use url() to get the correct image path in theme_imagebutton()

frjo - April 29, 2007 - 04:46
Project:Voting Actions
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This patch adds a url() to make the image path in theme_imagebutton() work wherever you install the module.

With this patch I can see the delete image on admin/settings/voting_actions/edit/* pages. Without it I get a broken image icon.

A big thank you for your work on Voting API and Voting actions Eaton! I have just stared testing Voting actions together with Vote up/down, the version that seems to work for me is DRUPAL-5 from cvs.

AttachmentSize
voting_actions_ui.img_path.patch1.29 KB
 
 

Drupal is a registered trademark of Dries Buytaert.