Robot
d1e1a56671
Move beta to main repo. Fix #1053 so that the right and left tabs display correctly in Joomla 4&5.
32 lines
1.3 KiB
PHP
32 lines
1.3 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
|
|
*/
|
|
|
|
// No direct access to this file
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
use Joomla\CMS\Language\Text;
|
|
|
|
?>
|
|
<?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 endif; ?>
|