Changed to Joomla code style