<?php if (!have_license('modules/white_label')): ?>
    <div class="module-live-edit-settings">
        <module type="admin/modules/activate" prefix="modules/white_label"/>
    </div>
    <?php return; ?>
<?php endif; ?>




<?php
$from_live_edit = false;
if (isset($params["live_edit"]) and $params["live_edit"]) {
    $from_live_edit = $params["live_edit"];
}

include __DIR__."/index.php";
return;
?>

<?php if (isset($params['backend'])): ?>
    <module type="admin/modules/info"/>
<?php endif; ?>

<div class="card style-1 mb-3 <?php if($from_live_edit): ?>card-in-live-edit<?php endif; ?>">
    <div class="card-header">
        <?php $module_info = module_info($params['module']); ?>
        <h5>
            <img src="<?php echo $module_info['icon']; ?>" class="module-icon-svg-fill" /> <strong><?php echo $module_info['name']; ?></strong>
        </h5>
    </div>

    <div class="card-body pt-3">
        <div class="module-live-edit-settings module-admin-colors-settings">

        </div>
    </div>
</div>
