2016-01-30 20:28:43 +00:00
< ? php
2021-03-05 03:08:47 +00:00
/**
* @ package Joomla . Component . Builder
*
2024-03-09 19:47:28 +00:00
* @ created 4 th September 2022
2022-07-09 15:45:08 +00:00
* @ author Llewellyn van der Merwe < https :// dev . vdm . io >
* @ git Joomla Component Builder < https :// git . vdm . dev / joomla / Component - Builder >
2021-03-05 03:08:47 +00:00
* @ copyright Copyright ( C ) 2015 Vast Development Method . All rights reserved .
* @ license GNU General Public License version 2 or later ; see LICENSE . txt
*/
2024-03-09 19:47:28 +00:00
// No direct access to this JCB template file (EVER)
defined ( '_JCB_TEMPLATE' ) or die ;
?>
###BOM###
use Joomla\CMS\Language\Text ;
2021-03-05 03:08:47 +00:00
// No direct access to this file
2024-03-09 19:47:28 +00:00
defined ( '_JEXEC' ) or die ;
2021-03-05 03:08:47 +00:00
?>
< ? php if ( isset ( $this -> icons [ 'main' ]) && is_array ( $this -> icons [ 'main' ])) : ?>
< ? php foreach ( $this -> icons [ 'main' ] as $icon ) : ?>
< div class = " dashboard-wraper " >
2024-03-09 19:47:28 +00:00
< div class = " dashboard-content " >
2021-03-05 03:08:47 +00:00
< a class = " icon " href = " <?php echo $icon->url ; ?> " >
2024-03-09 19:47:28 +00:00
< img alt = " <?php echo $icon->alt ; ?> " src = " components/com_###component###/assets/images/icons/<?php echo $icon->image ; ?> " >
< span class = " dashboard-title " >< ? php echo Text :: _ ( $icon -> name ); ?> </span>
2021-03-05 03:08:47 +00:00
</ a >
</ div >
</ div >
< ? php endforeach ; ?>
< div class = " clearfix " ></ div >
< ? php else : ?>
2024-03-09 19:47:28 +00:00
< 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>
2016-01-30 20:28:43 +00:00
< ? php endif ; ?>