diff --git a/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini b/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini index 91d742f..1a91b0b 100644 --- a/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini +++ b/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini @@ -40,6 +40,10 @@ COM_PATCHTESTER_PURGE_NA="No cache files to remove." COM_PATCHTESTER_PURGE_SUCCESS="Purge operation completed successfully, %s files removed." COM_PATCHTESTER_PURGE_SUCCESS_1="Purge operation completed successfully, %s file removed." COM_PATCHTESTER_REPO_IS_GONE="The patch could not be applied because the repository is missing" +COM_PATCHTESTER_REQUIREMENT_HTTPS="HTTPS wrappers must be enabled" +COM_PATCHTESTER_REQUIREMENT_OPENSSL="The OpenSSL extension must be installed and enabled in your php.ini" +COM_PATCHTESTER_REQUIREMENTS_HEADING="Requirements Not Met" +COM_PATCHTESTER_REQUIREMENTS_NOT_MET="Your system does not meet the requirements to run the Patch Tester extension:" COM_PATCHTESTER_REVERT_OK="Patch successfully reverted" COM_PATCHTESTER_REVERT_PATCH="Revert Patch" COM_PATCHTESTER_SEARCH_IN_PULL_ID="Pull ID" diff --git a/administrator/components/com_patchtester/views/pulls/tmpl/default.php b/administrator/components/com_patchtester/views/pulls/tmpl/default.php index d48d7a7..66eb3c1 100644 --- a/administrator/components/com_patchtester/views/pulls/tmpl/default.php +++ b/administrator/components/com_patchtester/views/pulls/tmpl/default.php @@ -8,12 +8,17 @@ defined('_JEXEC') or die; +/** @type PatchtesterViewPulls $this */ + JHtml::_('behavior.tooltip'); JHtml::_('behavior.modal'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); +if (count($this->envErrors)) : + $this->loadTemplate('errors'); +else : ?>