File: /home/vhosts/harpoeditore.it/httpdocs/wp-content/plugins/essential-grid/admin/views/footer.php
<?php
/**
* Represents the view for the administration dashboard.
*
* This includes the header, options, and other information that should provide
* The User Interface to the end user.
*
* @package Essential_Grid
* @author ThemePunch <info@themepunch.com>
* @link http://www.themepunch.com/essential/
* @copyright 2021 ThemePunch
*/
if( !defined( 'ABSPATH') ) exit();
$tooltips = get_option('tp_eg_tooltips', 'true');
?>
</div>
<script type="text/javascript">
window.ESG = window.ESG === undefined ? {} : window.ESG;
ESG.ENV = ESG.ENV === undefined ? {} : ESG.ENV;
ESG.ENV.activated = <?php echo Essential_Grid_Base::getValid(); ?>;
ESG.ENV.revision = '<?php echo ESG_REVISION; ?>';
var token = '<?php echo wp_create_nonce("Essential_Grid_actions"); ?>';
var es_do_tooltipser = <?php echo $tooltips; ?>;
<?php
if($tooltips == 'true'){
?>
var initToolTipser_once = false;
if (document.readyState === "loading")
document.addEventListener('readystatechange',function(){
if ((document.readyState === "interactive" || document.readyState === "complete") && !initToolTipser_once) {
initToolTipser_once = true;
AdminEssentials.initToolTipser();
}
});
else {
initToolTipser_once = true;
AdminEssentials.initToolTipser();
}
<?php
}
?>
</script>
<div id="waitaminute">
<div class="waitaminute-message"><i class="eg-icon-coffee"></i><br><?php esc_html_e("Please Wait...", ESG_TEXTDOMAIN); ?></div>
</div>
<div id="eg-error-box">
</div>