Initial commit
This commit is contained in:
37
admin/tmpl/countries/emptystate.php
Normal file
37
admin/tmpl/countries/emptystate.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/*----------------------------------------------------------------------------------| www.vdm.io |----/
|
||||
Nampharm
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.0
|
||||
@build 27th 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_COUNTRIES',
|
||||
'formURL' => 'index.php?option=com_subformpower&view=countries',
|
||||
'icon' => 'icon-joomla',
|
||||
];
|
||||
|
||||
if ($this->user->authorise('country.create', 'com_subformpower'))
|
||||
{
|
||||
$displayData['createURL'] = 'index.php?option=com_subformpower&task=country.add';
|
||||
}
|
||||
|
||||
echo LayoutHelper::render('joomla.content.emptystate', $displayData);
|
Reference in New Issue
Block a user