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/appointmentbook.me/wp-content/plugins/floating-awesome-button/src/Feature/Modal.php
<?php

namespace Fab\Feature;

! defined( 'WPINC ' ) or die;

/**
 * Initiate plugins
 *
 * @package    Fab
 * @subpackage Fab\Includes
 */

class Modal extends Feature {

    /** FAB Modal Theme */
    public static $layout = array(
        array(
            'id'   => 'background_image',
            'text' => 'Background Image',
        ),
        array(
            'text' => 'Grid',
            'children' => array(
                array(
                    'id'   => 'grid-left',
                    'text' => 'Grid Left',
                ),
                array(
                    'id'   => 'grid-right',
                    'text' => 'Grid Right',
                ),
            ),
        ),
        array(
            'id'   => 'overflow',
            'text' => 'Overflow',
        ),
        array(
            'id'   => 'stacked',
            'text' => 'Stacked',
        ),
    );

	/** FAB Modal Theme */
	public static $theme = array(
		array(
			'id'   => 'blank',
			'text' => 'Blank',
		),
		array(
			'id'   => 'window-light',
			'text' => 'Window Light',
		),
		array(
			'id'   => 'window-dark',
			'text' => 'Window Dark',
		),
	);

    /**
     * Feature construect
     *
     * @return void
     * @var    object   $plugin     Feature configuration
     * @pattern prototype
     */
    public function __construct( $plugin ) {
        $this->WP          = $plugin->getWP();
        $this->key         = 'core_modal';
        $this->name        = 'Modal';
        $this->description = 'Handles plugin core modal';
    }

}