Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions administrator/modules/mod_submenu/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
$alt = $params->get('menu_text') ? '' : htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8');
endif;
?>
<a class="flex-grow-1" href="<?php echo $item->link; ?>" target="<?php echo $item->target; ?>">
<a class="flex-grow-1" href="<?php echo $item->link; ?>"<?php echo !empty($item->target) ? ' target="' . $item->target . '"' : ''; ?>>
<?php if (!empty($params->get('menu_image'))) : ?>
<?php echo HTMLHelper::_('image', $image, $alt, 'class="' . $class . '"'); ?>
<?php endif; ?>
Expand All @@ -97,7 +97,7 @@
<?php if (!$permission || $user->authorise($permission, $scope)) : ?>
<a href="<?php echo $link; ?>">
<span class="fa fa-<?php echo $icon; ?> fa-xs" title="<?php echo htmlentities($title); ?>" aria-hidden="true"></span>
<span class="sr-only"><?php echo htmlentities($sronly); ?></span>
<span class="sr-only"><?php echo htmlentities($sronly); ?></span>
</a>
<?php endif; ?>
</span>
Expand Down