From 474c993ad51c7ac065c91add8d5eda2985e6a721 Mon Sep 17 00:00:00 2001 From: stutteringp0et Date: Sun, 17 Mar 2024 04:12:53 +0000 Subject: [PATCH] Update to remove JUri class Line 247 - remove JUri class, replaced with Uri class --- admin/src/View/Joomla_component/HtmlView.php | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/admin/src/View/Joomla_component/HtmlView.php b/admin/src/View/Joomla_component/HtmlView.php index f218cb257..fef4f0b66 100644 --- a/admin/src/View/Joomla_component/HtmlView.php +++ b/admin/src/View/Joomla_component/HtmlView.php @@ -231,19 +231,19 @@ class HtmlView extends BaseHtmlView } - // add the Uikit v2 style sheets - Html::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/uikit.gradient.min.css', ['version' => 'auto']); - // add Uikit v2 JavaScripts - Html::_('script', 'media/com_componentbuilder/uikit-v2/js/uikit.min.js', ['version' => 'auto']); - - // add the Uikit v2 extra style sheets - Html::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/components/notify.gradient.min.css', ['version' => 'auto']); - // add Uikit v2 extra JavaScripts - Html::_('script', 'media/com_componentbuilder/uikit-v2/js/components/lightbox.min.js', ['version' => 'auto']); - Html::_('script', 'media/com_componentbuilder/uikit-v2/js/components/notify.min.js', ['version' => 'auto']); - // add var key - $this->getDocument()->addScriptDeclaration("var vastDevMod = '" . $this->get('VDM') . "';"); - // add return_here - $this->getDocument()->addScriptDeclaration("var return_here = '" . urlencode(base64_encode((string) \JUri::getInstance())) . "';"); + // add the Uikit v2 style sheets + Html::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/uikit.gradient.min.css', ['version' => 'auto']); + // add Uikit v2 JavaScripts + Html::_('script', 'media/com_componentbuilder/uikit-v2/js/uikit.min.js', ['version' => 'auto']); + + // add the Uikit v2 extra style sheets + Html::_('stylesheet', 'media/com_componentbuilder/uikit-v2/css/components/notify.gradient.min.css', ['version' => 'auto']); + // add Uikit v2 extra JavaScripts + Html::_('script', 'media/com_componentbuilder/uikit-v2/js/components/lightbox.min.js', ['version' => 'auto']); + Html::_('script', 'media/com_componentbuilder/uikit-v2/js/components/notify.min.js', ['version' => 'auto']); + // add var key + $this->getDocument()->addScriptDeclaration("var vastDevMod = '" . $this->get('VDM') . "';"); + // add return_here + $this->getDocument()->addScriptDeclaration("var return_here = '" . urlencode(base64_encode((string) Uri::getInstance())) . "';"); } }