30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-08 17:22:21 +00:00

Do not display icon when it is configured to not display

This commit is contained in:
Tuan Pham Ngoc 2021-10-28 21:32:04 +07:00
parent 925c4518d6
commit 56d3984ece

View File

@ -81,9 +81,9 @@ $listDirn = $this->escape($this->state->get('list.direction'));
<?php endif; ?>
<div class="list-title list-group-item ">
<?php if (!$this->params->get('icons', 1)) : ?>
<?php if ($this->params->get('icons', 1) == 0) : ?>
<?php echo Text::_('COM_WEBLINKS_LINK'); ?>
<?php else : ?>
<?php elseif ($this->params->get('icons', 1) == 1) : ?>
<?php // ToDo css icons as variables ?>
<?php if (!$this->params->get('link_icons')) : ?>
<span class="icon-globe" aria-hidden="true"></span>