diff --git a/layouts/joomla/html/batch/access.php b/layouts/joomla/html/batch/access.php index 40df5ddfd59c8..f40fdacfcd570 100644 --- a/layouts/joomla/html/batch/access.php +++ b/layouts/joomla/html/batch/access.php @@ -9,21 +9,25 @@ defined('JPATH_BASE') or die; +use Joomla\CMS\HTML\HTMLHelper; +use Joomla\CMS\Language\Text; + /** * Layout variables * --------------------- - * None + * + * none */ ?> - - "> + + JText::_('JLIB_HTML_BATCH_NOCHANGE'), - 'id' => 'batch-access' + 'title' => Text::_('JLIB_HTML_BATCH_NOCHANGE'), + 'id' => 'batch-access' ) ); ?> diff --git a/layouts/joomla/html/batch/adminlanguage.php b/layouts/joomla/html/batch/adminlanguage.php index ebb1221fe084c..ec06c794245d0 100644 --- a/layouts/joomla/html/batch/adminlanguage.php +++ b/layouts/joomla/html/batch/adminlanguage.php @@ -9,13 +9,17 @@ defined('JPATH_BASE') or die; +use Joomla\CMS\Factory; +use Joomla\CMS\HTML\HTMLHelper; +use Joomla\CMS\Language\Text; + /** * Layout variables * --------------------- * None */ -JFactory::getDocument()->addScriptDeclaration( +Factory::getDocument()->addScriptDeclaration( ' jQuery(document).ready(function($){ if ($("#batch-category-id").length){var batchSelector = $("#batch-category-id");} @@ -35,10 +39,10 @@ ' ); ?> -