2021-04-24 04:42:47 +00:00
< ? php
2024-01-19 15:50:12 +00:00
/**
* @ package eHealth Portal
*
* @ created 13 th August , 2020
* @ author Llewellyn van der Merwe < https :// git . vdm . dev / joomla / eHealth - Portal >
* @ copyright Copyright ( C ) 2020 Vast Development Method . All rights reserved .
* @ license GNU / GPL Version 2 or later - http :// www . gnu . org / licenses / gpl - 2.0 . html
*
* Portal for mobile health clinics
*/
2021-04-24 04:42:47 +00:00
// No direct access to this file
2024-01-19 14:48:27 +00:00
defined ( '_JEXEC' ) or die ;
use Joomla\CMS\Language\Text ;
2021-04-24 04:42: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-01-19 14:48:27 +00:00
< div class = " dashboard-content " >
2021-04-24 04:42:47 +00:00
< a class = " icon " href = " <?php echo $icon->url ; ?> " >
2024-01-19 14:48:27 +00:00
< img alt = " <?php echo $icon->alt ; ?> " src = " components/com_ehealthportal/assets/images/icons/<?php echo $icon->image ; ?> " >
< span class = " dashboard-title " >< ? php echo Text :: _ ( $icon -> name ); ?> </span>
2021-04-24 04:42:47 +00:00
</ a >
</ div >
</ div >
< ? php endforeach ; ?>
< div class = " clearfix " ></ div >
< ? php else : ?>
2024-01-19 14:48:27 +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>
2021-04-24 04:42:47 +00:00
< ? php endif ; ?>