403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.150
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/yeslicense.org/wp-content/plugins/yaymail/src/Elements/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/yeslicense.org/wp-content/plugins/yaymail/src/Elements/Space.php
<?php
namespace YayMail\Elements;

use YayMail\Abstracts\BaseElement;
use YayMail\Utils\SingletonTrait;
/**
 * Space Elements
 */
class Space extends BaseElement {

    use SingletonTrait;

    protected static $type = 'space';

    public $available_email_ids = [ YAYMAIL_ALL_EMAILS ];

    public static function get_data( $attributes = [] ) {
        self::$icon = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 20 20">
  <rect x=".86" y=".97" width="17.98" height="1.5"/>
  <rect x=".86" y="17.53" width="17.98" height="1.5"/>
  <g>
    <rect x="9.1" y="5.5" width="1.5" height="8.92"/>
    <path d="M11.71,6.39h-3.71l.8-1.28s0,0,0-.01l1.04-1.66,1.04,1.65s0,0,0,.02l.81,1.29Z"/>
    <polygon points="9.85 16.52 9.14 15.38 9.13 15.37 8.81 14.86 8.81 14.85 8 13.56 11.71 13.56 10.9 14.85 10.89 14.85 9.85 16.52"/>
  </g>
</svg>';

        return [
            'id'        => uniqid(),
            'type'      => self::$type,
            'name'      => __( 'Space', 'yaymail' ),
            'icon'      => self::$icon,
            'group'     => 'general',
            'available' => true,
            'position'  => 130,
            'data'      => [
                'background_color' => [
                    'value_path'    => 'background_color',
                    'component'     => 'Color',
                    'title'         => __( 'Background color', 'yaymail' ),
                    'default_value' => isset( $attributes['background_color'] ) ? $attributes['background_color'] : '#fff',
                    'type'          => 'style',
                ],
                'height'           => [
                    'value_path'    => 'height',
                    'component'     => 'Dimension',
                    'title'         => __( 'Height', 'yaymail' ),
                    'default_value' => isset( $attributes['height'] ) ? $attributes['height'] : '40',
                    'min'           => 8,
                    'max'           => 200,
                    'type'          => 'style',
                ],
            ],
        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit