| Current Path : /var/www/plugins/system/nrframework/layouts/ |
| Current File : /var/www/plugins/system/nrframework/layouts/responsive_control_item.php |
<?php
/**
* @package Google Structured Data
* @version 5.5.1 Free
*
* @author Tassos Marinos <info@tassos.gr>
* @link https://www.tassos.gr
* @copyright Copyright © 2023 Tassos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
defined('_JEXEC') or die('Restricted access');
extract($displayData);
?>
<?php if (!$hide_device_selector): ?>
<div class="nr-responsive-control--item--top">
<div class="nr-responsive-control--item--top--breakpoint--switcher">
<div class="nr-responsive-control--item--top--breakpoint--switcher--toggle" title="<?php echo JText::_('NR_SELECT_DEVICE_TO_SET_VALUES'); ?>">
<?php echo $breakpoint['icon']; ?>
<svg width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 5.46666L0 1.46666L0.933333 0.533325L4 3.59999L7.06667 0.533325L8 1.46666L4 5.46666Z" fill="currentColor"></path></svg>
</div>
<div class="nr-responsive-control--item--top--breakpoint--switcher--dropdown">
<?php
foreach ($breakpoints as $key => $value)
{
?>
<div class="nr-responsive-control--item--top--breakpoint--switcher--dropdown--item<?php echo $key === $device ? ' is-active' : ''; ?>" data-type="<?php echo $key; ?>">
<div class="nr-responsive-control--item--top--breakpoint--switcher--dropdown--item--text">
<?php echo $value['label']; ?>
<div class="nr-responsive-control--item--top--breakpoint--switcher--dropdown--item--text--desc"><?php echo $value['desc']; ?></div>
</div>
<?php echo $value['icon']; ?>
</div>
<?php
}
?>
</div>
</div>
</div>
<?php endif; ?>
<?php echo $html; ?>