GRAYBYTE WORDPRESS FILE MANAGER7899

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/nioscentre.in/wp-content/plugins/forminator/library/fields/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/nioscentre.in/wp-content/plugins/forminator/library/fields//section.php
<?php
/**
 * The Forminator_Section class.
 *
 * @package Forminator
 */

if ( ! defined( 'ABSPATH' ) ) {
	die();
}

/**
 * Class Forminator_Section
 *
 * @since 1.0
 */
class Forminator_Section extends Forminator_Field {

	/**
	 * Name
	 *
	 * @var string
	 */
	public $name = '';

	/**
	 * Slug
	 *
	 * @var string
	 */
	public $slug = 'section';

	/**
	 * Type
	 *
	 * @var string
	 */
	public $type = 'section';

	/**
	 * Position
	 *
	 * @var int
	 */
	public $position = 20;

	/**
	 * Options
	 *
	 * @var string
	 */
	public $options = array();

	/**
	 * Icon
	 *
	 * @var string
	 */
	public $icon = 'sui-icon-inlinecss';

	/**
	 * Forminator_Section constructor.
	 *
	 * @since 1.0
	 */
	public function __construct() {
		parent::__construct();

		$this->name = esc_html__( 'Section', 'forminator' );
	}

	/**
	 * Field defaults
	 *
	 * @since 1.0
	 * @return array
	 */
	public function defaults() {
		return array(
			'section_title'              => esc_html__( 'Form Section', 'forminator' ),
			'cform-section-border-style' => 'none',
		);
	}

	/**
	 * Autofill Setting
	 *
	 * @since 1.0.5
	 *
	 * @param array $settings Settings.
	 *
	 * @return array
	 */
	public function autofill_settings( $settings = array() ) {
		// Unsupported Autofill.
		$autofill_settings = array();

		return $autofill_settings;
	}

	/**
	 * Field front-end markup
	 *
	 * @since 1.0
	 *
	 * @param array                  $field Field.
	 * @param Forminator_Render_Form $views_obj Forminator_Render_Form object.
	 *
	 * @return mixed
	 */
	public function markup( $field, $views_obj ) {

		$this->field = $field;

		$html         = '';
		$id           = self::get_property( 'element_id', $field );
		$id           = $id . '-field';
		$title        = esc_html( self::get_property( 'section_title', $field ) );
		$subtitle     = esc_html( self::get_property( 'section_subtitle', $field ) );
		$border       = self::get_property( 'section_border', $field, 'none' );
		$border_width = self::get_property( 'cform-section-border-width', $field, 1 );
		$border_color = self::get_property( 'cform-section-border-color', $field, 1 );

		$html .= '<div class="forminator-field">';

		if ( ! empty( $title ) ) {
			$title = wp_specialchars_decode( $title );
			$html .= sprintf( '<h2 class="forminator-title">%s</h2>', $this->sanitize_output( $title ) );
		}

		if ( ! empty( $subtitle ) ) {
			$subtitle = wp_specialchars_decode( $subtitle );
			$html    .= sprintf( '<h3 class="forminator-subtitle">%s</h3>', $this->sanitize_output( $subtitle ) );
		}

		if ( 'none' !== $border ) {

			$border_width = self::get_property( 'cform-section-border-width', $field, 1 );
			$border_color = self::get_property( 'cform-section-border-color', $field, 1 );

			$html .= sprintf(
				'<hr class="forminator-border" style="border: %s %s %s;" />',
				$border_width . 'px',
				$border,
				$border_color
			);
		}

		$html .= '</div>';

		return apply_filters( 'forminator_field_section_markup', $html, $field );
	}

	/**
	 * Return sanitized form data
	 *
	 * @since 1.0
	 *
	 * @param string $content Content.
	 *
	 * @return mixed
	 */
	public function sanitize_output( $content ) {
		return esc_html( $content );
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 01 2025 09:31:58
giriqfky / giriqfky
0755
address.php
27.015 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
calculation.php
8.076 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
captcha.php
9.159 KB
April 14 2025 14:55:34
giriqfky / giriqfky
0644
consent.php
6.144 KB
May 07 2025 16:49:06
giriqfky / giriqfky
0644
currency.php
12.928 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
custom.php
7.134 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
date.php
44.22 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
email.php
13.914 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
gdprcheckbox.php
5.331 KB
December 24 2024 20:31:58
giriqfky / giriqfky
0644
group.php
7.013 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
hidden.php
4.893 KB
April 14 2025 14:55:34
giriqfky / giriqfky
0644
html.php
2.387 KB
February 03 2025 17:11:02
giriqfky / giriqfky
0644
multivalue.php
14.136 KB
May 07 2025 16:49:06
giriqfky / giriqfky
0644
name.php
22.313 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
number.php
13.246 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
page-break.php
1.479 KB
December 24 2024 20:31:58
giriqfky / giriqfky
0644
password.php
18.408 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
paypal.php
13.385 KB
December 24 2024 20:31:58
giriqfky / giriqfky
0644
phone.php
15.344 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
postdata.php
35.799 KB
May 07 2025 16:49:06
giriqfky / giriqfky
0644
radio.php
14.71 KB
May 07 2025 16:49:06
giriqfky / giriqfky
0644
rating.php
5.553 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
section.php
3.119 KB
December 24 2024 20:31:58
giriqfky / giriqfky
0644
select.php
20.551 KB
May 07 2025 16:49:06
giriqfky / giriqfky
0644
slider.php
13.39 KB
March 17 2025 17:29:02
giriqfky / giriqfky
0644
stripe-payment-element.php
3.98 KB
April 14 2025 14:55:34
giriqfky / giriqfky
0644
stripe.php
45.783 KB
April 16 2025 18:18:24
giriqfky / giriqfky
0644
text.php
11.168 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
textarea.php
11.556 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644
time.php
28.608 KB
May 07 2025 16:49:06
giriqfky / giriqfky
0644
upload.php
33.256 KB
March 03 2025 16:08:12
giriqfky / giriqfky
0644
website.php
8.094 KB
May 19 2025 19:14:58
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF