Code review (core)

  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /opt/home/drupalcode/public_html/includes/file.inc on line 649.
Coder found 33 projects, 65 files, 5 critical warnings, 33 normal warnings
Coder provides helpful hints without false positives, but offers no guarantee for creating good code. You are the final arbitrar. If in doubt, read the Drupal documentation (see review links below and api.drupal.org).
Use the Selection Form to select options for this code review, or change the Default Settings and use the Default tab above.
core (php)
update.php

update.php

  • severity: normalLine 72: The control statement should be on a separate line from the control conditional
      if ($default) { $ret[] = update_sql("ALTER TABLE {". $table ."} ALTER $column SET $default"); }
  • severity: normalLine 74: The control statement should be on a separate line from the control conditional
        if ($default) { $ret[] = update_sql("UPDATE {". $table ."} SET $column = $default_val"); }
  • severity: normalLine 126: The control statement should be on a separate line from the control conditional
      if ($default) { $ret[] = update_sql("ALTER TABLE {". $table ."} ALTER $column_new SET $default"); }
  • severity: normalLine 127: The control statement should be on a separate line from the control conditional
      if ($not_null) { $ret[] = update_sql("ALTER TABLE {". $table ."} ALTER $column_new SET NOT NULL"); }
  • severity: normalLine 359: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            '#title' => $module . ' module',
install.php

install.php

  • severity: normalLine 344: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        $db_url = $db_type .'://'. urlencode($db_user) .($db_pass ? ':'. urlencode($db_pass) : '') .'@'. ($db_host ? urlencode($db_host) : 'localhost'). ($db_port ? ":$db_port" : '') .'/'. urlencode($db_path);
  • severity: normalLine 451: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $locales = file_scan_directory('./profiles/' . $profilename, '\.po$', array('.', '..', 'CVS'), 0, FALSE);
  • severity: normalLine 457: else statements should begin on a new line
      } else {
  • severity: normalLine 563: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= '<p>' . (drupal_set_message() ? st('Please review the messages above before continuing on to <a href="@url">your new site</a>.', array('@url' => url(''))) : st('You may now visit <a href="@url">your new site</a>.', array('@url' => url('')))) . '</p>';
core (includes)
includes/cache.inc

cache.inc

  • severity: normalLine 96: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      db_query("UPDATE {". $table. "} SET data = %b, created = %d, expire = %d, headers = '%s' WHERE cid = '%s'", $data, time(), $expire, $headers, $cid);
  • severity: normalLine 96: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      db_query("UPDATE {". $table. "} SET data = %b, created = %d, expire = %d, headers = '%s' WHERE cid = '%s'", $data, time(), $expire, $headers, $cid);
  • severity: normalLine 98: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        @db_query("INSERT INTO {". $table. "} (cid, data, created, expire, headers) VALUES ('%s', %b, %d, %d, '%s')", $cid, $data, time(), $expire, $headers);
  • severity: normalLine 98: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        @db_query("INSERT INTO {". $table. "} (cid, data, created, expire, headers) VALUES ('%s', %b, %d, %d, '%s')", $cid, $data, time(), $expire, $headers);
  • severity: normalLine 145: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            db_query("DELETE FROM {". $table. "} WHERE expire != %d AND expire < %d", CACHE_PERMANENT, time());
  • severity: normalLine 145: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            db_query("DELETE FROM {". $table. "} WHERE expire != %d AND expire < %d", CACHE_PERMANENT, time());
  • severity: normalLine 151: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          db_query("DELETE FROM {". $table. "} WHERE expire != %d AND expire < %d", CACHE_PERMANENT, time());
  • severity: normalLine 151: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
          db_query("DELETE FROM {". $table. "} WHERE expire != %d AND expire < %d", CACHE_PERMANENT, time());
  • severity: normalLine 157: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            db_query("DELETE FROM {". $table. "}");
  • severity: normalLine 157: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            db_query("DELETE FROM {". $table. "}");
  • severity: normalLine 160: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            db_query("DELETE FROM {". $table. "} WHERE cid LIKE '%s%%'", $cid);
  • severity: normalLine 160: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            db_query("DELETE FROM {". $table. "} WHERE cid LIKE '%s%%'", $cid);
  • severity: normalLine 164: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          db_query("DELETE FROM {". $table. "} WHERE cid = '%s'", $cid);
  • severity: normalLine 164: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
          db_query("DELETE FROM {". $table. "} WHERE cid = '%s'", $cid);
includes/menu.inc

menu.inc

  • severity: normalLine 513: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $output .= $temp . "\n";
includes/image.inc

image.inc

  • severity: normalLine 34: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
       $toolkit_file = './includes/image.'.$toolkit.'.inc';
includes/locale.inc

locale.inc

  • severity: normalLine 57: Use ANSI standard <> instead of !=
          $translation = db_fetch_object(db_query("SELECT COUNT(*) AS translation FROM {locales_target} WHERE locale = '%s' AND translation != ''", $key));
  • severity: normalLine 59: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
          $ratio = ($original->strings > 0 && $translation->translation > 0) ? round(($translation->translation/$original->strings)*100., 2) : 0;
  • severity: normalLine 392: use a space between the closing parenthesis and the open bracket
      if (!isset($orig)){
  • severity: normalLine 1216: string concatenation should be formatted without a space separating the operators (dot .) and a quote
              print 'msgstr[0] ""'. "\n";
  • severity: normalLine 1217: string concatenation should be formatted without a space separating the operators (dot .) and a quote
              print 'msgstr[1] ""'. "\n";
  • severity: normalLine 1225: string concatenation should be formatted without a space separating the operators (dot .) and a quote
              print 'msgstr ""'. "\n";
  • severity: normalLine 1280: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          $ret[] = $cur . " ";
includes/bootstrap.inc

bootstrap.inc

  • severity: normalLine 251: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $base_path = $parts['path'] . '/';
  • severity: normalLine 532: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
  • severity: normalLine 549: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      $etag = '"'.md5($last_modified).'"';
  • severity: criticalLine 679: the use of REQUEST_URI is prone to XSS exploits and does not work on IIS; use request_uri() instead
      if (isset($_SERVER['REQUEST_URI'])) {
  • severity: criticalLine 680: the use of REQUEST_URI is prone to XSS exploits and does not work on IIS; use request_uri() instead
        $uri = $_SERVER['REQUEST_URI'];
  • severity: normalLine 891: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            print 'Sorry, '. $_SERVER['REMOTE_ADDR']. ' has been banned.';
  • severity: normalLine 891: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            print 'Sorry, '. $_SERVER['REMOTE_ADDR']. ' has been banned.';
includes/database.inc

database.inc

  • severity: normalLine 67: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $sql = strtr($sql, array('{'. $key. '}' => $val. $key));
  • severity: normalLine 67: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            $sql = strtr($sql, array('{'. $key. '}' => $val. $key));
  • severity: normalLine 73: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $sql = strtr($sql, array('{'. $key. '}' => $val. $key));
  • severity: normalLine 73: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            $sql = strtr($sql, array('{'. $key. '}' => $val. $key));
includes/xmlrpcs.inc

xmlrpcs.inc

  • severity: normalLine 112: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      header('Date: '.date('r'));
includes/file.inc

file.inc

  • severity: normalLine 31: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      if (strpos($path, file_directory_path() . '/') === 0) {
  • severity: normalLine 66: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      else if (file_check_location($file_path . '/' . $dest, $file_path)) {
  • severity: normalLine 67: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        return $file_path . '/' . $dest;
  • severity: normalLine 218: missing space after comma
            drupal_set_message(t('The file %file could not be saved. An unknown error has occurred.', array('%file' => $source)),'error');
  • severity: normalLine 704: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $temporary_directory = $temporary_directory ? $temporary_directory : file_directory_path() . $path_delimiter . 'tmp';
includes/database.pgsql.inc

database.pgsql.inc

  • severity: normalLine 68: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $conn_string .= ' user=' . urldecode($url['user']);
  • severity: normalLine 71: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $conn_string .= ' password=' . urldecode($url['pass']);
  • severity: normalLine 74: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $conn_string .= ' host=' . urldecode($url['host']);
  • severity: normalLine 77: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $conn_string .= ' dbname=' . substr(urldecode($url['path']), 1);
  • severity: normalLine 80: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $conn_string .= ' port=' . urldecode($url['port']);
  • severity: normalLine 129: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $query = $bt[2]['function'] . "\n" . $query;
  • severity: normalLine 394: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return db_num_rows(db_query("SELECT relname FROM pg_class WHERE relname = '{" . db_escape_table($table) . "}'"));
  • severity: criticalLine 394: table names should be enclosed in {curly_brackets}
      return db_num_rows(db_query("SELECT relname FROM pg_class WHERE relname = '{" . db_escape_table($table) . "}'"));
  • severity: normalLine 422: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        && !preg_match('/DISTINCT\s+ON\s*\(\s*(' . $table . '\s*\.\s*)?' . $field . '\s*\)/si', $query)
  • severity: normalLine 423: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        && !preg_match('/DISTINCT[ (]' . $field . '/si', $query)
  • severity: normalLine 426: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          $query .= preg_replace('/([\{\w+\}]+)\s+(' . $table . ')\s/Usi', '(SELECT DISTINCT ON (' . $field . ') * FROM \1) \2 ', $m[2]);
includes/install.inc

install.inc

  • severity: criticalLine 131: the use of REQUEST_URI is prone to XSS exploits and does not work on IIS; use request_uri() instead
      $uri = preg_replace("/\?.*/", '', $_SERVER['REQUEST_URI']);
  • severity: normalLine 310: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      require_once './' . $system_path . '/system.install';
  • severity: normalLine 314: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      db_query("INSERT INTO {system} (filename, name, type, description, status, throttle, bootstrap, schema_version) VALUES('%s', '%s', 'module', '', 1, 0, 0, %d)", $system_path . '/system.module', 'system', $system_version);
  • severity: normalLine 573: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      header('Location: '. $base_url . '/' . $path);
  • severity: normalLine 588: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $filename = './profiles/' . $profile . '/' . $install_locale . '.po';
includes/xmlrpc.inc

xmlrpc.inc

  • severity: normalLine 117: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
            $return .= xmlrpc_value_get_xml($value)."</value></member>\n";
  • severity: normalLine 210: Control statements should have one space between the control keyword and opening parenthesis
      switch($tag) {
  • severity: normalLine 238: Control statements should have one space between the control keyword and opening parenthesis
      switch($tag) {
  • severity: normalLine 434: missing space after comma
          $multicall_args[] = array('methodName' => array_shift($call),'params' => $call);
includes/install.mysql.inc

install.mysql.inc

  • severity: criticalLine 68: table names should be enclosed in {curly_brackets}
      $query = 'INSERT INTO drupal_install_test (id) VALUES (1)';
  • severity: criticalLine 79: table names should be enclosed in {curly_brackets}
      $query = 'UPDATE drupal_install_test SET id = 2';
  • severity: criticalLine 112: table names should be enclosed in {curly_brackets}
      $query = 'DELETE FROM drupal_install_test';
  • severity: normalLine 123: the final ?> should be omitted from all code files
includes/common.inc

common.inc

  • severity: normalLine 1192: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $base = ($absolute ? $base_url . '/' : base_path());
includes/install.pgsql.inc

install.pgsql.inc

  • severity: normalLine 37: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $conn_string = ' user='. $url['user'] .' dbname='. substr($url['path'], 1) .' password='. $url['pass'] . ' host=' . $url['host'];
  • severity: normalLine 38: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $conn_string .= isset($url['port']) ? ' port=' . $url['port'] : '';
  • severity: criticalLine 61: table names should be enclosed in {curly_brackets}
      $query = 'INSERT INTO drupal_install_test (id) VALUES (1)';
  • severity: criticalLine 72: table names should be enclosed in {curly_brackets}
      $query = 'UPDATE drupal_install_test SET id = 2';
  • severity: criticalLine 105: table names should be enclosed in {curly_brackets}
      $query = 'DELETE FROM drupal_install_test';
  • severity: normalLine 117: the final ?> should be omitted from all code files
includes/unicode.inc

unicode.inc

  • severity: normalLine 218: The control statement should be on a separate line from the control conditional
        while (($string[--$len] != ' ') && ($len > 0)) {};
  • severity: normalLine 226: The control statement should be on a separate line from the control conditional
      while (--$len >= 0 && ord($string[$len]) >= 0x80 && ord($string[$len]) < 0xC0) {};
includes/database.mysqli.inc

database.mysqli.inc

  • severity: normalLine 70: Control statements should have one space between the control keyword and opening parenthesis
      if(isset($url['pass'])) {
  • severity: normalLine 139: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $query = $bt[2]['function'] . "\n" . $query;
  • severity: normalLine 363: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return "'" . mysqli_real_escape_string($active_db, $data) . "'";
  • severity: normalLine 404: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return db_num_rows(db_query("SHOW TABLES LIKE '{" . db_escape_table($table) . "}'"));
includes/theme.inc

theme.inc

  • severity: normalLine 75: string concatenation should be formatted without a space separating the operators (dot .) and a quote
       include_once './' . $themes[$theme]->filename;
  • severity: normalLine 79: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        include_once './' . $themes[$theme]->description;
  • severity: normalLine 200: use a space between the closing parenthesis and the open bracket
      elseif (function_exists('theme_'. $function)){
  • severity: normalLine 273: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          $defaults['toggle_node_info_' . $type] = 1;
  • severity: normalLine 339: string concatenation should be formatted without a space separating the operators (dot .) and a quote
              $settings['favicon'] = base_path() . 'misc/favicon.ico';
  • severity: normalLine 408: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $output .= '<h1>' . drupal_get_title() . '</h1>';
  • severity: normalLine 445: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $output .= '<h1>' . drupal_get_title() . '</h1>';
  • severity: normalLine 475: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $output .= '<h1>' . drupal_get_title() . '</h1>';
  • severity: normalLine 480: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= '<h3>' .$title. ':</h3>';
  • severity: normalLine 480: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        $output .= '<h3>' .$title. ':</h3>';
  • severity: normalLine 486: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= '<h4>' .$title. ':</h4>';
  • severity: normalLine 486: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        $output .= '<h4>' .$title. ':</h4>';
  • severity: normalLine 552: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $link['attributes']['class'] .= ' ' . $key;
  • severity: normalLine 845: use a space between the closing parenthesis and the open bracket
      if ($style == "asc"){
  • severity: normalLine 940: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= "<$type" . drupal_attributes($attributes) . '>';
  • severity: normalLine 963: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          $output .= '<li' . drupal_attributes($attributes) . '>'. $data .'</li>';
  • severity: normalLine 975: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return '<div class="more-help-link">' . t('[<a href="@link">more help...</a>]', array('@link' => check_url($url))) . '</div>';
  • severity: normalLine 983: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        return '<a href="'. check_url($url) .'" class="xml-icon">'. $image. '</a>';
  • severity: normalLine 983: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        return '<a href="'. check_url($url) .'" class="xml-icon">'. $image. '</a>';
  • severity: normalLine 992: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        return '<a href="'. check_url($url) .'" class="feed-icon">'. $image. '</a>';
  • severity: normalLine 992: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        return '<a href="'. check_url($url) .'" class="feed-icon">'. $image. '</a>';
includes/database.mysql.inc

database.mysql.inc

  • severity: normalLine 75: Control statements should have one space between the control keyword and opening parenthesis
      if(isset($url['pass'])) {
  • severity: normalLine 157: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $query = $bt[2]['function'] . "\n" . $query;
  • severity: normalLine 380: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return "'" . mysql_real_escape_string($data, $active_db) . "'";
  • severity: normalLine 421: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return db_num_rows(db_query("SHOW TABLES LIKE '{" . db_escape_table($table) . "}'"));
includes/install.mysqli.inc

install.mysqli.inc

  • severity: criticalLine 63: table names should be enclosed in {curly_brackets}
      $query = 'INSERT INTO drupal_install_test (id) VALUES (1)';
  • severity: criticalLine 74: table names should be enclosed in {curly_brackets}
      $query = 'UPDATE drupal_install_test SET id = 2';
  • severity: criticalLine 107: table names should be enclosed in {curly_brackets}
      $query = 'DELETE FROM drupal_install_test';
  • severity: normalLine 119: the final ?> should be omitted from all code files
includes/form.inc

form.inc

  • severity: normalLine 734: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $function = $form['#type'] . '_value';
  • severity: normalLine 934: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $size = $element['#size'] ? ' size="' . $element['#size'] . '"' : '';
  • severity: normalLine 1045: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return '<fieldset' . drupal_attributes($element['#attributes']) .'>' . ($element['#title'] ? '<legend>'. $element['#title'] .'</legend>' : '') . ($element['#description'] ? '<div class="description">'. $element['#description'] .'</div>' : '') . $element['#children'] . $element['#value'] . "</fieldset>\n";
  • severity: normalLine 1060: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $output .= 'name="' . $element['#name'] .'" ';
  • severity: normalLine 1301: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      $checkbox .= 'id="'. $element['#id'].'" ' ;
  • severity: normalLine 1304: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $checkbox .= drupal_attributes($element['#attributes']) . ' />';
  • severity: normalLine 1366: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      return '<input type="submit" '. (empty($element['#name']) ? '' : 'name="'. $element['#name'] .'" ')  .'id="'. $element['#id'].'" value="'. check_plain($element['#value']) .'" '. drupal_attributes($element['#attributes']) ." />\n";
  • severity: normalLine 1379: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return '<input type="hidden" name="'. $element['#name'] . '" id="'. $element['#id'] . '" value="'. check_plain($element['#value']) ."\" " . drupal_attributes($element['#attributes']) ." />\n";
  • severity: normalLine 1396: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $size = $element['#size'] ? ' size="' . $element['#size'] . '"' : '';
  • severity: normalLine 1418: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      return theme('form_element', $element, $output). $extra;
  • severity: normalLine 1432: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $action = $element['#action'] ? 'action="' . check_url($element['#action']) . '" ' : '';
  • severity: normalLine 1433: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return '<form '. $action .' accept-charset="UTF-8" method="'. $element['#method'] .'" '. 'id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
  • severity: normalLine 1578: use a space between the closing parenthesis and the open bracket
      if (form_get_error($element)){
modules/aggregator/aggregator.module

aggregator.module

  • severity: normalLine 1051: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      drupal_add_feed(url('aggregator/rss'), variable_get('site_name', 'Drupal') . ' ' . t('aggregator'));
  • severity: normalLine 1072: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      drupal_add_feed(url('aggregator/rss/'. arg(2)), variable_get('site_name', 'Drupal') . ' ' . t('aggregator - @title', array('@title' => $category->title)));
  • severity: normalLine 1211: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $url = '/categories/' . $category->cid;
  • severity: normalLine 1212: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $title = ' ' . t('in category') . ' ' . $category->title;
  • severity: normalLine 1235: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $items .= format_rss_item($item->ftitle . ': ' . $item->title, $item->link, $item->description, array('pubDate' => date('r', $item->timestamp)));
  • severity: normalLine 1240: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $output .= format_rss_channel(variable_get('site_name', 'Drupal') . ' ' . t('aggregator'), url('aggregator' . $url, NULL, NULL, TRUE), variable_get('site_name', 'Drupal') . ' - ' . t('aggregated feeds') . $title, $items, 'en');
  • severity: normalLine 1331: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $output .= '<div class="feed-updated"><em>'. t('Updated:') . "</em> $updated</div>";
  • severity: normalLine 1383: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $source = l($item->ftitle, "aggregator/sources/$item->fid", array('class' => 'feed-item-source')) . ' -';
modules/block/block.module

block.module

  • severity: normalLine 598: Use ANSI standard <> instead of !=
            $result = db_query("SELECT DISTINCT b.* FROM {blocks} b LEFT JOIN {blocks_roles} r ON b.module = r.module AND b.delta = r.delta WHERE b.status = 1 AND b.custom != 0 AND (r.rid IN ($placeholders) OR r.rid IS NULL) ORDER BY b.weight, b.module", $rids);
  • severity: criticalclick to read moreLine 598: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
            $result = db_query("SELECT DISTINCT b.* FROM {blocks} b LEFT JOIN {blocks_roles} r ON b.module = r.module AND b.delta = r.delta WHERE b.status = 1 AND b.custom != 0 AND (r.rid IN ($placeholders) OR r.rid IS NULL) ORDER BY b.weight, b.module", $rids);
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: criticalclick to read moreLine 647: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        $result = db_query("SELECT DISTINCT b.* FROM {blocks} b LEFT JOIN {blocks_roles} r ON b.module = r.module AND b.delta = r.delta WHERE b.theme = '%s' AND b.status = 1 AND (r.rid IN ($placeholders) OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module", array_merge(array($theme_key), $rids));
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
modules/blogapi/blogapi.module

blogapi.module

  • severity: normalLine 606: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $xmlrpc = $base_url .'/'. 'xmlrpc.php';
  • severity: normalLine 655: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        $node->body = $struct['mt_excerpt'] .'<!--break-->'.$node->body;
  • severity: normalLine 682: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        'link' => url('node/'.$node->nid, NULL, NULL, TRUE),
  • severity: normalLine 683: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        'permaLink' => url('node/'.$node->nid, NULL, NULL, TRUE),
modules/book/book.module

book.module

  • severity: normalLine 130: Use ANSI standard <> instead of !=
          $result = db_query(db_rewrite_sql("SELECT n.nid FROM {node} n WHERE n.nid = %d AND n.type != 'book'"), arg(1));
  • severity: normalLine 707: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $html .= '<base href="'. $base_url .'/" />' . "\n";
  • severity: normalLine 865: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
          l(t('delete'), 'node/'. $nid .'/delete', NULL, 'destination=admin/content/book'. (arg(3) == 'orphan' ? '/orphan' : '') . ($pid != $nid ? '/'.$pid : ''))
modules/contact/contact.module

contact.module

  • severity: normalLine 30: Control statements should have one space between the control keyword and opening parenthesis
          return($output);
  • severity: normalLine 230: Arrays should be formatted with a space separating each element and assignment operator
      foreach ($recipients as $key=>$recipient) {
  • severity: normalLine 550: Control statements should have one space between the control keyword and opening parenthesis
      return('');
modules/drupal/drupal.module

drupal.module

  • severity: normalLine 232: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= '  <dt><a href="' . check_url($client->link) . '">' . check_plain($client->name) . '</a> - ' . check_plain($client->slogan) . "</dt>\n";
  • severity: normalLine 233: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= '  <dd>' . strip_tags($client->mission) . "</dd>\n";
modules/filter/filter.module

filter.module

  • severity: normalLine 176: string concatenation should be formatted without a space separating the operators (dot .) and a quote
                    'strong' => array( t('Strong'), '<strong>'. t('Strong'). '</strong>'),
  • severity: normalLine 176: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
                    'strong' => array( t('Strong'), '<strong>'. t('Strong'). '</strong>'),
  • severity: normalLine 318: missing space after comma
        $form[$format->name]['roles'] = array('#value' => $default ? t('All roles may use default format') : ($roles ? implode(', ',$roles) : t('No roles may use this format')));
  • severity: normalLine 648: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          $query .= ' WHERE '. implode(' OR ', $where) . ' OR format = %d';
  • severity: normalLine 945: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $tips .= '<li'. ($long ? ' id="filter-'. str_replace("/", "-", $tip['id']) .'">' : '>') . $tip['tip'] . '</li>';
  • severity: normalLine 1149: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return $match[1] . '<a href="'. $match[2] .'" title="'. $match[2] .'">'. $caption .'</a>'. $match[5];
  • severity: normalLine 1159: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      return $match[1] . '<a href="http://'. $match[2] .'" title="'. $match[2] .'">'. $caption .'</a>'. $match[3];
modules/forum/forum.module

forum.module

  • severity: normalLine 188: Arrays should be formatted with a space separating each element and assignment operator
      $forder = array(1 => t('Date - newest first'), 2 => t('Date - oldest first'), 3 => t('Posts - most active first'), 4=> t('Posts - least active first'));
  • severity: normalLine 339: missing space after comma
        $old_tid = db_result(db_query_range("SELECT tid FROM {forum} WHERE nid = %d ORDER BY vid DESC", $node->nid, 0,1));
  • severity: normalLine 598: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $rows[] = array(array('data' => '<em>' . t('There are no existing containers or forums. You may add some on the <a href="@container">add container</a> or <a href="@forum">add forum</a> pages.', array('@container' => url('admin/content/forum/add/container'), '@forum' => url('admin/content/forum/add/forum'))) . '</em>', 'colspan' => 2));
modules/help/help.module

help.module

  • severity: normalLine 24: string concatenation should be formatted without a space separating the operators (dot .) and a quote
          $items[] = array('path' => 'admin/help/' . $module,
  • severity: normalLine 118: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        $module = _module_parse_info_file(drupal_get_path('module', $name).'/'. $name .'.info');
modules/menu/menu.module

menu.module

  • severity: normalLine 26: Arrays should be formatted with a space separating each element and assignment operator
          return '<p>'. t('Menus are a collection of links (menu items) used to navigate a website. The list(s) below display the currently available menus along with their menu items. Select an operation from the list to manage each menu or menu item.', array('@admin-settings-menus' => url('admin/build/menu/settings'), '@admin-block'=> url('admin/build/block'))) .'</p>';
modules/node/node.module

node.module

  • severity: normalLine 972: string concatenation should be formatted without a space separating the operators (dot .) and a quote
            $select2 = implode(' + ', $ranking) . ' AS score';
  • severity: criticalclick to read moreLine 2791: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        $sql = "SELECT COUNT(*) FROM {node_access} WHERE (nid = 0 OR nid = %d) $grants_sql AND grant_$op >= 1";
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: criticalclick to read moreLine 2903: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        $sql = "SELECT COUNT(*) FROM {node_access} WHERE nid = 0 $grants_sql AND grant_view >= 1";
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
modules/node/content_types.inc

content_types.inc

  • severity: normalLine 115: Arrays should be formatted with a space separating each element and assignment operator
        '#title' =>t('Submission form'),
  • severity: normalLine 153: Arrays should be formatted with a space separating each element and assignment operator
        '#title' =>t('Workflow'),
modules/path/path.module

path.module

  • severity: normalLine 218: Use ANSI standard <> instead of !=
            if (db_result(db_query("SELECT COUNT(dst) FROM {url_alias} WHERE dst = '%s' AND src != '%s'", $node->path, "node/$node->nid"))) {
  • severity: criticalclick to read moreLine 218: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
            if (db_result(db_query("SELECT COUNT(dst) FROM {url_alias} WHERE dst = '%s' AND src != '%s'", $node->path, "node/$node->nid"))) {
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: normalLine 336: Use ANSI standard <> instead of !=
      if (db_result(db_query("SELECT COUNT(dst) FROM {url_alias} WHERE pid != %d AND dst = '%s'", $pid, $dst))) {
modules/poll/poll.module

poll.module

  • severity: normalLine 67: Use ANSI standard <> instead of !=
      $result = db_query('SELECT p.nid FROM {poll} p INNER JOIN {node} n ON p.nid = n.nid WHERE (n.created + p.runtime) < '. time() .' AND p.active = 1 AND p.runtime != 0');
modules/profile/profile.module

profile.module

  • severity: normalLine 452: Use ANSI standard <> instead of !=
        $result = db_query('SELECT name, title, type, weight, page FROM {profile_fields} WHERE fid != %d AND visibility = %d ORDER BY weight', $field->fid, PROFILE_PUBLIC_LISTINGS);
  • severity: normalLine 478: Use ANSI standard <> instead of !=
        $result = pager_query("SELECT u.uid, u.access FROM {users} u INNER JOIN {profile_values} v ON u.uid = v.uid WHERE v.fid = %d AND $query AND u.access != 0 AND u.status != 0 ORDER BY u.access DESC", 20, 0, NULL, $arguments);
  • severity: criticalclick to read moreLine 478: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        $result = pager_query("SELECT u.uid, u.access FROM {users} u INNER JOIN {profile_values} v ON u.uid = v.uid WHERE v.fid = %d AND $query AND u.access != 0 AND u.status != 0 ORDER BY u.access DESC", 20, 0, NULL, $arguments);
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: normalLine 511: Use ANSI standard <> instead of !=
        $result = pager_query('SELECT uid, access FROM {users} WHERE uid > 0 AND status != 0 AND access != 0 ORDER BY access DESC', 20, 0, NULL);
  • severity: normalLine 600: Use ANSI standard <> instead of !=
        $result = db_query('SELECT * FROM {profile_fields} WHERE visibility != %d ORDER BY category, weight', PROFILE_HIDDEN);
  • severity: normalLine 603: Use ANSI standard <> instead of !=
        $result = db_query('SELECT * FROM {profile_fields} WHERE visibility != %d AND visibility != %d ORDER BY category, weight', PROFILE_PRIVATE, PROFILE_HIDDEN);
modules/search/search.module

search.module

  • severity: criticalclick to read moreLine 852: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
      $result = db_query_temporary("SELECT i.type, i.sid, SUM(i.score * t.count) AS relevance, COUNT(*) AS matches FROM {search_index} i INNER JOIN {search_total} t ON i.word = t.word $join1 WHERE $conditions GROUP BY i.type, i.sid HAVING COUNT(*) >= %d", $arguments, 'temp_search_sids');
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: criticalLine 855: table names should be enclosed in {curly_brackets}
      $normalize = db_result(db_query('SELECT MAX(relevance) FROM temp_search_sids'));
  • severity: criticalLine 864: table names should be enclosed in {curly_brackets}
      $result = db_query_temporary("SELECT i.type, i.sid, $select2 FROM temp_search_sids i INNER JOIN {search_dataset} d ON i.sid = d.sid AND i.type = d.type $join2 WHERE $conditions $sort_parameters", $arguments, 'temp_search_results');
  • severity: criticalLine 865: table names should be enclosed in {curly_brackets}
      if (($count = db_result(db_query('SELECT COUNT(*) FROM temp_search_results'))) == 0) {
  • severity: criticalLine 871: table names should be enclosed in {curly_brackets}
      $result = pager_query("SELECT * FROM temp_search_results", 10, 0, $count_query);
  • severity: normalLine 1197: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      $text = (isset($newranges[0]) ? '' : '... '). implode(' ... ', $out) .' ...';
modules/statistics/statistics.module

statistics.module

  • severity: normalLine 210: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $result = pager_query('SELECT a.aid, a.timestamp, a.url, a.uid, u.name FROM {accesslog} a LEFT JOIN {users} u ON a.uid = u.uid WHERE a.path LIKE \'node/%d%%\'' . tablesort_sql($header), 30, 0, NULL, $node->nid);
  • severity: normalLine 237: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $result = pager_query('SELECT aid, timestamp, path, title FROM {accesslog} WHERE uid = %d' . tablesort_sql($header), 30, 0, NULL, $account->uid);
  • severity: normalLine 266: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $sql = 'SELECT a.aid, a.path, a.title, a.uid, u.name, a.timestamp FROM {accesslog} a LEFT JOIN {users} u ON u.uid = a.uid' . tablesort_sql($header);
modules/system/system.module

system.module

  • severity: normalLine 335: Arrays should be formatted with a space separating each element and assignment operator
            '#type'=>'fieldset',
modules/system/system.install

system.install

  • severity: criticalLine 618: table names should be enclosed in {curly_brackets}
          if (!db_result(db_query("SELECT COUNT(*) FROM pg_proc WHERE proname = 'rand'"))) {
  • severity: criticalLine 625: table names should be enclosed in {curly_brackets}
          if (!db_result(db_query("SELECT COUNT(*) FROM pg_proc WHERE proname = 'concat'"))) {
  • severity: normalLine 904: missing space after comma
          db_query("SELECT setval('{role}_rid_seq',". max(DRUPAL_ANONYMOUS_RID,DRUPAL_AUTHENTICATED_RID) .")");
  • severity: criticalclick to read moreLine 1855: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        $ret[] = update_sql("INSERT INTO {sequences} (name, id) VALUES ('{node_revisions}_vid', $vid)");
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: normalLine 1903: Use ANSI standard <> instead of !=
      $result = db_query("SELECT nid, log FROM {book} WHERE log != ''");
  • severity: normalLine 2096: string concatenation should be formatted without a space separating the operators (dot .) and a quote
                                 "', '" . db_escape_string($links['description'][$i]) . "', 0, 118)");
  • severity: criticalclick to read moreLine 2101: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
          db_query("DELETE FROM {menu} WHERE mid={$menus[$loop]['pid']}");
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: normalLine 2113: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        variable_del('phptemplate_' .$menus[$loop]['links_var']);
  • severity: normalLine 2113: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        variable_del('phptemplate_' .$menus[$loop]['links_var']);
  • severity: normalLine 2148: use a space between the closing parenthesis and the open bracket
    function system_update_153(){
  • severity: criticalclick to read moreLine 2329: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
                $ret[] = update_sql("UPDATE {sequences} SET id = $vid WHERE name = '{node_revisions}_vid'");
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: normalLine 2614: string concatenation should be formatted without a space separating the operators (dot .) and a quote
      $ret[] = update_sql('DELETE FROM {users_roles} WHERE rid IN ('. DRUPAL_ANONYMOUS_RID. ', '. DRUPAL_AUTHENTICATED_RID. ')');
  • severity: normalLine 2614: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      $ret[] = update_sql('DELETE FROM {users_roles} WHERE rid IN ('. DRUPAL_ANONYMOUS_RID. ', '. DRUPAL_AUTHENTICATED_RID. ')');
  • severity: normalLine 2808: string concatenation should be formatted without a space separating the operators (dot .) and a quote
              $text = preg_replace('|'. $type .'\s*=\s*"'. preg_quote($url) .'\s*"|', $type. '="'.base_path(). $url  .'"', $text);
  • severity: normalLine 2808: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
              $text = preg_replace('|'. $type .'\s*=\s*"'. preg_quote($url) .'\s*"|', $type. '="'.base_path(). $url  .'"', $text);
modules/taxonomy/taxonomy.module

taxonomy.module

  • severity: normalLine 643: The control statement should be on a separate line from the control conditional
        if ($vocabulary->tags && !$free_tags) { continue; }
  • severity: normalLine 712: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
                  $term->name = '"'.str_replace('"', '""', $term->name).'"';
  • severity: normalLine 837: The control statement should be on a separate line from the control conditional
            if ($typed_term == "") { continue; }
modules/upload/upload.module

upload.module

  • severity: normalLine 90: string concatenation should be formatted without a space separating the operators (dot .) and a quote
              $filename = 'system/files/' . $filename;
  • severity: normalLine 120: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      $exceed_max_msg = t('Your PHP settings limit the maximum file size per upload to %size.', array('%size' => format_size(file_upload_max_size()))).'<br/>';
  • severity: normalLine 213: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      $form['settings_general']['upload_max_size'] = array('#value' => '<p>'. t('Your PHP settings limit the maximum file size per upload to %size.', array('%size' => format_size(file_upload_max_size()))).'</p>');
  • severity: normalLine 292: Control statements should have one space between the control keyword and opening parenthesis
      if(count($_POST) == 0) {
  • severity: normalLine 320: missing space after comma
        $file->list = variable_get('upload_list_default',1);
  • severity: normalLine 787: missing space after comma
            $form['files'][$key]['list']['#value'] = variable_get('upload_list_default',1);
modules/user/user.module

user.module

  • severity: criticalclick to read moreLine 144: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        db_query("UPDATE {users} SET $query WHERE uid = %d", array_merge($v, array($account->uid)));
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: criticalclick to read moreLine 380: In SQL strings, Use db_query() placeholders in place of variables. This is a protential source of SQL injection attacks when the variable can come from user data. (Drupal Docs)
        $result = db_query("SELECT DISTINCT(p.perm) FROM {role} r INNER JOIN {permission} p ON p.rid = r.rid WHERE r.rid IN ($placeholders)", $rids);
    Explanation: Use %s and %d variable substitution. When inserting an array of values use $placeholders = implode(',', array_fill(0, count($args), "'%s'"));
  • severity: normalLine 583: Use ANSI standard <> instead of !=
              $result = db_query_range('SELECT uid, name FROM {users} WHERE status != 0 AND access != 0 ORDER BY created DESC', 0, variable_get('user_block_whois_new_count', 5));
  • severity: normalLine 1162: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
      return url("user/reset/$account->uid/$timestamp/".user_pass_rehash($account->pass, $timestamp, $account->login), NULL, NULL, TRUE);
  • severity: normalLine 1384: Use ANSI standard <> instead of !=
        else if (db_num_rows(db_query("SELECT uid FROM {users} WHERE uid != %d AND LOWER(name) = LOWER('%s')", $uid, $edit['name'])) > 0) {
  • severity: normalLine 1396: Use ANSI standard <> instead of !=
      else if (db_num_rows(db_query("SELECT uid FROM {users} WHERE uid != %d AND LOWER(mail) = LOWER('%s')", $uid, $edit['mail'])) > 0) {
  • severity: normalLine 1964: Use ANSI standard <> instead of !=
          if (db_result(db_query("SELECT COUNT(*) FROM {role} WHERE name = '%s' AND rid != %d", $form_values['name'], $form_values['rid']))) {
  • severity: normalLine 2031: Use ANSI standard <> instead of !=
      $sql = 'SELECT DISTINCT u.uid, u.name, u.status, u.created, u.access FROM {users} u LEFT JOIN {users_roles} ur ON u.uid = ur.uid '. $filter['join'] .' WHERE u.uid != 0 '. $filter['where'];
  • severity: normalLine 2033: Use ANSI standard <> instead of !=
      $query_count = 'SELECT COUNT(DISTINCT u.uid) FROM {users} u LEFT JOIN {users_roles} ur ON u.uid = ur.uid '. $filter['join'] .' WHERE u.uid != 0 '. $filter['where'];
themes/bluemarine/page.tpl.php

page.tpl.php

  • severity: normalInclude the CVS keyword $Id$ in each file
  • severity: normalLine 17: The control statement should be on a separate line from the control conditional
          <?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
  • severity: normalLine 18: The control statement should be on a separate line from the control conditional
          <?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
  • severity: normalLine 19: The control statement should be on a separate line from the control conditional
          <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
  • severity: normalLine 22: Arrays should be formatted with a space separating each element and assignment operator
          <?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?>
  • severity: normalLine 22: The control statement should be on a separate line from the control conditional
          <?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?>
  • severity: normalLine 23: Arrays should be formatted with a space separating each element and assignment operator
          <?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?>
  • severity: normalLine 23: The control statement should be on a separate line from the control conditional
          <?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?>
  • severity: normalLine 38: The control statement should be on a separate line from the control conditional
          <?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
themes/bluemarine/node.tpl.php

node.tpl.php

  • severity: normalLine 1: The control statement should be on a separate line from the control conditional
      <div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
  • severity: normalLine 5: The control statement should be on a separate line from the control conditional
        <?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
  • severity: normalLine 9: The control statement should be on a separate line from the control conditional
        <?php if ($links) { ?><div class="links">&raquo; <?php print $links?></div><?php }; ?>
themes/bluemarine/comment.tpl.php

comment.tpl.php

  • severity: normalLine 5: The control statement should be on a separate line from the control conditional
    <h3 class="title"><?php print $title; ?></h3><?php if ($new != '') { ?><span class="new"><?php print $new; ?></span><?php } ?>
themes/bluemarine/page.tpl.php

page.tpl.php

  • severity: normalInclude the CVS keyword $Id$ in each file
  • severity: normalLine 17: The control statement should be on a separate line from the control conditional
          <?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
  • severity: normalLine 18: The control statement should be on a separate line from the control conditional
          <?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
  • severity: normalLine 19: The control statement should be on a separate line from the control conditional
          <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
  • severity: normalLine 22: Arrays should be formatted with a space separating each element and assignment operator
          <?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?>
  • severity: normalLine 22: The control statement should be on a separate line from the control conditional
          <?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?>
  • severity: normalLine 23: Arrays should be formatted with a space separating each element and assignment operator
          <?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?>
  • severity: normalLine 23: The control statement should be on a separate line from the control conditional
          <?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?>
  • severity: normalLine 38: The control statement should be on a separate line from the control conditional
          <?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
themes/bluemarine/box.tpl.php

box.tpl.php

  • severity: normalLine 2: The control statement should be on a separate line from the control conditional
        <?php if ($title) { ?><h2 class="title"><?php print $title; ?></h2><?php } ?>
themes/chameleon/chameleon.theme

chameleon.theme

  • severity: normalLine 54: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        $output .= "  <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>";
  • severity: normalLine 54: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
        $output .= "  <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>";
themes/garland/page.tpl.php

page.tpl.php

  • severity: normalInclude the CVS keyword $Id$ in each file
themes/garland/node.tpl.php

node.tpl.php

  • severity: normalLine 3: The control statement should be on a separate line from the control conditional
    <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
themes/garland/comment.tpl.php

comment.tpl.php

  • severity: normalLine 1: Functions should be called with no spaces between the function name
    <div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ($comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; print ' '. $zebra; ?>">
  • severity: normalLine 19: the final ?> should be omitted from all code files
themes/garland/page.tpl.php

page.tpl.php

  • severity: normalInclude the CVS keyword $Id$ in each file
themes/garland/template.php

template.php

  • severity: normalLine 48: string concatenation should be formatted without a space separating the operators (dot .) and a quote
        return '<div id="comments">'. $content . '</div>';
themes/pushbutton/page.tpl.php

page.tpl.php

  • severity: normalLine 105: missing space after comma
          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links',)) ?>
themes/pushbutton/node.tpl.php

node.tpl.php

  • severity: normalLine 1: The control statement should be on a separate line from the control conditional
    <div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
themes/pushbutton/page.tpl.php

page.tpl.php

  • severity: normalLine 105: missing space after comma
          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links',)) ?>