Files
Component-Builder/admin/tmpl/componentbuilder/default_main.php
T
2026-03-24 13:44:54 +00:00

47 lines
1.7 KiB
PHP

<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
use Joomla\CMS\Language\Text;
// No direct access to this file
defined('_JEXEC') or die;
?>
<?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; ?>