http://drupal.org/coding-standards#indenting

(It's obvioius when viewing http://drupalcode.org/viewvc/drupal/contributions/modules/moon_phases/mo... that something was wonky. Also appears to be something really wonky happening in your hook_menu)

$image = '<div class="left"><img src="/' . drupal_get_path( 'module', 'moon_phases' ) . '/moons/' . $class . '_first_quarter.png" border="0" width="' . $left . '" height="52" /></div><div class="right"><img src="/' . drupal_get_path( 'module', 'moon_phases' ) . '/moons/' . $class . '_last_quarter.png" border="0" width="' . $right . '" height="52" /></div>'; 

the Only local images are allowed.

Comments

hefox’s picture

Something got messed up, bottom should read

"It would break on any site with base_url like http://example.com/drupal/".

tom.camp’s picture

Status: Active » Fixed
tom.camp’s picture

Status: Fixed » Closed (fixed)