File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/textarea.class.php.tar
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/contact/fields/textarea.class.php 0000644 00000001044 15154643460 0033757 0 ustar 00 var/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.php 0000644 00000001516 15154772554 0032354 0 ustar 00 var/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
}
}