| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.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 : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/plugins/engagebox/yesno/tmpl/ |
Upload File : |
<?php
/**
* @package EngageBox
* @version 7.0.0 Pro
*
* @author Tassos Marinos <info@tassos.gr>
* @link http://www.tassos.gr
* @copyright Copyright © 2019 Tassos Marinos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
defined('_JEXEC') or die('Restricted access');
use Joomla\Registry\Registry;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Plugin\PluginHelper;
$yesno = new Registry($box->params->get("yesno"));
$buttons = array(
$yesno->get("yes"),
$yesno->get("no")
);
$headline = $yesno->get("headline");
$footer = $yesno->get("footer");
HTMLHelper::stylesheet('plg_engagebox_yesno/styles.css', ['relative' => true, 'version' => 'auto']);
?>
<div class="ebox-yes-no">
<div class="ebox-yn-text">
<?php if (!empty($headline)) { ?>
<?php
$headlineStyles = implode(";", array(
"font-size:" . $yesno->get("headlinesize") . "px",
"color:" . $yesno->get("headlinecolor")
));
?>
<div class="ebox-yn-headline" style="<?php echo $headlineStyles ?>">
<?php echo $headline; ?>
</div>
<?php } ?>
</div>
<div class="ebox-ys-buttons" style="font-size: <?php echo (int) $yesno->get('buttontextfontsize', '16'); ?>px;">
<?php
$button_layout_path = PluginHelper::getLayoutPath('engagebox', 'yesno', 'button');
foreach ($buttons as $key => $button)
{
include $button_layout_path;
}
?>
</div>
<?php if (!empty($footer)) {
$footerStyles = implode(";", array(
"font-size:" . $yesno->get("footersize", "11") . "px",
"color:" . $yesno->get("footercolor", "#ccc")
));
?>
<div class="ebox-ys-footer" style="<?php echo $footerStyles ?>">
<?php echo $footer; ?>
</div>
<?php } ?>
</div>