Fixed coding style issues in templates/main.php