Release of v4.1.4
This commit is contained in:
104 files changed
+5527
-1316
No files matched your search
@@ -15,18 +15,33 @@ use Joomla\CMS\Language\Text;
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
<?php if(isset($this->icons['main']) && is_array($this->icons['main'])) :?>
|
||||
<?php foreach($this->icons['main'] as $icon): ?>
|
||||
<div class="dashboard-wraper">
|
||||
<div class="dashboard-content">
|
||||
<a class="icon" href="<?php echo $icon->url; ?>">
|
||||
<img alt="<?php echo $icon->alt; ?>" src="components/com_componentbuilder/assets/images/icons/<?php echo $icon->image; ?>">
|
||||
<span class="dashboard-title"><?php echo Text::_($icon->name); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<div class="clearfix"></div>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-error"><h4 class="alert-heading"><?php echo Text::_("Permission denied, or not correctly set"); ?></h4><div class="alert-message"><?php echo Text::_("Please notify your System Administrator if result is unexpected."); ?></div></div>
|
||||
<?php if (isset($this->icons['main']) && is_array($this->icons['main']) && !empty($this->icons['main'])) : ?>
|
||||
<div class="dashboard-icons" role="list">
|
||||
<?php foreach ($this->icons['main'] as $icon) : ?>
|
||||
<div class="dashboard-icon-item" role="listitem">
|
||||
<a class="dashboard-icon-link" href="<?php echo $icon->url; ?>">
|
||||
<span class="dashboard-icon-image">
|
||||
<img
|
||||
alt="<?php echo $icon->alt; ?>"
|
||||
src="components/com_componentbuilder/assets/images/icons/<?php echo $icon->image; ?>"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
>
|
||||
</span>
|
||||
<span class="dashboard-icon-title">
|
||||
<?php echo Text::_($icon->name); ?>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="alert alert-danger">
|
||||
<h4 class="alert-heading">
|
||||
<?php echo Text::_("Permission denied, or not correctly set"); ?>
|
||||
</h4>
|
||||
<div>
|
||||
<?php echo Text::_("Please notify your System Administrator if result is unexpected."); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
Reference in new issue
Block a user