403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : infrafs ( 43850)
PHP Version : 8.2.29
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/infrafs/bike/wp-content/themes/colibri-wp/inc/src/Customizer/Controls/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/infrafs/bike/wp-content/themes/colibri-wp/inc/src/Customizer/Controls/VueControl.php
<?php


namespace ColibriWP\Theme\Customizer\Controls;

abstract class VueControl extends ColibriControl {

    protected $inline_content_template = false;

    final protected function printVueMountPoint() {
        ?>
        <div class="sidebar-container" data-name="vue-mount-point">
            <?php $this->printVueContent(); ?>
        </div>
        <?php
    }

    public function json() {
        $json                            = parent::json();
        $json['inline_content_template'] = $this->getParam(
            'inline_content_template',
            false
        );

        return $json;
    }

    protected function content_template() {
        ?>
        <# if(data.inline_content_template) { #>
        <?php $this->printInlineContentTemplate(); ?>
        <# } else { #>
        <?php $this->printDefaultContentTemplate(); ?>
        <# } #>

        <div class="customize-control-notifications-container"></div>
        <?php
    }


    protected function printInlineContentTemplate() {
        ?>
        <div class="inline-elements-container">
            <div class="inline-element">
                <# if ( data.label ) { #>
                <span class="customize-control-title">{{{ data.label }}}</span>
                <# } #>
            </div>
            <div class="inline-element fit">
                <?php $this->printVueMountPoint(); ?>
            </div>
        </div>

        <# if ( data.description ) { #>
        <span class="description customize-control-description">{{{ data.description }}}</span>
        <# } #>
        <?php
    }

    protected function printDefaultContentTemplate() {
        ?>

        <# if ( data.label ) { #>
        <span class="customize-control-title">{{{ data.label }}}</span>
        <# } #>
        <div>
            <?php $this->printVueMountPoint(); ?>
        </div>


        <# if ( data.description ) { #>
        <span class="description customize-control-description">{{{ data.description }}}</span>
        <# } #>
        <?php
    }

    abstract protected function printVueContent();

    protected function vueEcho( $to_echo ) {
        echo '${ ' . $to_echo . ' }';
    }

    protected function render() {
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit