Files
subform-power/admin/tmpl/currencies/emptystate.php
2024-06-28 09:05:08 +02:00

38 lines
1.5 KiB
PHP

<?php
/*----------------------------------------------------------------------------------| www.vdm.io |----/
Nampharm
/-------------------------------------------------------------------------------------------------------/
@version 1.0.0
@build 28th June, 2024
@created 24th May, 2024
@package Subform Power
@subpackage emptystate.php
@author Oh Martin <https://nampharm.com.na>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _)
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )(
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__)
/------------------------------------------------------------------------------------------------------*/
use Joomla\CMS\Layout\LayoutHelper;
// No direct access to this file
defined('_JEXEC') or die;
$displayData = [
'textPrefix' => 'COM_SUBFORMPOWER_CURRENCIES',
'formURL' => 'index.php?option=com_subformpower&view=currencies',
'icon' => 'icon-joomla',
];
if ($this->user->authorise('currency.create', 'com_subformpower'))
{
$displayData['createURL'] = 'index.php?option=com_subformpower&task=currency.add';
}
echo LayoutHelper::render('joomla.content.emptystate', $displayData);