2021-04-24 04:42:47 +00:00
< ? php
/*--------------------------------------------------------------------------------------------------------| www . vdm . io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \ / | | | | | | |
\ \ / / _ _ ___ | | _ | | | | _____ _____ | | ___ _ __ _ __ ___ ___ _ __ | | _ | \ / | ___ | | _ | | __ ___ __ | |
\ \ / / _ ` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| ' _ \ / _ \ / _ ` |
\ / ( _ | \__ \ | _ | | __ | | __ / \ V / __ / | ( _ ) | | _ ) | | | | | | __ / | | | | _ | | | | __ / | _ | | | | ( _ ) | ( _ | |
\ / \__ , _ | ___ / \__ | | _____ / \___ | \_ / \___ | _ | \___ /| . __ /| _ | | _ | | _ | \___ | _ | | _ | \__ | | _ | | _ | \___ | \__ | _ | | _ | \___ / \__ , _ |
| |
| _ |
/-------------------------------------------------------------------------------------------------------------------------------/
2024-01-19 14:48:27 +00:00
@ version 4.0 . 0
@ build 19 th January , 2024
2021-04-24 04:42:47 +00:00
@ created 13 th August , 2020
@ package eHealth Portal
@ subpackage default_main . php
2024-01-19 14:48:27 +00:00
@ author Llewellyn van der Merwe < https :// git . vdm . dev / joomla / eHealth - Portal >
2021-04-24 04:42:47 +00:00
@ 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
/-----------------------------------------------------------------------------------------------------------------------------*/
// 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 ; ?>