| Server IP : 87.98.231.4 / Your IP : 216.73.217.178 [ Web Server : Apache System : Linux webm007.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : grupmartgn ( 667608) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/grupmartgn/elanartcrafts/administrator/components/com_carouselck/elements/ |
Upload File : |
<?php
/**
* @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870
* https://www.joomlack.fr
* @license GNU/GPL
* */
// no direct access
defined('JPATH_PLATFORM') or die;
class JFormFieldCklight extends JFormField {
protected $type = 'cklight';
protected function getLabel() {
return '';
}
protected function getInput() {
$html = array();
// Add the label text and closing tag.
$html[] = '<div id="' . $this->id . '-lbl" class="ckinfo">';
$html[] = '<i class="fas fa-info" style="color:orange"></i>';
$html[] = JText::_('CAROUSELCK_USE_FREE_VERSION');
$html[] = ' <a href="https://www.joomlack.fr/en/joomla-extensions/carousel-ck" target="_blank">';
$html[] = '<span class="cklabel cklabel-info"><i class="fas fa-link"></i> ' . JText::_('CAROUSELCK_GET_PRO_INFOS') . '</label>';
$html[] = '</a>';
$html[] = '</div>';
// if (! $testparams) {
// $html[] = 'Mettre ici description de la version pro avec les fonctionnalités et le lien';
// }
return implode('', $html);
}
protected function testParams() {
if (JFile::exists(JPATH_ROOT.'/plugins/system/carouselckparams/carouselckparams.php')) {
$this->state = 'green';
return JText::_('CAROUSELCK_USE_PRO_VERSION');
}
return false;
}
}