I have an installation of drupal at http://example.com/drupal/ and the img src is incorrect for the ok, warning, and error icons when viewing the sitedoc report at http://example.com/drupal/admin/build/sitedoc. The img src is "/misc/watchdog-warning.png" when it should be "/drupal/misc/watchdog-warning.png".

I'm new to drupal but I changed the hardcoded img srcs in sitedoc.module to use the theme_image() function from the drupal API. I don't know if this is the proper drupaly way to do it or not, but I've attached a patch file in case you are interested.

CommentFileSizeAuthor
img.patch9.08 KBzimbu668

Comments

nancydru’s picture

That is the weirdest looking patch I've ever seen. You should use diff -u -p if at all possible.

And then functions should be named with the module name, such as "_sitedoc_img_ok".

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

committed to both branches.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.