From 4c33c35bfe30a13ec311c2680355654d22f23914 Mon Sep 17 00:00:00 2001 From: Richard Fath Date: Sat, 4 Apr 2020 23:06:19 +0200 Subject: [PATCH] Final code style fix --- .../components/com_patchtester/script.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/administrator/components/com_patchtester/script.php b/administrator/components/com_patchtester/script.php index 4f59720..c9fb851 100644 --- a/administrator/components/com_patchtester/script.php +++ b/administrator/components/com_patchtester/script.php @@ -53,22 +53,22 @@ class Com_PatchtesterInstallerScript extends InstallerScript { if ($type == 'install') { - $language = JFactory::getLanguage(); - $language->load('com_patchtester', JPATH_ADMINISTRATOR, null, true); - $language->load('com_patchtester', JPATH_SITE, null, true); - echo '

' . Text::_('COM_PATCHTESTER') . '

'; - echo '

' . Text::_('COM_PATCHTESTER_XML_DESCRIPTION') . '

'; - echo '

' . Text::_('COM_PATCHTESTER_GOTO') . ' ' . Text::_('COM_PATCHTESTER') . '

'; - echo '

' . Text::_('COM_PATCHTESTER_GOTO') . ' ' . Text::_('COM_PATCHTESTER_OPTIONS') . '

'; + $language = JFactory::getLanguage(); + $language->load('com_patchtester', JPATH_ADMINISTRATOR, null, true); + $language->load('com_patchtester', JPATH_SITE, null, true); + echo '

' . Text::_('COM_PATCHTESTER') . '

'; + echo '

' . Text::_('COM_PATCHTESTER_XML_DESCRIPTION') . '

'; + echo '

' . Text::_('COM_PATCHTESTER_GOTO') . ' ' . Text::_('COM_PATCHTESTER') . '

'; + echo '

' . Text::_('COM_PATCHTESTER_GOTO') . ' ' . Text::_('COM_PATCHTESTER_OPTIONS') . '

'; } if ($type == 'uninstall') { - $language = JFactory::getLanguage(); - $language->load('com_patchtester', JPATH_ADMINISTRATOR, null, true); - $language->load('com_patchtester', JPATH_SITE, null, true); - echo '

' . Text::_('COM_PATCHTESTER') . '

'; - echo '

' . Text::_('COM_PATCHTESTER_UNINSTALL_THANK_YOU') . '

'; + $language = JFactory::getLanguage(); + $language->load('com_patchtester', JPATH_ADMINISTRATOR, null, true); + $language->load('com_patchtester', JPATH_SITE, null, true); + echo '

' . Text::_('COM_PATCHTESTER') . '

'; + echo '

' . Text::_('COM_PATCHTESTER_UNINSTALL_THANK_YOU') . '

'; } } -} \ No newline at end of file +}