Fixed errors and warnings of phpbb validator