Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/public_html/plugins/system/nrframework/layouts/ |
<?php
/**
* @package Advanced Custom Fields
* @version 2.8.9 Free
*
* @author Tassos Marinos <info@tassos.gr>
* @link https://www.tassos.gr
* @copyright Copyright © 2024 Tassos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Language\Text;
extract($displayData);
?>
<div class="cb-item" data-key="<?php echo $conditionKey ?>">
<div class="cb-item-toolbar">
<div class="cb-dropdown">
<?php echo $toolbar->renderFieldset('base'); ?>
</div>
<div class="cb-item-buttons">
<svg class="loading" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="25px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
<circle cx="50" cy="50" fill="none" stroke="#dddddd" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">
<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>
</circle>
</svg>
<div class="links">
<a class="cb-button only-icon remove tf-cb-remove-condition" href="#" title="<?php echo Text::_('NR_CB_TRASH_CONDITION'); ?>"><span class="icon icon-trash"></span></a>
<a class="cb-button only-icon tf-cb-add-new-group" href="#" title="<?php echo Text::_('NR_CB_ADD_CONDITION'); ?>"><span class="icon icon-plus-2"></span></a>
</div>
<div class="toggle-status" title="<?php echo Text::_('NR_CB_TOGGLE_RULE_STATUS') ?>">
<?php
require_once JPATH_PLUGINS . '/system/nrframework/fields/nrtoggle.php';
$field = new \JFormFieldNRToggle();
$element = new \SimpleXMLElement('<field name="' . $name . '[enabled]" type="NRToggle" class="small" checked="' . $enabled . '" />');
$field->setup($element, null);
echo $field->__get('input');
?>
</div>
</div>
</div>
<div class="cb-item-content">
<?php echo $options ? $options : '<div class="select-condition-message">' . Text::_('NR_CB_SELECT_CONDITION_GET_STARTED') . '</div>'; ?>
</div>
</div>