Closed (fixed)
Project:
Site Documentation
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jul 2008 at 19:52 UTC
Updated:
5 Sep 2008 at 16:52 UTC
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.
Comments
Comment #1
nancydruThat is the weirdest looking patch I've ever seen. You should use
diff -u -pif at all possible.And then functions should be named with the module name, such as "_sitedoc_img_ok".
Comment #2
nancydrucommitted to both branches.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.