Posted by zimbu668 on July 18, 2008 at 7:52pm
Jump to:
| Project: | Site Documentation |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | NancyDru |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| img.patch | 9.08 KB |
Comments
#1
That 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".
#2
committed to both branches.
#3
Automatically closed -- issue fixed for two weeks with no activity.