Some fixes from the platform
Use JDatabase instead of MySQL queries
Correct query format
Correct query format
Remove unnecessary empty()
Fix getTemplate() issue which caused an undefined variable to be called.
changes for loadmodule styles
changing to default module style #1
removing commented code lines #1
Conditional to show header
Field mapping for core_urls field is wrong for weblinks.
Restore weblinks image code to layout.
Simplify magic getters in third party API classes
removed tests for X-Content-Encoded-By hreader in JApplicationWebTest
Adjusted comments
PHPCS Fixes for admin mod_menu
PHPCS issues in mod_popular
Fix IDN things that broke tests (Fix #1336)
Remove access tag
Merge pull request #1337 from wilsonge/phpcsmodule

PHPCS Fixes for admin mod_menu