HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/plugins/wp-google-maps/includes/class.modal-dialog.php
<?php

namespace WPGMZA;

if(!defined('ABSPATH'))
	return;

/**
 * Base class for remodal dependent modal dialogs. This class enqueues the relevant scripts and styles.
 */
class ModalDialog extends DOMDocument
{
	/**
	 * Constructor
	 */
	public function __construct()
	{
		DOMDocument::__construct();
		
		wp_enqueue_script('remodal', plugin_dir_url(__DIR__) . 'lib/remodal.min.js');
		wp_enqueue_style('remodal', plugin_dir_url(__DIR__) . 'lib/remodal.css');
		wp_enqueue_style('remodal-default-theme', plugin_dir_url(__DIR__) . 'lib/remodal-default-theme.css');
		
		wp_enqueue_style('wpgmaps-style-pro', plugin_dir_url(__DIR__) . 'css/wpgmza_style_pro.css');
	}
}