403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/cwd/wp-content/plugins/cornerstone/includes/elements/control-partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/cornerstone/includes/elements/control-partials/bg-video.php
<?php

/**
 * Background video helper
 */

cs_register_control_partial( 'bg-video', function($settings = []) {

  $k_pre = cs_get_array_value($settings, 'prefix', '');
  $conditions = cs_get_array_value($settings, 'conditions', []);

  return [
    // Enabled source
    cs_partial_controls('video-file', [
      'key'       => $k_pre,
      'label'     => cs_recall( 'label_source' ),
      'condition' => $conditions,
      'options'   => [
        'placeholder' => 'http://example.com/a.mp4'
      ],
    ]),


    // Poster
    [
      'keys' => [
        'img_source' => $k_pre . '_poster',
      ],
      'type'      => 'image',
      'label'     => cs_recall( 'label_poster' ),
      'condition' => $conditions,
      'options'   => [
        'height' => 3
      ],
    ],

    // Loop
    [
      'key'       => $k_pre . '_loop',
      'type'      => 'choose',
      'label'     => cs_recall( 'label_loop' ),
      'condition' => $conditions,
      'options'   => cs_recall( 'options_choices_off_on_bool' ),
    ],

    // Pause on Out of View
    [
      'key'       => $k_pre . '_pause_out_of_view',
      'type'      => 'choose',
      'label'     => __("Pause out of View", "cornerstone"),
      'condition' => $conditions,
      'options'   => cs_recall( 'options_choices_off_on_bool' ),
    ],
  ];
});

Youez - 2016 - github.com/yon3zu
LinuXploit