From 604d1a888ed2ab568521f57209f3c489a1907ab4 Mon Sep 17 00:00:00 2001 From: sshcli Date: Wed, 18 Jul 2018 16:15:09 -0400 Subject: [PATCH] Update FA to 5.1.1 (#6049) --- .../components/com_kunena/views/user/view.html.php | 2 +- .../components/com_kunena/views/users/view.html.php | 2 +- src/components/com_kunena/template/crypsis/template.php | 4 ++-- src/components/com_kunena/template/crypsisb3/template.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/administrator/components/com_kunena/views/user/view.html.php b/src/administrator/components/com_kunena/views/user/view.html.php index 2e9d49aa88c..33e0e50628c 100644 --- a/src/administrator/components/com_kunena/views/user/view.html.php +++ b/src/administrator/components/com_kunena/views/user/view.html.php @@ -39,7 +39,7 @@ public function displayEdit() if (KunenaFactory::getTemplate()->params->get('fontawesome')) { - Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true)); + Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true)); } // Make the select list for the moderator flag diff --git a/src/administrator/components/com_kunena/views/users/view.html.php b/src/administrator/components/com_kunena/views/users/view.html.php index 355089e6370..02e7e2a7873 100644 --- a/src/administrator/components/com_kunena/views/users/view.html.php +++ b/src/administrator/components/com_kunena/views/users/view.html.php @@ -50,7 +50,7 @@ public function displayDefault() if (KunenaFactory::getTemplate()->params->get('fontawesome')) { - Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true)); + Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true)); } $this->display(); diff --git a/src/components/com_kunena/template/crypsis/template.php b/src/components/com_kunena/template/crypsis/template.php index 029b87eddf1..3796467d568 100644 --- a/src/components/com_kunena/template/crypsis/template.php +++ b/src/components/com_kunena/template/crypsis/template.php @@ -107,8 +107,8 @@ public function initialize() if ($fontawesome) { - $doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true)); - $doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/v4-shims.js', array(), array('defer' => true)); + $doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true)); + $doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/v4-shims.js', array(), array('defer' => true)); } // Load template colors settings diff --git a/src/components/com_kunena/template/crypsisb3/template.php b/src/components/com_kunena/template/crypsisb3/template.php index 8b531fd2069..b02b81f8336 100644 --- a/src/components/com_kunena/template/crypsisb3/template.php +++ b/src/components/com_kunena/template/crypsisb3/template.php @@ -145,8 +145,8 @@ public function initialize() if ($fontawesome) { /** @noinspection PhpDeprecationInspection */ - $doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true)); - $doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/v4-shims.js', array(), array('defer' => true)); + $doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true)); + $doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/v4-shims.js', array(), array('defer' => true)); } $icons = $this->ktemplate->params->get('icons');