@@ -72,14 +72,14 @@
if (JVERSION >= 4)
{
$layoutAttr = [
- 'src' => htmlspecialchars($images->image_fulltext),
+ 'src' => htmlspecialchars($images->image_fulltext ?? ""),
'itemprop' => 'image',
'alt' => empty($images->image_fulltext_alt) && empty($images->image_fulltext_alt_empty) ? $displayData->title : $images->image_fulltext_alt,
];
if (isset($images->image_fulltext_caption) && $images->image_fulltext_caption !== '')
{
$layoutAttr['class'] = 'caption';
- $layoutAttr['title'] = htmlspecialchars($images->image_fulltext_caption);
+ $layoutAttr['title'] = htmlspecialchars($images->image_fulltext_caption ?? "");
}
echo LayoutHelper::render('joomla.html.image', $layoutAttr);
@@ -95,9 +95,9 @@
{
?>
image_fulltext_caption) :
- echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_fulltext_caption) . '"';
+ echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_fulltext_caption ?? "") . '"';
endif; ?>
- src="image_fulltext); ?>" alt="image_fulltext_alt) && empty($images->image_fulltext_alt_empty) ? $displayData->title : $images->image_fulltext_alt; ?>" itemprop="image">
+ src="image_fulltext ?? ""); ?>" alt="image_fulltext_alt) && empty($images->image_fulltext_alt_empty) ? $displayData->title : $images->image_fulltext_alt; ?>" itemprop="image">
image_fulltext_caption) && $images->image_fulltext_caption !== '')
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php
index 959173de..36e69a34 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/intro_image.php
@@ -15,7 +15,7 @@
use Joomla\CMS\Uri\Uri;
$params = $displayData->params;
-$attribs = json_decode($displayData->attribs);
+$attribs = json_decode($displayData->attribs ?? "");
$template = HelixUltimate\Framework\Platform\Helper::loadTemplateData();
$tplParams = $template->params;
@@ -60,14 +60,14 @@
{
$layoutAttr = [
'src' => $intro_image,
- 'alt' => empty($displayData->title) ? false : htmlspecialchars($displayData->title, ENT_COMPAT, 'UTF-8'),
+ 'alt' => empty($displayData->title) ? false : htmlspecialchars($displayData->title ?? "", ENT_COMPAT, 'UTF-8'),
];
echo LayoutHelper::render('joomla.html.image', array_merge($layoutAttr, ['itemprop' => 'thumbnailUrl']));
}
else
{
?>
-
">
@@ -77,7 +77,7 @@
- images); ?>
+ images ?? ""); ?>
image_intro) && !empty($images->image_intro)) : ?>
float_intro) ? $params->get('float_intro') : $images->float_intro; ?>
@@ -88,12 +88,12 @@
{
$layoutAttr = [
'src' => htmlspecialchars($images->image_intro, ENT_COMPAT, 'UTF-8'),
- 'alt' => empty($images->image_intro_alt) ? false : htmlspecialchars($images->image_intro_alt, ENT_COMPAT, 'UTF-8'),
+ 'alt' => empty($images->image_intro_alt) ? false : htmlspecialchars($images->image_intro_alt ?? "", ENT_COMPAT, 'UTF-8'),
];
if (isset($images->image_intro_caption) && $images->image_intro_caption !== '')
{
$layoutAttr['class'] = 'caption';
- $layoutAttr['title'] = htmlspecialchars($images->image_intro_caption);
+ $layoutAttr['title'] = htmlspecialchars($images->image_intro_caption ?? "");
}
echo LayoutHelper::render('joomla.html.image', array_merge($layoutAttr, ['itemprop' => 'thumbnailUrl']));
// Image Caption
@@ -106,7 +106,7 @@
else
{
?>
-
image_intro_caption) : ?> image_intro_caption) . '"'; ?> src="image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="image_intro_alt, ENT_COMPAT, 'UTF-8'); ?>">
+
image_intro_caption) : ?> image_intro_caption ?? "") . '"'; ?> src="image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="image_intro_alt ?? "", ENT_COMPAT, 'UTF-8'); ?>">
image_intro_caption) && $images->image_intro_caption !== '')
@@ -122,13 +122,13 @@
if (JVERSION >= 4)
{
$layoutAttr = [
- 'src' => htmlspecialchars($images->image_intro, ENT_COMPAT, 'UTF-8'),
+ 'src' => htmlspecialchars($images->image_intro ?? "", ENT_COMPAT, 'UTF-8'),
'alt' => empty($images->image_intro_alt) ? false : htmlspecialchars($images->image_intro_alt, ENT_COMPAT, 'UTF-8'),
];
if (isset($images->image_intro_caption) && $images->image_intro_caption !== '')
{
$layoutAttr['class'] = 'caption';
- $layoutAttr['title'] = htmlspecialchars($images->image_intro_caption, ENT_COMPAT, 'UTF-8');
+ $layoutAttr['title'] = htmlspecialchars($images->image_intro_caption ?? "", ENT_COMPAT, 'UTF-8');
}
echo LayoutHelper::render('joomla.html.image', array_merge($layoutAttr, ['itemprop' => 'thumbnailUrl']));
// Image Caption
@@ -141,7 +141,7 @@
else
{
?>
-
image_intro_caption) : ?> image_intro_caption, ENT_COMPAT, 'UTF-8') . '"'; ?> src="image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="image_intro_alt, ENT_COMPAT, 'UTF-8'); ?>">
+
image_intro_caption) : ?> image_intro_caption, ENT_COMPAT, 'UTF-8') . '"'; ?> src="image_intro, ENT_COMPAT, 'UTF-8'); ?>" alt="image_intro_alt ?? "", ENT_COMPAT, 'UTF-8'); ?>">
image_intro_caption) && $images->image_intro_caption !== '')
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/language.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/language.php
index a0e67826..bc76ebb9 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/content/language.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/language.php
@@ -19,7 +19,7 @@
}
elseif ($item->language_image)
{
- echo HTMLHelper::_('image', 'mod_languages/' . $item->language_image . '.gif', '', null, true) . ' ' . htmlspecialchars($item->language_title, ENT_COMPAT, 'UTF-8');
+ echo HTMLHelper::_('image', 'mod_languages/' . $item->language_image . '.gif', '', null, true) . ' ' . htmlspecialchars($item->language_title ?? "", ENT_COMPAT, 'UTF-8');
}
elseif ($item->language_title)
{
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/open_graph.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/open_graph.php
index 0d9531c8..8376d526 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/content/open_graph.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/open_graph.php
@@ -21,7 +21,7 @@
// Facebook
$doc->addCustomTag('
');
$doc->addCustomTag('
');
-$doc->addCustomTag('
');
+$doc->addCustomTag('
');
$doc->addCustomTag('
');
if(isset($image) && $image)
@@ -34,7 +34,7 @@
$doc->addCustomTag('
');
}
-$doc->addCustomTag('
');
+$doc->addCustomTag('
');
// Twitter
$doc->addCustomTag('
');
@@ -46,7 +46,7 @@
if(isset($twitter_site) && $twitter_site)
{
- $doc->addCustomTag('
');
+ $doc->addCustomTag('
');
}
$doc->addCustomTag('
');
\ No newline at end of file
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/readmore.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/readmore.php
index 3ebdf94c..8c350720 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/content/readmore.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/readmore.php
@@ -20,22 +20,22 @@
get('access-view')) : ?>
+ title ?? "", ENT_QUOTES, 'UTF-8'); ?>">
alternative_readmore) : ?>
-
+ ">
get('show_readmore_title', 0) != 0) : ?>
title, $params->get('readmore_limit')); ?>
get('show_readmore_title', 0) == 0) : ?>
-
+ ">
-
+ ">
title, $params->get('readmore_limit')); ?>
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article.php
index dd247a2f..71efc21d 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article.php
@@ -7,7 +7,7 @@
$item->enableOpenGraph = false;
$params = $item->params;
$info = $params->get('info_block_position', 0);
-$attribs = json_decode($item->attribs);
+$attribs = json_decode($item->attribs ?? "");
HTMLHelper::addIncludePath(JPATH_COMPONENT . '/helpers/html');
$article_format = (isset($attribs->helix_ultimate_article_format) && $attribs->helix_ultimate_article_format) ? $attribs->helix_ultimate_article_format : 'standard';
?>
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article_large.php b/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article_large.php
index 07ad2d6c..6aa70f1f 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article_large.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/content/related_article_large.php
@@ -7,7 +7,7 @@
$item = $displayData;
$params = $item->params;
$info = $params->get('info_block_position', 0);
-$attribs = json_decode($item->attribs);
+$attribs = json_decode($item->attribs ?? "");
HTMLHelper::addIncludePath(JPATH_COMPONENT . '/helpers/html');
$article_format = (isset($attribs->helix_ultimate_article_format) && $attribs->helix_ultimate_article_format)
? $attribs->helix_ultimate_article_format
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/edit/frontediting_modules.php b/plugins/system/helixultimate/overrides/layouts/joomla/edit/frontediting_modules.php
index 9f560e65..ac1d3808 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/edit/frontediting_modules.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/edit/frontediting_modules.php
@@ -50,7 +50,7 @@
'\\1 jmoddiv" data-jmodediturl="' . $editUrl . '" data-target="' . $target . '" data-jmodtip="'
. HTMLHelper::_('tooltipText',
Text::_('JLIB_HTML_EDIT_MODULE'),
- htmlspecialchars($mod->title, ENT_COMPAT, 'UTF-8') . '
' . sprintf(Text::_('JLIB_HTML_EDIT_MODULE_IN_POSITION'), htmlspecialchars($position, ENT_COMPAT, 'UTF-8')),
+ htmlspecialchars($mod->title ?? "", ENT_COMPAT, 'UTF-8') . '
' . sprintf(Text::_('JLIB_HTML_EDIT_MODULE_IN_POSITION'), htmlspecialchars($position ?? "", ENT_COMPAT, 'UTF-8')),
0
)
. '"'
diff --git a/plugins/system/helixultimate/overrides/layouts/joomla/form/field/calendar.php b/plugins/system/helixultimate/overrides/layouts/joomla/form/field/calendar.php
index f0705a96..802aeaa8 100644
--- a/plugins/system/helixultimate/overrides/layouts/joomla/form/field/calendar.php
+++ b/plugins/system/helixultimate/overrides/layouts/joomla/form/field/calendar.php
@@ -84,8 +84,8 @@
name=""
value=""
-
- data-alt-value="" autocomplete="off">
+
+ data-alt-value="" autocomplete="off">