first commit
This commit is contained in:
24
layouts/joomla/content/icons/create.php
Normal file
24
layouts/joomla/content/icons/create.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @deprecated 4.3 will be removed in 6.0
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
$params = $displayData['params'];
|
||||
|
||||
?>
|
||||
<?php if ($params->get('show_icons')) : ?>
|
||||
<span class="icon-plus icon-fw" aria-hidden="true"></span>
|
||||
<?php echo Text::_('JNEW'); ?>
|
||||
<?php else : ?>
|
||||
<?php echo Text::_('JNEW') . ' '; ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user