first commit
This commit is contained in:
32
administrator/modules/mod_cachecleaner/tmpl/default.php
Normal file
32
administrator/modules/mod_cachecleaner/tmpl/default.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Cache Cleaner
|
||||
* @version 8.2.2
|
||||
*
|
||||
* @author Peter van Westen <info@regularlabs.com>
|
||||
* @link http://regularlabs.com
|
||||
* @copyright Copyright © 2022 Regular Labs All Rights Reserved
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use RegularLabs\Module\CacheCleaner\Administrator\Helper\CacheCleaner as CacheCleanerHelper;
|
||||
|
||||
/* @var object $params */
|
||||
|
||||
$text = CacheCleanerHelper::getText();
|
||||
$class = 'header-item-content' . ($params->add_button_text ? '' : ' rl-button-no-text');
|
||||
|
||||
?>
|
||||
<a href="javascript:" onclick="RegularLabs.CacheCleaner.purge();" class="<?php echo $class; ?>" title="<?php echo $text; ?>">
|
||||
<div class="header-item-icon">
|
||||
<span class="icon-trash" aria-hidden="true"></span>
|
||||
</div>
|
||||
|
||||
<?php if ($params->add_button_text) : ?>
|
||||
<div class="header-item-text">
|
||||
<?php echo $text; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
Reference in New Issue
Block a user