403Webshell
Server IP : 198.54.126.161  /  Your IP : 216.73.216.232
Web Server : LiteSpeed
System : Linux premium12.web-hosting.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64
User : amerfigf ( 898)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/WP-FormBuilder/admin/classes/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/WP-FormBuilder/admin/classes/fields/HashFormFieldHTML.php
<?php
defined('ABSPATH') || die();

class HashFormFieldHTML extends HashFormFieldType {

    protected $type = 'html';

    public function field_settings_for_type() {
        return array(
            'default' => false,
            'required' => false,
            'label' => false,
            'description' => false,
            'field_alignment' => true,
        );
    }

    protected function extra_field_default_opts() {
        return array(
            'field_alignment' => 'left',
        );
    }

    public function show_primary_options() {
        $field = $this->get_field();
        ?>
        <div class="hf-form-row">
            <label><?php esc_html_e('Content', 'hash-form'); ?></label>
            <div class="hf-form-text-editor">
                <?php
                $args = array(
                    'textarea_name' => 'field_options[description_' . absint($field['id']) . ']',
                    'textarea_rows' => 8,
                );
                $html_id = 'hf-field-desc_' . absint($field['id']);
                wp_editor($field['description'], $html_id, $args);
                ?>
            </div>
        </div>
        <?php
    }

    public function input_html() {
        $field = $this->get_field();
        ?>
        <div class="hf-custom-html-field">
            <?php
            if (is_admin() && !HashFormHelper::is_preview_page()) {
                ?>
                <div class="hf-custom-html-preview">
                    <?php esc_html_e('Custom HTML - No Preview Available', 'hash-form'); ?>
                </div>
                <?php
            } else {
                echo wp_kses_post($field['description']);
            }
            ?>
        </div>
        <?php
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit