| Server IP : 46.105.57.169 / Your IP : 216.73.216.84 Web Server : Apache System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maitricfuz/www/new-saint-martin/templates/layout13/html/layouts/content/icons/ |
Upload File : |
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
if (! defined('TCK_ARTICLE_TOOLS_ICON_SHOW_TEXT')) define('TCK_ARTICLE_TOOLS_ICON_SHOW_TEXT', 1);
$article = $displayData['article'];
$tooltip = $displayData['tooltip'];
$nowDate = strtotime(Factory::getDate());
$icon = $article->state ? 'edit' : 'eye-slash';
if (($article->publish_up !== null && strtotime($article->publish_up) > $nowDate)
|| ($article->publish_down !== null && strtotime($article->publish_down) < $nowDate
&& $article->publish_down !== Factory::getDbo()->getNullDate()))
{
$icon = 'eye-slash';
}
$aria_described = 'editarticle-' . (int) $article->id;
?>
<span class="fas fack-<?php echo $icon; ?>" aria-hidden="true"></span>
<?php if (TCK_ARTICLE_TOOLS_ICON_SHOW_TEXT) : ?>
<?php echo Text::_('JGLOBAL_EDIT'); ?>
<?php endif; ?>
<div role="tooltip" id="<?php echo $aria_described; ?>">
<?php echo $tooltip; ?>
</div>