mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-23 03:19:00 +00:00
JText missing global namespace reference (Fix #67)
This commit is contained in:
parent
8cfae1e2e8
commit
11c412e1e9
@ -165,7 +165,7 @@ class PullModel extends \JModelBase
|
|||||||
if (!$files)
|
if (!$files)
|
||||||
{
|
{
|
||||||
// TODO - Should be a better way to enqueue messages without needing the application...
|
// TODO - Should be a better way to enqueue messages without needing the application...
|
||||||
\JFactory::getApplication()->enqueueMessage(JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message'));
|
\JFactory::getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message'));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -275,7 +275,7 @@ class PullModel extends \JModelBase
|
|||||||
|
|
||||||
if (!$files)
|
if (!$files)
|
||||||
{
|
{
|
||||||
throw new \RuntimeException(sprintf(JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data)));
|
throw new \RuntimeException(sprintf(\JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data)));
|
||||||
}
|
}
|
||||||
|
|
||||||
jimport('joomla.filesystem.file');
|
jimport('joomla.filesystem.file');
|
||||||
|
@ -14,7 +14,7 @@ JHtml::_('script', 'com_patchtester/fetcher.js', false, true);
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="patchtester-container">
|
<div id="patchtester-container">
|
||||||
<h1 id="patchtester-progress-header"><?php echo JText::_('COM_PATCHTESTER_FETCH_INITIALIZING'); ?></h1>
|
<h1 id="patchtester-progress-header"><?php echo \JText::_('COM_PATCHTESTER_FETCH_INITIALIZING'); ?></h1>
|
||||||
<p id="patchtester-progress-message"><?php echo JText::_('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION'); ?></p>
|
<p id="patchtester-progress-message"><?php echo \JText::_('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION'); ?></p>
|
||||||
<input id="patchtester-token" type="hidden" name="<?php echo JFactory::getSession()->getFormToken(); ?>" value="1" />
|
<input id="patchtester-token" type="hidden" name="<?php echo JFactory::getSession()->getFormToken(); ?>" value="1" />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user