HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/textarea.class.php.tar
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/contact/fields/textarea.class.php000064400000001044151546434600033757 0ustar00var/www/vhosts/uyarreklam.com.tr<?php

class SiteOrigin_Widget_ContactForm_Field_TextArea extends SiteOrigin_Widget_ContactForm_Field_Base {
	public function render_field( $options ) {
		?>
		<textarea
			name="<?php echo esc_attr( $options['field_name'] ); ?>"
			id="<?php echo esc_attr( $options['field_id'] ); ?>"
			rows="10"
			<?php echo $options['show_placeholder'] ? 'placeholder="' . esc_attr( $options['label'] ) . '"' : ''; ?>
			<?php self::add_custom_attrs( $this->type, $options ); ?>
		><?php
		echo esc_textarea( $options['value'] );
		?></textarea>
		<?php
	}
}
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/base/inc/fields/textarea.class.php000064400000001516151547725540032354 0ustar00var/www/vhosts<?php

/**
 * Class SiteOrigin_Widget_Field_Textarea
 */
class SiteOrigin_Widget_Field_Textarea extends SiteOrigin_Widget_Field_Text_Input_Base {
/**
	 * The number of visible rows in the textarea.
	 *
	 * @var int
	 */
	protected $rows;

	protected function render_field( $value, $instance ) {
		?>
		<textarea
			type="text"
			name="<?php echo esc_attr( $this->element_name ); ?>"
			id="<?php echo esc_attr( $this->element_id ); ?>"
			rows="<?php echo ! empty( $this->rows ) ? (int) $this->rows : 4; ?>"
			<?php
			$this->render_CSS_classes( $this->get_input_classes() );

			if ( ! empty( $this->placeholder ) ) {
				echo 'placeholder="' . esc_attr( $this->placeholder ) . '"';
			}
			if ( ! empty( $this->readonly ) ) {
				echo 'readonly';
			} ?>><?php echo ! empty( $value ) ? esc_textarea( $value ) : ''; ?></textarea>
		<?php
	}
}