<?php

namespace Nextend\SmartSlider3\Application\Admin\Layout\Block\Core\AdminIframe;


use Nextend\SmartSlider3\Settings;

/**
 * @var $this BlockAdminIframe
 */
if (intval(Settings::get('force-rtl-backend', 0))) {
    ?>
    <script>
        jQuery(document).ready(function () {
            jQuery("html").attr("dir", "rtl");
        });
    </script>
    <?php
}

?>
<div <?php $this->renderAttributes(); ?>>
    <div class="n2_iframe_application__nav_bar">
        <div class="n2_iframe_application__nav_bar_label">
            <?php echo esc_html($this->getLabel()); ?>
        </div>
        <div class="n2_iframe_application__nav_bar_actions">
            <?php
            foreach ($this->getActions() as $action) {
                $action->display();
            }
            ?>
        </div>
    </div>
    <div class="n2_iframe_application__content">
        <?php $this->displayContent(); ?>
    </div>
</div>